Peter Penz [Mon, 2 Apr 2007 05:06:44 +0000 (05:06 +0000)]
Use KonqOperations::del() as David suggested. In opposite to the old approach it's possible now to turn off the confirmation dialog -> provide a way to turn it on again like in Konqi.
Kevin Ottens [Sun, 1 Apr 2007 22:28:03 +0000 (22:28 +0000)]
Add the KFilePlacesModel class. It allows to list user's "places" (a mix
of bookmarks and volume devices). Still incomplete, for now it simply
list the places (drag and drop, and more interaction needs to be
implemented). It's supposed to move into kdelibs/kio soon.
Laurent Montel [Wed, 28 Mar 2007 08:10:53 +0000 (08:10 +0000)]
dolphin is the first apps which requires
qt4.3 but by default we don't requires it for the moment
I will not increase check into kdelibs now but it will a good
idea to increase it
=> for the moment disable dolphin if we don't have qt>=4.3
Peter Penz [Tue, 27 Mar 2007 20:18:43 +0000 (20:18 +0000)]
Fix issue that the sort proxy model does not work for QTreeView and QColumnView (duplicate entries occured). The fix is not perfect yet, but at least it allows to use the proxy model for the treeview sidebar and the column view.
David Faure [Tue, 27 Mar 2007 19:38:32 +0000 (19:38 +0000)]
Added setters in urlnavigator to remove dependency on dolphinsettings.
Removed old unused kfileiconview.h header, fixed some unrelated missing includes due to that one being removed.
Peter Penz [Tue, 27 Mar 2007 19:08:44 +0000 (19:08 +0000)]
Initial version for a column view support (thanks a lot to Benjamin Meyer for QColumnView in Qt4.3!). Currently there is a problem when using the DolphinSortFilterProxyModel: some items get duplicated, but I doubt it's an issue in QColumnView (the same issue occurs when using QTreeView) -> further investigations necessary...
David Faure [Mon, 26 Mar 2007 23:04:43 +0000 (23:04 +0000)]
Ported to KBookmarkManager::closestBookmark - which even solves another TODO about code duplication.
Improved urlnavigator API to avoid exposing the full QList (api independent from implementation now).
Luca Gugelmann [Sun, 25 Mar 2007 13:49:38 +0000 (13:49 +0000)]
* Fixed a bug that caused dolphin to crash when clicking on the "Root" button
in the url navigation bar.
* As a side effect this also prevents a small graphics glitch, where the path
labels in the navigation bar would shift a few pixels to the left when
clicked twice.
Peter Penz [Thu, 22 Mar 2007 07:19:07 +0000 (07:19 +0000)]
Use KUniqueApplication::newInstance() as David suggested some time ago. This simplifies the code and solves the issue that the window is not moved to the foreground when opening new main windows.
Peter Penz [Tue, 20 Mar 2007 21:54:12 +0000 (21:54 +0000)]
Fixed crash on startup, when the treeview has been activated. Thanks to David Faure for the faster-than-light-adding of the helper method KDirModel::itemForUrl() and the good hints about the root of the issue!
David Faure [Tue, 20 Mar 2007 18:35:03 +0000 (18:35 +0000)]
Mimetypes renamed to the xdg names using qt4/fix-mimetypes.pl
(note that not all of there renamings are necessary, technically, since a number
of those old names are defined as aliases to the new name;
but better use the canonical names where possible).
Sebastian Trueg [Tue, 20 Mar 2007 09:01:22 +0000 (09:01 +0000)]
Improved KMetaData integration. The Dolphin info sidebar now uses KMetaData to allow file rating, commenting, and tagging.
This commit is indended to show what can be done with KMetaData in an easy way. The GUI is not perfect yet.
Peter Penz [Wed, 14 Mar 2007 21:11:48 +0000 (21:11 +0000)]
Fixed some minor coding guidelines issues (getFoo() -> foo(), ...) to be aligned with the kdelibs coding style (http://techbase.kde.org/Policies/Kdelibs_Coding_Style). The infosidebar code will be rewritten anyway, but copy/paste often is faster than light ;-)
Peter Penz [Tue, 13 Mar 2007 19:46:49 +0000 (19:46 +0000)]
Use KFontRequester for dialogs as suggested by Ellen at http://wiki.openusability.org/guidelines/index.php/Practical_Examples:Configuration_Dialogs. TODO: get rid of Qt3 classes in these dialogs and use a more sensible spacing/margin
Peter Penz [Tue, 13 Mar 2007 17:31:54 +0000 (17:31 +0000)]
Allow renaming of items (note that currently the "rename multiple files" dialog is temporary used for this until KFileItemDelegate offers editing functionality).
Peter Penz [Sun, 11 Mar 2007 16:47:12 +0000 (16:47 +0000)]
Allow to set the 'AdditionalInformation' property from KFileItemDelegate for each folder. Use case:
- Icons view for images: set 'Size' as additional property
- Icons view for media: show 'MIME type' as additional property
- Default Icons view: don't show any addtional property for a clean layout.
TODO: KFileItemDelagate::AdditionalInformation intersects with KDirModel::Columns when used in combination with the details view. Assure that the user does not get confronted with such implementation details in the user interface.
Peter Penz [Sun, 11 Mar 2007 11:13:07 +0000 (11:13 +0000)]
Fixed some drag & drop issues:
- allow drag & drop inside the view
- prevent a dragging from a directory into itself
- use QModelIndex instead of the position