moving popupEvent to protected...

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854048
This commit is contained in:
Davide Bettio 2008-08-28 18:32:51 +00:00
parent 2a8024d4a1
commit f9b6807bfb

View File

@ -88,12 +88,6 @@ 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.
@ -109,6 +103,12 @@ 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())