]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincontextmenu.h
Fix includes
[dolphin.git] / src / dolphincontextmenu.h
index 160f088040190ee3a2db4ebdb5957eee9f12fc6b..62dffd074eb01656d75da3f1a6c134ac173c3d2f 100644 (file)
@@ -24,7 +24,7 @@
 #include <KService>
 #include <KUrl>
 #include <konq_copytomenu.h>
-#include <KMenu>
+#include <QMenu>
 
 #include <QObject>
 
@@ -50,7 +50,7 @@ class DolphinRemoveAction;
  * - 'Actions':   Contains all actions which can be applied to the
  *                given item.
  */
-class DolphinContextMenu : public KMenu
+class DolphinContextMenu : public QMenu
 {
     Q_OBJECT
 
@@ -58,6 +58,7 @@ public:
     enum Command
     {
         None,
+        OpenParentFolder,
         OpenParentFolderInNewWindow,
         OpenParentFolderInNewTab
     };
@@ -101,7 +102,7 @@ private:
     void openItemContextMenu();
     void openViewportContextMenu();
 
-    void insertDefaultItemActions();
+    void insertDefaultItemActions(const KFileItemListProperties&);
 
     /**
      * Adds the "Show menubar" action to the menu if the