* make popupEvent protected, like other events
* allow marking the popup dialog as passive CCBUG:176114 svn path=/trunk/KDE/kdelibs/; revision=889543
This commit is contained in:
parent
4659724790
commit
e16ba8fed0
@ -413,6 +413,11 @@ void PopupApplet::setPassivePopup(bool passive)
|
||||
}
|
||||
}
|
||||
|
||||
bool PopupApplet::isPassivePopup() const
|
||||
{
|
||||
return d->passive;
|
||||
}
|
||||
|
||||
PopupAppletPrivate::PopupAppletPrivate(PopupApplet *applet)
|
||||
: q(applet),
|
||||
icon(0),
|
||||
|
@ -88,10 +88,18 @@ public:
|
||||
Plasma::PopupPlacement popupPlacement() const;
|
||||
|
||||
/**
|
||||
* Sets whether or not the dialog popup that gets created should be a "passive" popup
|
||||
* that does not steal focus from other windows or not.
|
||||
*
|
||||
* @arg passive true if the dialog should be treated as a passive popup
|
||||
*/
|
||||
void setPassivePopup(bool passive);
|
||||
|
||||
/**
|
||||
* @return true if the dialog will be treated as a passive poup
|
||||
*/
|
||||
bool isPassivePopup() const;
|
||||
|
||||
public Q_SLOTS:
|
||||
/**
|
||||
* Hides the popup.
|
||||
|
Loading…
Reference in New Issue
Block a user