[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdeui/actions
From: David Faure <faure () kde ! org>
Date: 2009-03-10 20:56:06
Message-ID: 1236718566.214212.14835.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 937944 by dfaure:
apidox after irc discussion with sandsmark
M +4 -1 kactioncollection.h
--- trunk/KDE/kdelibs/kdeui/actions/kactioncollection.h #937943:937944
@@ -304,10 +304,13 @@
* the new one.
*
* Inserting an action under a name that is already used for another action will replace
- * the other action in the collection.
+ * the other action in the collection (but will not delete it).
*
* @param name The name by which the action be retrieved again from the collection.
* @param action The action to add.
+ * @return the same as the action given as parameter. This is just for convenience
+ * (chaining calls) and consistency with the other addAction methods, you can also
+ * simply ignore the return value.
*/
QAction *addAction(const QString &name, QAction *action);
KAction *addAction(const QString &name, KAction *action);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic