From 1ce2fb199db7bdf5baf05b61e4e58c549404b4df Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 18 Nov 2007 14:37:57 +0000 Subject: allow to show/hide the menubar BUG: 152463 svn path=/trunk/KDE/kdebase/apps/; revision=738282 --- src/dolphincontextmenu.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dolphincontextmenu.h') diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index 05d565fee..c90999252 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -97,6 +97,12 @@ 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); + private: struct Entry { -- cgit v1.3