diff --git a/popupapplet.h b/popupapplet.h index 986a36e01..c29eab617 100644 --- a/popupapplet.h +++ b/popupapplet.h @@ -88,6 +88,12 @@ public: */ void showPopup(uint displayTime = 0); + /** + * This event handler can be reimplemented in a subclass to receive an event before the popup is showed or hidden. + * @arg show true if the popup is going to be showed, false if the popup is going to be hiden. + */ + virtual void popupEvent(bool show); + public Q_SLOTS: /** * Hides the popup. @@ -103,12 +109,6 @@ public Q_SLOTS: protected: void constraintsEvent(Plasma::Constraints constraints); - /** - * This event handler can be reimplemented in a subclass to receive an event before the popup is showed or hidden. - * @arg show true if the popup is going to be showed, false if the popup is going to be hiden. - */ - virtual void popupEvent(bool show); - private: Q_PRIVATE_SLOT(d, void togglePopup()) Q_PRIVATE_SLOT(d, void hideTimedPopup())