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

List:       kde-commits
Subject:    kdelibs/kdeui
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2003-03-13 19:10:59
[Download RAW message or body]

CVS commit by bmeyer: 

Documented 2 functions that were previusly undocumented based upon what
they do.  Someone more familiar with KActionCollection is needed to 
double check that the function is doing everything that the function
should be doing and if not correct it and the documentation sense
the documentation was based upon what the function currently does.


  M +14 -3     kactioncollection.h   1.171


--- kdelibs/kdeui/kactioncollection.h  #1.170:1.171
@@ -210,6 +210,17 @@ public:
 
   void insert( KAction* );
-  void remove( KAction* );
-  KAction* take( KAction* );
+  
+  /**
+   * Removes an action from the collection and deletes it.
+   * @param action The KAction to remove.
+   */ 
+  void remove( KAction* action );
+  
+  /**
+   * Removes an action from the collection.
+   * @return NULL if not found else returns action.
+   * @param action the KAction to remove.
+   */ 
+  KAction* take( KAction* action );
 
   KActionCollection operator+ ( const KActionCollection& ) const;


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

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