┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewactionhandler.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-05-03 15:40:24 +0000
committerPeter Penz <[email protected]>2010-05-03 15:40:24 +0000
commit23f31b60b0c5b054886ed4812eb0a833803eef6d (patch)
treef194cbedefe1fdce83006989e910fd2ee26e70c8 /src/dolphinviewactionhandler.h
parent4fb3a8dfcdf8272b2c01f8f78787ba7d8597a159 (diff)
Allow to add menu groups like "View Mode", "Sort By"... to be added as toolbar item (see http://reviewboard.kde.org/r/3862).
Thanks to Todd for the patch! CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1122320
Diffstat (limited to 'src/dolphinviewactionhandler.h')
-rw-r--r--src/dolphinviewactionhandler.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dolphinviewactionhandler.h b/src/dolphinviewactionhandler.h
index 5193da719..4186a479f 100644
--- a/src/dolphinviewactionhandler.h
+++ b/src/dolphinviewactionhandler.h
@@ -23,7 +23,10 @@
#include "dolphinview.h"
#include "libdolphin_export.h"
+#include <kactionmenu.h>
+#include <kselectaction.h>
#include <QtCore/QObject>
+
class KToggleAction;
class QAction;
class QActionGroup;
@@ -217,10 +220,10 @@ private:
*/
void createActions();
/**
- * Creates an action group with all the "show additional information" actions in it.
+ * Creates an action menu with all the "show additional information" actions in it.
* Helper method for createActions();
*/
- QActionGroup* createAdditionalInformationActionGroup();
+ KActionMenu* createAdditionalInformationActionMenu();
/**
* Creates an action group with all the "sort by" actions in it.