diff options
| author | David Faure <[email protected]> | 2010-01-26 12:04:56 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2010-01-26 12:04:56 +0000 |
| commit | ad85be955bc34f9ed9aa69f4453f26f57bf85e04 (patch) | |
| tree | 9e5f24e21ce70c3801c32e9fe36b37ca76e75023 /src/dolphinmainwindow.h | |
| parent | 950d3ad78bc7403be701936e3838d142c920d643 (diff) | |
Deprecated KNewMenu and make it derive from KNewFileMenu (BIC, but SC; the only way to avoid duplicating code until kde5)
Port all of kdebase' use of KNewMenu to KNewFileMenu.
Also port from KonqNameAndUrlInputDialog to KNameAndUrlInputDialog,
and from KonqMenuActions to KFileItemActions in dolphincontextmenu.cpp
svn path=/trunk/KDE/kdebase/apps/; revision=1080547
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index bdc80b359..ca8daa948 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -45,7 +45,7 @@ class DolphinSearchOptionsConfigurator; class DolphinSettingsDialog; class DolphinViewContainer; class DolphinRemoteEncoding; -class KNewMenu; +class KNewFileMenu; class KTabBar; class KUrl; class QSplitter; @@ -115,7 +115,7 @@ public: * Returns the 'Create New...' sub menu which also can be shared * with other menus (e. g. a context menu). */ - KNewMenu* newMenu() const; + KNewFileMenu* newMenu() const; /** * Returns the 'Show Menubar' action which can be shared with @@ -522,7 +522,7 @@ private: virtual void jobError(KIO::Job* job); }; - KNewMenu* m_newMenu; + KNewFileMenu* m_newMenu; KActionMenu* m_recentTabsMenu; KAction* m_showMenuBar; KTabBar* m_tabBar; @@ -561,7 +561,7 @@ inline bool DolphinMainWindow::isSplit() const return m_viewTab[m_tabIndex].secondaryView != 0; } -inline KNewMenu* DolphinMainWindow::newMenu() const +inline KNewFileMenu* DolphinMainWindow::newMenu() const { return m_newMenu; } |
