when clicking on the plasmoid icon to open or close the popup, save the current open state.
is possible that between mouse down and mouse up the popup has been closed
so don't reopen the popup in this case
CCBUG:336754
Apparently passing QDateTime::time() to the Qt.formatTime is messing
things up; might also be a Qt bug, on the other hand the docs for QTime
say that "Unlike QDateTime, QTime knows nothing about time zones or
daylight savings time (DST)".
Passing the full QDateTime object makes the applets show correct time in
all timezones.
Hats off to Andreas Eckstein for finding out this
BUG: 335050
This was used to determine if the calendar header should show a year or
not, this is now part of the component and thus the function has no use
anymore
QML offers a fontSizeMode setting that scales font to the available
size. This replaces the sizing timer we had in clock with that property.
REVIEW: 118274
BUG: 335147