From ad85be955bc34f9ed9aa69f4453f26f57bf85e04 Mon Sep 17 00:00:00 2001 From: David Faure Date: Tue, 26 Jan 2010 12:04:56 +0000 Subject: 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 --- src/dolphinnewmenu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dolphinnewmenu.h') 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: -- cgit v1.3