┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.h
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2007-12-24 11:17:16 +0000
committerDavid Faure <[email protected]>2007-12-24 11:17:16 +0000
commit5a3a5f513515dd2a260fdea3b148e38339c41e57 (patch)
treedc4c2e9907749834463c3ad904ec904c46a2e6b5 /src/dolphinpart.h
parent6ad83c09bd68e6651243af35a55609f56d785baa (diff)
Move a bunch of Go menu actions from konqueror to dolphinpart, so that they don't clutter the Go menu when using other parts. As posted on k-c-d.
svn path=/trunk/KDE/kdebase/apps/; revision=752408
Diffstat (limited to 'src/dolphinpart.h')
-rw-r--r--src/dolphinpart.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dolphinpart.h b/src/dolphinpart.h
index 2a512eddb..98e0f2f67 100644
--- a/src/dolphinpart.h
+++ b/src/dolphinpart.h
@@ -22,6 +22,7 @@
#include <kparts/part.h>
#include <kparts/browserextension.h>
+class QActionGroup;
class KAction;
class KFileItemList;
class KFileItem;
@@ -114,10 +115,21 @@ private Q_SLOTS:
*/
void slotTrashActivated(Qt::MouseButtons, Qt::KeyboardModifiers);
+ /**
+ * Connected to the key shortcut for "new directory" (F10)
+ */
void slotNewDir();
+ /**
+ * Connected to all "Go" menu actions provided by DolphinPart
+ */
+ void slotGoTriggered(QAction* action);
+
private:
void createActions();
+ void createGoAction(const char* name, const char* iconName,
+ const QString& text, const QString& url,
+ QActionGroup* actionGroup);
private:
DolphinView* m_view;