From 23f31b60b0c5b054886ed4812eb0a833803eef6d Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 3 May 2010 15:40:24 +0000 Subject: 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: toddrme2178@gmail.com svn path=/trunk/KDE/kdebase/apps/; revision=1122320 --- src/dolphinviewactionhandler.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/dolphinviewactionhandler.h') 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 +#include #include + 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. -- cgit v1.3