Commit graph

7 commits

Author SHA1 Message Date
Peter Penz 09e1cc4d77 Context-menu cleanups:
- KNewMenu has been deprecated by KNewFileMenu. Reflect this in the names of related Dolphin classes.
- Provide context-sensitive actions also when a context-menu is opened on the viewport

BUG: 191938
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1168586
2010-08-27 05:26:27 +00:00
David Faure ad85be955b 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
2010-01-26 12:04:56 +00:00
Peter Penz 1743e4b1fa provide a 'Create New' entry for a context menu above a directory
BUG: 169880

svn path=/trunk/KDE/kdebase/apps/; revision=884373
2008-11-14 19:51:13 +00:00
Peter Penz c8a4f1fd8d adapt Dolphin to kdelibs coding style (http://techbase.kde.org/Policies/Kdelibs_Coding_Style) by using:
astyle --indent=spaces=4 --brackets=linux \
       --indent-labels --pad=oper --unpad=paren \
       --one-line=keep-statements --convert-tabs \
       --indent-preprocessor \
       `find -type f -name '*.cpp'` `find -type f -name '*.h'`

svn path=/trunk/KDE/kdebase/apps/; revision=651981
2007-04-09 19:12:54 +00:00
David Faure f25a5f90f5 fixed
svn path=/trunk/playground/utils/dolphin/; revision=627345
2007-01-26 09:09:44 +00:00
Peter Penz db8090b4de upsi... forgot to uncomment the temporary workaround until the forward declaration in knewmenu.h is added :-(
svn path=/trunk/playground/utils/dolphin/; revision=627221
2007-01-26 00:57:52 +00:00
Peter Penz 5840fcede7 Do a custom error handling in for the 'Create New...' submenu. Thanks to David for adjusting KNewMenu :-)
svn path=/trunk/playground/utils/dolphin/; revision=627220
2007-01-26 00:55:49 +00:00