grant access to the associated applet
svn path=/trunk/KDE/kdelibs/; revision=1018586
This commit is contained in:
parent
bf8eb6de86
commit
a3db44d5f4
@ -288,6 +288,11 @@ QList<ExtenderGroup*> Extender::groups() const
|
||||
return result;
|
||||
}
|
||||
|
||||
Applet *Extender::applet() const
|
||||
{
|
||||
return d->applet;
|
||||
}
|
||||
|
||||
void Extender::saveState()
|
||||
{
|
||||
foreach (ExtenderItem *item, attachedItems()) {
|
||||
|
@ -181,6 +181,12 @@ class PLASMA_EXPORT Extender : public QGraphicsWidget
|
||||
*/
|
||||
QList<ExtenderGroup*> groups() const;
|
||||
|
||||
/**
|
||||
* @returns the Applet this Extender is associated with
|
||||
* @since 4.4
|
||||
*/
|
||||
Applet *applet() const;
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Get's called after an item has been added to this extender. The bookkeeping has already
|
||||
|
Loading…
Reference in New Issue
Block a user