X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/b5eca6dc2aaa6f90d7dc2fe27ab9ccc45aee77f2..8cb8b519099e2d8bc86a574e014fc3cd780acfa8:/src/dolphincontextmenu.h diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index 05d565fee..7eb542b6b 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -24,6 +24,7 @@ #include #include #include +#include #include @@ -97,6 +98,19 @@ 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; + + QAction* createPasteAction(); + private: struct Entry { @@ -121,6 +135,7 @@ private: KFileItemList m_selectedItems; KUrl::List m_selectedUrls; int m_context; + KonqCopyToMenu m_copyToMenu; }; #endif