Commit graph

58 commits

Author SHA1 Message Date
Peter Penz d89548a828 allow to configure whether the zoom slider and/or the space information should be shown in the statusbar
svn path=/trunk/KDE/kdebase/apps/; revision=868596
2008-10-06 18:15:53 +00:00
Peter Penz 2a1c78d3da Provide a zoom slider in the status bar. It is configurable whether the zoom slider and/or the space information is shown in the statusbar (the GUI in the settings dialog will be provided during the next week).
svn path=/trunk/KDE/kdebase/apps/; revision=868272
2008-10-05 21:17:06 +00:00
Peter Penz 224f471a9f update the statusbar and provide a progress information within the Dolphin KPart, so that Konqueror shows the same information as Dolphin (thanks to Simon St James for the patch!)
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=868210
2008-10-05 18:11:46 +00:00
Peter Penz aa0b09dac4 * adjusted Dolphin to use KonqOperations::doDrop() instead of using a custom implementation
* used new signals jobRecordingStarted() and jobRecordingFinished from FileUndoManager to inform the user in the statusbar when a recorded command has been finished

svn path=/trunk/KDE/kdebase/apps/; revision=866777
2008-10-01 21:39:35 +00:00
Peter Penz cb5a134080 don't clear the filterbar when switching between tabs
BUG: 169878

svn path=/trunk/KDE/kdebase/apps/; revision=856411
2008-09-02 20:01:50 +00:00
Peter Penz afcbe61a6c Allow to configure in the startup configuration whether the URL Navigator should show the full path in the breadcrumb view.
svn path=/trunk/KDE/kdebase/apps/; revision=841571
2008-08-03 14:53:30 +00:00
Peter Penz 295ecd1ddf Disable the menu 'File' -> 'Create New...' if no writing is supported.
BUG: 166592

svn path=/trunk/KDE/kdebase/apps/; revision=834845
2008-07-19 16:51:29 +00:00
Peter Penz e54e6a9cdb Move the code for restoring the current item from DolphinViewContainer to DolphinView, as the DolphinView must be able to do this without advice from the container.
Beside that this simplifies the code it also fixes a regression of having empty tabs.

svn path=/trunk/KDE/kdebase/apps/; revision=813828
2008-05-28 20:40:16 +00:00
Peter Penz ed5b2e5473 when going back in history apply the keyboard focus to the the previously shown directory
BUG: 156550
BUG: 158590

svn path=/trunk/KDE/kdebase/apps/; revision=810493
2008-05-20 21:21:48 +00:00
Peter Penz 2041dcd123 remove unused method
svn path=/trunk/KDE/kdebase/apps/; revision=810455
2008-05-20 19:40:07 +00:00
Peter Penz 63be8bc9a1 Fixed issue the the current view does not get the focus after opening Dolphin. Although this fixes #161590, further improvements have to be done to minimize the number of necessary tab presses...
BUG: 161590

svn path=/trunk/KDE/kdebase/apps/; revision=805206
2008-05-07 20:50:27 +00:00
David Faure 6d425dcc66 Use new key in .protocol files, archiveMimetype, to know which kioslave can handle which type of archive in a generic way.
Used that in dolphin and in konqueror (and in the filetypes config module, to show the right default value for those mimetypes).
This way Urs can extend this mechanism with the p7zip kioslave in the future.
CCMAIL: uwolfer@kde.org, peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=790102
2008-03-25 21:39:05 +00:00
Norbert Frese 7a1992e86b Make Konqueror and Dolphin use the new KFileItem::targetUrl() method.
svn path=/trunk/KDE/kdebase/apps/; revision=782396
2008-03-05 00:17:53 +00:00
Bill Egert ff32f4c1c4 No longer use Obsolete Member for QWidget:
topLevelWidget() => window() 

svn path=/trunk/KDE/kdebase/apps/; revision=776408
2008-02-18 01:06:50 +00:00
Robert Knight 12c6facfce Fix flicker when resizing the central view area in Dolphin. Only applicable with Qt 4.4 with alien widgets enabled. Any widgets passed to KDirLister::setMainWindow() become native widgets because of a call to QWidget::winId() inside KIO. This fix passes the top level Dolphin window to setMainWindow() (which is already a native window) instead of the item view widget.
svn path=/trunk/KDE/kdebase/apps/; revision=775396
2008-02-15 18:18:21 +00:00
David Faure e3da86af95 forwardport 764429:
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=/trunk/KDE/kdebase/apps/; revision=764436
2008-01-21 19:31:07 +00:00
Peter Penz 8ba61eb0c7 Make it configurable whether a browsing through archives should be done. The default setting is 'off'. TODO: cleanup the "General Settings" dialog and split it as "General" and "Startup".
svn path=/trunk/KDE/kdebase/apps/; revision=764378
2008-01-21 16:07:45 +00:00
Peter Penz 1daef0dc52 Cleanup: let the DolphinView be aware about the used action collection. This will allow us cleaning up some code in DolphinMainWindow and will make it easier sharing code with DolphinPart.
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=764347
2008-01-21 14:16:31 +00:00
Peter Penz d361e8b9b4 do a case insensitive filtering of filenames
CCMAIL: riccardo@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=756066
2008-01-02 17:40:15 +00:00
Peter Penz 7122f99d75 Only browse through zip and tar files if they are local (otherwise a cryptic error message will occur). We really must make this behavior configurable in KDE 4.1 - I'd suggest that per default no browsing through zip and tar is done (with an option turning this on again)
BUG: 153985
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=749059
2007-12-16 12:23:49 +00:00
Peter Penz 1a7cf5427f the signal urlsDropped is not available anymore in the DolphinView
svn path=/trunk/KDE/kdebase/apps/; revision=749047
2007-12-16 11:49:39 +00:00
Peter Penz e91a20c9b8 simplified code for assuring that Open Office files won't get browsed + added comment (thanks to David for the hint)
svn path=/trunk/KDE/kdebase/apps/; revision=748799
2007-12-15 15:20:45 +00:00
Peter Penz c436a142e8 Fixed issue that when clicking on Open Office files that Dolphin handles the files as zip-folder. I'm not sure whether there might be a nicer way doing this, but at least for KDE 4.0 this should be sufficient.
BUG: 153981

svn path=/trunk/KDE/kdebase/apps/; revision=748399
2007-12-14 11:45:11 +00:00
Peter Penz 26a15eb88e Follow David's advice and use 'delete' instead of 'deleteLater()'. Disconnecting the signals from KDirLister solves a previous crash.
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=746428
2007-12-08 23:05:32 +00:00
Peter Penz 3a2a6011e8 don't forget to delete the proxy model
svn path=/trunk/KDE/kdebase/apps/; revision=746418
2007-12-08 22:42:13 +00:00
Peter Penz 54dfdc930a fixed memory leaks (thanks to David for fixing this in KDirOperator)
svn path=/trunk/KDE/kdebase/apps/; revision=746294
2007-12-08 16:16: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 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 205bf2035d KonqUndoManager -> KonqFileUndoManager, to prepare for a KonqUndoManager in konqueror,
Taking this opportunity for filename==classname and a .cpp extension, as well.

svn path=/trunk/KDE/kdebase/apps/; revision=737032
2007-11-15 10:10:42 +00:00
Craig Drummond ad74c99bbc Fix parentless dialogs
svn path=/trunk/KDE/kdebase/apps/; revision=734288
2007-11-08 13:29:44 +00:00
Peter Penz 3b8c3c1b1e Allow filtering of items also for the column view. A filtering of directories is not done yet, but with the latest updates of the column view this could be added now (but it's more a question whether we really want this...).
svn path=/trunk/KDE/kdebase/apps/; revision=723536
2007-10-09 22:32:54 +00:00
Peter Penz 29402a79bc Refactored DolphinColumnWidget so that it does not need a hierarchical KDirLister. This simplifies the code a lot and also bypasses the current problems with the KDirLister cache when working on hierarchical directories in parallel. There are some minor regressions which will be fixed, but all in all some improvements are visible already:
- the loading of columns is a lot faster
- preview in columns is working
- no side effects in combination with the treeview-panel because of caching

svn path=/trunk/KDE/kdebase/apps/; revision=721678
2007-10-05 21:00:44 +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
Tobias Koenig 29a1b26421 Making KFileItemList value based.
svn path=/trunk/KDE/kdebase/apps/; revision=719514
2007-10-01 08:00:48 +00:00
Peter Penz 1db9b6c3c4 fix filtering issues for views that show a directory hierarchy like a tree view or a column view: the directories should not get filtered
svn path=/trunk/KDE/kdebase/apps/; revision=716873
2007-09-25 13:16:17 +00:00
Peter Penz 3bf8fa5901 further root URL handling cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=716789
2007-09-25 09:02:29 +00:00
Peter Penz 6fd52b51ac assure that the restoring the column view cannot fail and replace the temporary 'if (...)-fix' by a Q_ASSERT again
svn path=/trunk/KDE/kdebase/apps/; revision=716711
2007-09-25 05:59:27 +00:00
Peter Penz 772a55aafc Restore the root URL when navigating through the history (this is important for views like the column view where the root URL might differ from the current URL).
svn path=/trunk/KDE/kdebase/apps/; revision=716310
2007-09-24 13:50:31 +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
Robert Knight 578123d72a Remove reference to a slot which does not exist. Almost identical code can be found in the DolphinView constructor, which does have an updateCutItems() slot.
svn path=/trunk/KDE/kdebase/apps/; revision=708828
2007-09-05 19:33:08 +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
Jeff Mitchell 7cd37f4747 Remove unnecessary parameter.
svn path=/trunk/KDE/kdebase/apps/; revision=700798
2007-08-16 13:22:18 +00:00
Jeff Mitchell f8fa4e8df1 When renaming, use the actual name of the item (from the KFileItem) in the dialog.
svn path=/trunk/KDE/kdebase/apps/; revision=700054
2007-08-14 16:46: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
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
Peter Penz ea3e000501 KUIT adaptions
svn path=/trunk/KDE/kdebase/apps/; revision=685432
2007-07-08 21:09:48 +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
Peter Penz 5926d0fddd * fixed issue that some view properties like "show in groups" are ignored when a new DolphinViewContainer has been created (happens on startup or when a view is split)
* get rid of redundant parameter in constructors of DolphinView and DolphinViewContainer

svn path=/trunk/KDE/kdebase/apps/; revision=677654
2007-06-19 16:35:52 +00:00
Peter Penz 65e8bdc4bc take care for const-correctness
svn path=/trunk/KDE/kdebase/apps/; revision=675680
2007-06-14 17:46:12 +00:00
Peter Penz 862ceee323 fixed some activation issues in combination with split views
svn path=/trunk/KDE/kdebase/apps/; revision=674980
2007-06-13 17:08:39 +00:00