diff --git a/extender.cpp b/extender.cpp index 672f3c310..cc4ba3b72 100644 --- a/extender.cpp +++ b/extender.cpp @@ -288,6 +288,11 @@ QList Extender::groups() const return result; } +Applet *Extender::applet() const +{ + return d->applet; +} + void Extender::saveState() { foreach (ExtenderItem *item, attachedItems()) { diff --git a/extender.h b/extender.h index e59f3b167..a4aa8ad7c 100644 --- a/extender.h +++ b/extender.h @@ -181,6 +181,12 @@ class PLASMA_EXPORT Extender : public QGraphicsWidget */ QList 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