Commit graph

75 commits

Author SHA1 Message Date
Laurent Montel 60f40aaa4d Readd as in libkonq "part" this signal ""aboutToOpenURL""
used to signal to plugins kdirfilter that url changed

svn path=/trunk/KDE/kdebase/apps/; revision=795079
2008-04-09 07:02:55 +00:00
Peter Penz 03f4481bdf assure that the Dolphin KPart inside Konqueror gets updated when the settings are changed
svn path=/trunk/KDE/kdebase/apps/; revision=792496
2008-04-01 11:00:27 +00:00
David Faure 804a196700 Provide the dolphinpart view modes (Icons, Details, Columns) in konqueror's View Modes menu.
(this is done using a Q_PROPERTY in the dolphin part and a signal; the available view modes for creating the menu in the first place are listed in dolphinpart.desktop)
Konqueror: cleaned up the old (complex) handling of view modes as N toolbar buttons from M services grouped by library (240 lines less!).
Dolphin: moved view mode handling to DolphinViewActionHandler, removes duplication between part and mainwindow.

svn path=/trunk/KDE/kdebase/apps/; revision=774646
2008-02-13 18:45:20 +00:00
David Faure 45a1074b0a Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.
svn path=/branches/KDE/4.0/kdebase/apps/; revision=773570
2008-02-11 12:34:48 +00:00
David Faure cdc40d4398 Centralize three more actions so that they are available in DolphinPart: 'Show preview' 'Show hidden files' 'Categorized sorting'
Found a way of sharing the actions with even less code duplication, discussed it with Peter, but this will be for after 4.0.1

svn path=/branches/KDE/4.0/kdebase/apps/; revision=767566
2008-01-28 11:33:49 +00:00
David Faure e6dcf5e8ff And finally: provide those "additional info" actions in the part too.
svn path=/branches/KDE/4.0/kdebase/apps/; revision=764549
2008-01-22 01:36:28 +00:00
David Faure af333d9c7a Make sort/descending available in dolphinpart
svn path=/branches/KDE/4.0/kdebase/apps/; revision=764444
2008-01-21 19:42:16 +00:00
David Faure c00478bbc1 Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views.
(Each view would need its own action collection, but then DolphinView would have to become
a KXMLGUIClient, and the GUI would flicker when switching views).

Instead, use the same solution as the other shared actions: static method in DolphinView (for now),
slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView)

svn path=/branches/KDE/4.0/kdebase/apps/; revision=764429
2008-01-21 19:08:52 +00:00
David Faure f9aeb825c6 merge -c764347 by Peter, needed for dolphinpart bugfixing
svn path=/branches/KDE/4.0/kdebase/apps/; revision=764379
2008-01-21 16:12:25 +00:00
David Faure 8eed64171c Move (broken) action "Edit/Properties" to dolphinpart and made it work there.
Pass parent widget to all KPropertiesDialog instances.

svn path=/trunk/KDE/kdebase/apps/; revision=752542
2007-12-24 19:07:32 +00:00
David Faure 728ecea4a1 Move (broken) editMimeType action from konqueror to dolphinpart (and made it work there)
svn path=/trunk/KDE/kdebase/apps/; revision=752422
2007-12-24 11:50:08 +00:00
David Faure 5a3a5f5135 Move a bunch of Go menu actions from konqueror to dolphinpart, so that they don't clutter the Go menu when using other parts. As posted on k-c-d.
svn path=/trunk/KDE/kdebase/apps/; revision=752408
2007-12-24 11:17:16 +00:00
David Faure 71f5520898 Move F10 (create directory) shortcut from konq to dolphinpart.
About all those filemanagement feature moves: I double checked and the other inode/directory parts are cervisia (need own file-related operations for VCS support), konsole (no gui), kfilereplacepart (no mkdir) and fsview (readonly). So better unbloat konq itself.

svn path=/trunk/KDE/kdebase/apps/; revision=740491
2007-11-23 11:50:00 +00:00
David Faure 8578ad1e75 Fix "delete" and "move to trash" actions in dolphinpart; moved all logic for those out of konqueror.
Inside dolphin, the usual: moving code to DolphinView.
Pressing shift while clicking on "Move to Trash" in konq (dolphinpart) offers to delete, as in kde3 (this bit of logic might be good for dolphin itself too? see DolphinPart::slotTrashActivated)
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=737682
2007-11-17 00:08:54 +00:00
David Faure f8302197da Implement cut/copy/paste in dolphinpart.
Had to move more code to DolphinView, to use it from the part.

svn path=/trunk/KDE/kdebase/apps/; revision=737203
2007-11-15 20:04:05 +00:00
David Faure da8dc77c53 fix crash when pressing F2 on startup
enable undo

svn path=/trunk/KDE/kdebase/apps/; revision=737159
2007-11-15 17:16:17 +00:00
David Faure 53d65e6392 Implement renaming in dolphinpart.
No more rename action provided by konqueror, the part provides it now.
Had to move a bit of code around in dolphin, as discussed with Peter.

svn path=/trunk/KDE/kdebase/apps/; revision=737121
2007-11-15 14:59:02 +00:00
André Wöbbeking bbc2d51e0d remove unnecessary forward declaration
svn path=/trunk/KDE/kdebase/apps/; revision=734964
2007-11-10 15:47:39 +00:00
Peter Penz 2a0ab25c1b Fixed issue that within Konqueror changing the active column from the column-view is ignored. From the hosts point of view this has to be handled like an URL change.
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=728394
2007-10-23 07:10:51 +00:00
David Faure 8d4fb36089 DolphinPart: provide a way to switch between view modes in konqueror.
Factorized those actions between dolphinmainwindow and dolphinpart (see new methods in dolphinview), and simplified mainwindow code by using the signal from the action group and the QVariant data of the actions (standard Qt4 solution for a group of actions).

svn path=/trunk/KDE/kdebase/apps/; revision=723871
2007-10-10 23:01:35 +00:00
Rafael Fernández López c8072005fa Create the new architecture for KCategorizedView. Now DolphinModel is created, inheriting KDirModel for returning valid data for the role of the category of
an item. DolphinSortFilterProxyModel implements now methods lessThanCategoryMethod and lessThanGeneralMethod from KCategorizedSortFilterProxyModel.

The only thing that needs to be adapted is the keyboard navigation on the KCategorizedView.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=713319
2007-09-17 04:02:17 +00:00
David Faure 246c18a93c Implement contextMenu handling in dolphin part (for konqueror)
svn path=/trunk/KDE/kdebase/apps/; revision=705873
2007-08-28 19:48:36 +00:00
David Faure 9c7ccd477a Clicking on items in dolphin part finally implemented.
Fixed connect() error in dolphinstatusbar [unrelated].

svn path=/trunk/KDE/kdebase/apps/; revision=705835
2007-08-28 17:50:54 +00:00
David Faure d89f43f66b Change signature of requestItemInfo signal, to avoid fileitem -> url -> index -> fileitem roundtrip in dolphin,
and to match the BrowserExtension mouseOverInfo() signal.
Started to implement more of the part (e.g. spinning wheel in konq).

svn path=/trunk/KDE/kdebase/apps/; revision=682440
2007-07-02 17:24:54 +00:00
David Faure ab3d8b1003 Here comes dolphinpart, to use dolphin as the file management view in konqueror.
Embeds nicely, now all the integration needs to be done.
Thanks to Peter for the nice DolphinView/DolphinViewContainer separation which made writing the part very very easy!

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=682079
2007-07-01 14:25:21 +00:00