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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/actions
From:       Aurélien Gâteau <aurelien.gateau () free ! fr>
Date:       2008-11-01 18:57:57
Message-ID: 1225565877.081747.7940.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 878759 by gateau:

Fix KActionCategory::add()


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


--- trunk/KDE/kdelibs/kdeui/actions/kactioncategory.cpp #878758:878759
@@ -110,6 +110,12 @@
     }
 
 
+void KActionCategory::addAction(QAction *action)
+    {
+    d->actions.append(action);
+    }
+
+
 KActionCollection * KActionCategory::collection() const
     {
     return qobject_cast<KActionCollection*>(parent());
--- trunk/KDE/kdelibs/kdeui/actions/kactioncategory.h #878758:878759
@@ -178,6 +178,11 @@
      */
     void unlistAction(QAction *action);
 
+    /**
+     * Add action to category
+     */
+    void addAction(QAction *action);
+
     //! KActionCollection needs access to some of our helper methods
     friend class KActionCollectionPrivate;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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