From b5eca6dc2aaa6f90d7dc2fe27ab9ccc45aee77f2 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 7 Oct 2007 21:12:46 +0000 Subject: Extracted the servicemenu code from KonqPopupMenu into KonqMenuActions, and used it from both KonqPopupMenu and DolphinContextMenu. This isn't the port-to-ktrader yet, this will come later, but at least the code is factorized and the impl can be changed without affecting the dolphin+konqpopupmenu code Should I also implement the "Open With..." actions in KonqMenuActions? Seems like another bit of similar code duplicated. CCMAIL: peter.penz@gmx.at, aseigo@kde.org Removed KonqBookmarkManager (was a two-liner call to KBookmarkManager) svn path=/trunk/KDE/kdebase/apps/; revision=722668 --- src/dolphincontextmenu.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/dolphincontextmenu.h') diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index f551bfcb3..05d565fee 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -90,16 +90,6 @@ private: QList insertOpenWithItems(KMenu* popup, QVector& openWithVector); - /** - * Inserts the 'Actions...' submenu to \a popup. - * @param popup Menu where the 'Actions...' sub menu should - * be added. - * @param openWithVector Output parameter which contains all 'Actions...' - * services. - */ - QList insertActionItems(KMenu* popup, - QVector& actionsVector); - /** * Returns true, if 'menu' contains already * an entry with the name 'entryName'. -- cgit v1.3