Commit graph

75 commits

Author SHA1 Message Date
Peter Penz 3db73a2d15 Thanks to David Faure the 'Copy To' and 'Move To' menus in the context menu can also be used by Dolphin now :-) In opposite to Konqueror the sub menus are turned off per default.
Minor issue: the Dolphin context menu should take care about the protocol capabilities (copy, move, delete, ...) like in konq_popupmenu (I'll fix this before 4.1).

CCMAIL: faure@kde.org
BUG: 155969

svn path=/trunk/KDE/kdebase/apps/; revision=792995
2008-04-02 19:49:04 +00:00
Peter Penz c33b01efb2 Move the pasteIntoFolder() method from the contextmenu into DolphinView. This allows to show the information inside the statusbar, that the paste operation has been completed (also some code duplication can be prevented by the way).
svn path=/trunk/KDE/kdebase/apps/; revision=791436
2008-03-29 14:54:56 +00:00
Peter Penz fc15039860 The paste operation should ignore the current selection to behave similar as Konqueror and other file managers. Only if a context menu for a folder is opened, a pasting should be done into this folder.
Some internal cleanups are still required (see TODO comments), so that after finishing the operation an indication can be given to the user in the statusbar (must go for breakfast now, otherwise I'll eat my keyboard...).

BUG: 159862

svn path=/trunk/KDE/kdebase/apps/; revision=791354
2008-03-29 07:44:03 +00:00
Peter Penz 22fcc2c4c5 don't add a place having an empty name
BUG: 156375

svn path=/trunk/KDE/kdebase/apps/; revision=766406
2008-01-25 19:14:12 +00:00
Peter Penz 1ce2fb199d allow to show/hide the menubar
BUG: 152463

svn path=/trunk/KDE/kdebase/apps/; revision=738282
2007-11-18 14:37:57 +00:00
David Faure b5eca6dc2a 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
2007-10-07 21:12:46 +00:00
Peter Penz ba150e5735 replace QList<KFileItem> by KFileItemList, as KFileItemList is not QList<KFileItem*> anymore since todays update of kfileitem.* in kdelibs
svn path=/trunk/KDE/kdebase/apps/; revision=720234
2007-10-02 19:03:03 +00:00
Gabriel Anderson 83039c1c67 Fixed a few comments
svn path=/trunk/KDE/kdebase/apps/; revision=700586
2007-08-15 22:30:06 +00:00
David Faure 81fcd720a2 Use KFileItem by value rather than by pointer
- in KDirModel::itemForIndex, as noted there as a TODO
 - in dolphin, everywhere.

svn path=/trunk/KDE/kdebase/apps/; revision=699691
2007-08-13 21:57:20 +00:00
Dirk Mueller a333c0d744 include cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=663054
2007-05-09 22:23:52 +00:00
Laurent Montel 10a02f0bc3 Remove not necessary include
svn path=/trunk/KDE/kdebase/nsplugins/; revision=656776
2007-04-22 11:14:24 +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 2d9dfdf3b3 KDEDesktopMimeType -> KDesktopFileActions
svn path=/trunk/KDE/kdebase/libkonq/; revision=646598
2007-03-26 08:24:06 +00:00
Peter Penz 8f9baef848 Patch by Luca Gugelmann: get rid of any mainwindow dependency from the sidebars.
svn path=/trunk/KDE/kdebase/apps/; revision=646256
2007-03-25 06:44:28 +00:00
Peter Penz 6baba131b2 Allow to cut, copy, paste, ... the currently selected item from a sidebar by the DolphinContextMenu (currently only used by the tree view).
svn path=/trunk/KDE/kdebase/apps/; revision=643572
2007-03-17 20:42:26 +00:00
Peter Penz 9ed13b31b4 Let's keep it simple: only offer a basic context menu for the treeview sidebar.
svn path=/trunk/KDE/kdebase/apps/; revision=642982
2007-03-16 00:24:56 +00:00
Peter Penz 1cdb64a12b Don't force the context menu to be valid only for DolphinView instances, make it possible to have it also inside the treeview sidebar.
svn path=/trunk/KDE/kdebase/apps/; revision=642953
2007-03-15 22:42:21 +00:00
Peter Penz 242bda1ead let the context menu be aware about the trash
svn path=/trunk/KDE/kdebase/apps/; revision=642935
2007-03-15 21:24:41 +00:00
Peter Penz 546384562a Reanimated drag & drop support again after introducing the DolphinController. It is now also possible to move the items inside an icon view like discussed on kde-devel/kde-usability.
svn path=/trunk/KDE/kdebase/apps/; revision=634228
2007-02-16 17:03:02 +00:00
Peter Penz 70999c96a2 Cleanup of DolphinContextMenu:
- don't use any deprecated methods anymore
- temporary deactivated the "Open With..." submenu. There's a crash in KDirModel when invoking KFileItem::mimetype(); although the same code worked with an older version of kdelibs, I assume this is a Dolphin issue -> I'll do some further analyses...

svn path=/trunk/playground/utils/dolphin/; revision=626023
2007-01-21 21:20:37 +00:00
André Wöbbeking b03d4cfc5d -pedantic
svn path=/trunk/playground/utils/dolphin/; revision=617550
2006-12-29 14:28:16 +00:00
Holger Freyther d7d4fb9d26 Update the FSF address to 51 Franklin Street (hopefully it is the right one)
gnused rocks!

svn path=/trunk/playground/utils/dolphin/; revision=611576
2006-12-08 21:24:08 +00:00
Kevin Ottens 9a5f54d83d compile++
But crashes while listing folder...

svn path=/trunk/playground/utils/dolphin/; revision=606919
2006-11-22 11:34:19 +00:00
Laurent Montel 6987f297e6 Port++
svn path=/trunk/playground/utils/dolphin/; revision=606882
2006-11-22 08:12:45 +00:00
Peter Penz 5252c12db4 commited initial version of Dolphin
svn path=/trunk/playground/utils/dolphin/; revision=606622
2006-11-21 06:02:05 +00:00