[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdeui/actions
From: Nickolai Shaforostoff <shafff () ukr ! net>
Date: 2008-09-19 21:42:24
Message-ID: 1221860544.924795.1143.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 862794 by shaforo:
compile example code
M +2 -2 kactioncategory.h
--- trunk/KDE/kdelibs/kdeui/actions/kactioncategory.h #862793:862794
@@ -73,7 +73,7 @@
*
* \code
*
- * KActionCategory *file = KActionCategory(i18n("File"), actionCollection())
+ * KActionCategory *file = new KActionCategory(i18n("File"), actionCollection());
* file->addAction(
* KStandardAction::New, //< see KStandardAction
* this, //< Receiver
@@ -81,7 +81,7 @@
*
* ... more actions added to file ...
*
- * KActionCategory *edit = KActionCategory(i18n("Edit"), actionCollection())
+ * KActionCategory *edit = new KActionCategory(i18n("Edit"), actionCollection());
* edit->addAction(
* KStandardAction::Copy, //< see KStandardAction
* this, //< Receiver
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic