]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincontextmenu.h
Forwardport 773570:
[dolphin.git] / src / dolphincontextmenu.h
index 05d565feee4f4985e44fa102681c0ede5b93b1e9..a7cd9c01da420fe70c37ee2b6be6a90d8311af27 100644 (file)
@@ -97,6 +97,17 @@ private:
     bool containsEntry(const KMenu* menu,
                        const QString& entryName) const;
 
+    /**
+     * Adds the "Show menubar" action to the menu if the
+     * menubar is hidden.
+     */
+    void addShowMenubarAction(KMenu* menu);
+
+    /**
+     * Returns a name for adding the URL \a url to the Places panel.
+     */
+    QString placesName(const KUrl& url) const;
+
 private:
     struct Entry
     {