diff --git a/applet.h b/applet.h index 9157c8d75..6b2ed6d0c 100644 --- a/applet.h +++ b/applet.h @@ -661,6 +661,11 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget */ QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint = QSizeF()) const; + /** + * Reimplemented from QObject + */ + void timerEvent (QTimerEvent *event); + private: Q_DISABLE_COPY(Applet) Q_PRIVATE_SLOT(d, void checkImmutability()) diff --git a/applet_p.h b/applet_p.h index d759e8f2c..28aa31fd7 100644 --- a/applet_p.h +++ b/applet_p.h @@ -85,6 +85,7 @@ public: Plasma::Constraints pendingConstraints; Plasma::AspectRatioMode aspectRatioMode; ImmutabilityType immutability; + int constraintsTimerId; bool hasConfigurationInterface : 1; bool failed : 1; bool isContainment : 1;