┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.h
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2007-10-10 23:01:35 +0000
committerDavid Faure <[email protected]>2007-10-10 23:01:35 +0000
commit8d4fb3608927960d9e45e672ce1cbe1fa3a548f9 (patch)
treefe8691ccdb83ece1bcfc6b9beabf218b5d7607c5 /src/dolphinpart.h
parent3b8c3c1b1e2d05d09aca2de0b0bf922fb9530b0d (diff)
DolphinPart: provide a way to switch between view modes in konqueror.
Factorized those actions between dolphinmainwindow and dolphinpart (see new methods in dolphinview), and simplified mainwindow code by using the signal from the action group and the QVariant data of the actions (standard Qt4 solution for a group of actions). svn path=/trunk/KDE/kdebase/apps/; revision=723871
Diffstat (limited to 'src/dolphinpart.h')
-rw-r--r--src/dolphinpart.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dolphinpart.h b/src/dolphinpart.h
index b0def14f4..e4a0ffc9b 100644
--- a/src/dolphinpart.h
+++ b/src/dolphinpart.h
@@ -67,6 +67,14 @@ private Q_SLOTS:
* @url URL which contains \a item.
*/
void slotOpenContextMenu(const KFileItem& item, const KUrl& url);
+ /**
+ * Emitted when the user requested a change of view mode
+ */
+ void slotViewModeActionTriggered(QAction*);
+
+private:
+ void createActions();
+ void updateViewActions();
private:
DolphinView* m_view;