[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/plasma
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2009-09-01 21:59:04
Message-ID: 1251842344.751043.23766.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1018586 by aseigo:

grant access to the associated applet


 M  +5 -0      extender.cpp  
 M  +6 -0      extender.h  


--- trunk/KDE/kdelibs/plasma/extender.cpp #1018585:1018586
@@ -288,6 +288,11 @@
     return result;
 }
 
+Applet *Extender::applet() const
+{
+    return d->applet;
+}
+
 void Extender::saveState()
 {
     foreach (ExtenderItem *item, attachedItems()) {
--- trunk/KDE/kdelibs/plasma/extender.h #1018585:1018586
@@ -181,6 +181,12 @@
          */
         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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic