┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-08-27 05:26:27 +0000
committerPeter Penz <[email protected]>2010-08-27 05:26:27 +0000
commit09e1cc4d7726b649710fe5ce49741ae736ce4d06 (patch)
treef7dc90c5f263a692afd3c8adce579661186600ea /src/dolphinmainwindow.h
parentd99e541453bac0bddadd27e87868d9fbe7814d2a (diff)
Context-menu cleanups:
- KNewMenu has been deprecated by KNewFileMenu. Reflect this in the names of related Dolphin classes. - Provide context-sensitive actions also when a context-menu is opened on the viewport BUG: 191938 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1168586
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index 4d993865f..b9dbe9f9d 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -114,7 +114,7 @@ public:
* Returns the 'Create New...' sub menu which also can be shared
* with other menus (e. g. a context menu).
*/
- KNewFileMenu* newMenu() const;
+ KNewFileMenu* newFileMenu() const;
/**
* Returns the 'Show Menubar' action which can be shared with
@@ -524,7 +524,7 @@ private:
virtual void jobError(KIO::Job* job);
};
- KNewFileMenu* m_newMenu;
+ KNewFileMenu* m_newFileMenu;
KActionMenu* m_recentTabsMenu;
KAction* m_showMenuBar;
KTabBar* m_tabBar;
@@ -562,9 +562,9 @@ inline bool DolphinMainWindow::isSplit() const
return m_viewTab[m_tabIndex].secondaryView != 0;
}
-inline KNewFileMenu* DolphinMainWindow::newMenu() const
+inline KNewFileMenu* DolphinMainWindow::newFileMenu() const
{
- return m_newMenu;
+ return m_newFileMenu;
}
inline KAction* DolphinMainWindow::showMenuBarAction() const