diff options
| author | David Faure <[email protected]> | 2007-10-07 21:12:46 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2007-10-07 21:12:46 +0000 |
| commit | b5eca6dc2aaa6f90d7dc2fe27ab9ccc45aee77f2 (patch) | |
| tree | 41eff5e348113eeaa926753014c360f31ae3768b /src/dolphincontextmenu.h | |
| parent | cf83ceb29622c920de86e8e83c5cff1047dd318a (diff) | |
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: [email protected], [email protected]
Removed KonqBookmarkManager (was a two-liner call to KBookmarkManager)
svn path=/trunk/KDE/kdebase/apps/; revision=722668
Diffstat (limited to 'src/dolphincontextmenu.h')
| -rw-r--r-- | src/dolphincontextmenu.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index f551bfcb3..05d565fee 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -91,16 +91,6 @@ private: QVector<KService::Ptr>& 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<QAction*> insertActionItems(KMenu* popup, - QVector<KDesktopFileActions::Service>& actionsVector); - - /** * Returns true, if 'menu' contains already * an entry with the name 'entryName'. */ |
