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/dolphinnewmenu.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/dolphinnewmenu.h')
| -rw-r--r-- | src/dolphinnewmenu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphinnewmenu.h b/src/dolphinnewmenu.h index b1a95edc9..176c84648 100644 --- a/src/dolphinnewmenu.h +++ b/src/dolphinnewmenu.h @@ -30,11 +30,11 @@ class KJob; * @brief Represents the 'Create New...' sub menu for the File menu * and the context menu. * - * The only difference to KNewMenu is the custom error handling. + * The only difference to KNewFileMenu is the custom error handling. * All errors are shown in the status bar of Dolphin * instead as modal error dialog with an OK button. */ -class DolphinNewMenu : public KNewMenu +class DolphinNewMenu : public KNewFileMenu { Q_OBJECT @@ -43,7 +43,7 @@ public: virtual ~DolphinNewMenu(); protected slots: - /** @see KNewMenu::slotResult() */ + /** @see KNewFileMenu::slotResult() */ virtual void slotResult(KJob* job); private: |
