Commit graph

189 commits

Author SHA1 Message Date
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
André Wöbbeking baed5a65d4 make sure that other apps using this part find Dolphin's view-file-columns icons
svn path=/branches/KDE/4.0/kdebase/apps/; revision=761729
2008-01-15 11:09:56 +00:00
David Faure ac2e0e2d54 Make it possible to run applications from the applications:/ kioslave again.
svn path=/branches/KDE/4.0/kdebase/apps/; revision=757231
2008-01-04 14:40:31 +00:00
Jakob Petsovits 597b083dbc Icon naming spec compliance (code changes - KDE/):
drive-remote -> folder-remote

Seems like all of the drive-remote occurrences in SVN
make a perfect fit for being replaced by folder-remote
(which is specified by the naming spec).

svn path=/trunk/KDE/kdebase/apps/; revision=752590
2007-12-25 00:43:40 +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 d56ae4eda3 If we should open the URL right away, then let's do it right away.
We can tell konqueror afterwards by using the openUrlNotify() signal.

Note: this design bit is a bit strange; the controller has urlChanged() and requestUrlChange(),
but they are both channeled to DolphinView::urlChanged(), which means the recipient has
to figure out if the url change was already done or not, with "if (m_view->url() != url)".
Wouldn't it be simpler to just have both signals coming out of DolphinView?
(but some receivers like the view container don't seem to care which one was emitted... strange)

CCMAIL: peter.penz@gmx.at, ereslibre@kde.org
CCBUG: 154053

svn path=/trunk/KDE/kdebase/apps/; revision=750996
2007-12-20 20:44:58 +00:00
Rafael Fernández López c2d9d9beca Fix the problem with the column views.
BUG: 154053
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=750749
2007-12-20 00:08:17 +00:00
David Faure 609ce09292 Moving code around in dolphin fixes DnD support in konqueror :)
svn path=/trunk/KDE/kdebase/apps/; revision=748476
2007-12-14 15:53:40 +00:00
Jakub Stachowski 51e6281fe8 When listing already visited dir, completed() would be emitted from within setUrl, before
emit started(0) making konq logo spinning indefinitely.


svn path=/trunk/KDE/kdebase/apps/; revision=742730
2007-11-28 19:44:44 +00:00
Albert Astals Cid 19a3216a0c and now the correct fix by master dfaure
svn path=/trunk/KDE/kdebase/apps/; revision=740707
2007-11-23 23:29:45 +00:00
Albert Astals Cid 52f20900d6 Ahhh, fixing the bugs you report, that rocks ;-)
Insert the dolphin catalog so the messages appear translated correctly when eg, embedded into konqueror

BUG: 152752

svn path=/trunk/KDE/kdebase/apps/; revision=740701
2007-11-23 22:54:12 +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 afe7ee8583 Moved popupmenu logic for trash+del to dolphinpart
svn path=/trunk/KDE/kdebase/apps/; revision=737696
2007-11-17 00:53:45 +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
David Faure 2a3035088b Fix the other bug reported by BCoppens: the tab title was the full path, until switching tabs and back, then it changed to just the dir name (as it should be, in fact).
The logic in KonqView::setCaption was being confused by the part url still being empty; let's do things in the right order here.
+ .rc cleanups

svn path=/trunk/KDE/kdebase/apps/; revision=735495
2007-11-11 21:03:59 +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
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
David Faure dd34d651b5 Ported KonqPopupMenu away from xmlgui to make things debuggable (we had code that dynamically created XML, and then passed it for gui merging with KonqPopupMenu's own generated XML, that was too much magic and headaches).
There are now unit tests for KonqPopupMenu, and its code has a bit less magic hacks than before.
There is no more KonqPopupMenuPlugin though, but I'm happy to re-create it once there's a real use case for it.

svn path=/trunk/KDE/kdebase/apps/; revision=719676
2007-10-01 17:06:34 +00:00
Tobias Koenig 29a1b26421 Making KFileItemList value based.
svn path=/trunk/KDE/kdebase/apps/; revision=719514
2007-10-01 08:00:48 +00:00
David Faure f78bac9909 Pass ref instead of pointer in mouseOverInfo signal
svn path=/trunk/KDE/kdebase/apps/; revision=716256
2007-09-24 10:55:55 +00:00
David Faure ce3ec0d0e6 Fix crash in dolphinpart when doing RMB on viewport.
Clean up unnecessary use of Q3ValueList.

svn path=/trunk/KDE/kdebase/apps/; revision=714532
2007-09-19 20:33:28 +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 8118d8e243 dolphinview fix: don't emit urlChanged twice in DolphinView::setUrl (it's already emitted by the controller, and we forward that)
dolphinpart fix: don't let the konq wheel spin forever when clicking on the Home button and we're already viewing $HOME.

svn path=/trunk/KDE/kdebase/apps/; revision=705916
2007-08-28 21:47:20 +00:00
David Faure f229d1531a Navigation in konqueror works MUCH better when the KParts url is set :)
svn path=/trunk/KDE/kdebase/apps/; revision=705888
2007-08-28 20:20:05 +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 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
David Faure 1f5476dd45 KParts::URLArgs split up [merged from branches/work/kparts_urlargs_split]
into KParts::OpenUrlArguments and KParts::BrowserArguments.
This also allows the part to set arguments().mimeType() is the host didn't set it.

svn path=/trunk/KDE/kdebase/apps/; revision=699514
2007-08-13 10:17:57 +00:00
Peter Penz 6b49f86c54 improved i18ncheckarg scripts means new KUIT issues -> fixed now...
svn path=/trunk/KDE/kdebase/apps/; revision=687491
2007-07-13 18:39:57 +00:00
Peter Penz 7eef5ebec2 KUIT adaptions (applied i18ncheckarg - everything should be OK now)
CCMAIL: caslav.ilic@gmx.net

svn path=/trunk/KDE/kdebase/apps/; revision=686787
2007-07-12 06:10: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
Chusslove Illich 2a86e0bf84 Interface modifications to KCmdLineArgs, KAboutData and KComponentData; BIC, SIC. Most of the depending code has been auto-converted to new API.
svn path=/trunk/KDE/kdebase/apps/; revision=682259
2007-07-02 08:49:20 +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