]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
18 years ago* Starts to add Nepomuk supports to dolphin (currently, only annotations are supported)
Oscar Blumberg [Thu, 22 Feb 2007 16:45:53 +0000 (16:45 +0000)]
* Starts to add Nepomuk supports to dolphin (currently, only annotations are supported)
* Little changes in InfoSidebarPage (no more multiple label for infos & Q3Layout>QLayout)
* Support infos for multiple files (only total size, what else ?)

svn path=/trunk/KDE/kdebase/apps/; revision=636272

18 years agoFixing autogenerated headers includes
Alexander Wiedenbruch [Wed, 21 Feb 2007 10:43:59 +0000 (10:43 +0000)]
Fixing autogenerated headers includes

svn path=/trunk/KDE/kdebase/apps/; revision=635892

18 years agoinstalling a file called generalsettings.kcfgc just asks
Stephan Kulow [Wed, 21 Feb 2007 09:31:52 +0000 (09:31 +0000)]
installing a file called generalsettings.kcfgc just asks
for trouble - always prefix installed files

svn path=/trunk/KDE/kdebase/apps/; revision=635877

18 years agoi18n fixes. Note: %n is no longer used in plural strings.
Chusslove Illich [Tue, 20 Feb 2007 15:03:09 +0000 (15:03 +0000)]
i18n fixes. Note: %n is no longer used in plural strings.

svn path=/trunk/KDE/kdebase/apps/; revision=635655

18 years agosetGroup -> KConfigGroup
David Faure [Tue, 20 Feb 2007 11:55:38 +0000 (11:55 +0000)]
setGroup -> KConfigGroup

svn path=/trunk/KDE/kdebase/apps/; revision=635597

18 years agoporting
Stephan Kulow [Tue, 20 Feb 2007 09:04:52 +0000 (09:04 +0000)]
porting

svn path=/trunk/KDE/kdebase/apps/; revision=635532

18 years agoI hope this compiles better
Stephan Kulow [Tue, 20 Feb 2007 08:28:31 +0000 (08:28 +0000)]
I hope this compiles better

svn path=/trunk/KDE/kdebase/apps/; revision=635522

18 years agocompile some more
Stephan Kulow [Tue, 20 Feb 2007 08:18:28 +0000 (08:18 +0000)]
compile some more

svn path=/trunk/KDE/kdebase/apps/; revision=635518

18 years agoDon't use a hardcoded path in the view properties dialog for the mirrored directory...
Peter Penz [Sun, 18 Feb 2007 18:54:22 +0000 (18:54 +0000)]
Don't use a hardcoded path in the view properties dialog for the mirrored directory, ask the class ViewProperties for the location instead.

svn path=/trunk/KDE/kdebase/apps/; revision=634899

18 years agoDolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submit...
Peter Penz [Sun, 18 Feb 2007 17:01:36 +0000 (17:01 +0000)]
Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submitted this patch.

svn path=/trunk/KDE/kdebase/apps/; revision=634862

18 years agominor cosmetic fix: don't use a group box if the global view properties are set ...
Peter Penz [Sun, 18 Feb 2007 12:29:25 +0000 (12:29 +0000)]
minor cosmetic fix: don't use a group box if the global view properties are set (less clutter)

svn path=/trunk/KDE/kdebase/apps/; revision=634819

18 years agoView properties dialog: Allow to reset all view properties (the timestamp is used...
Peter Penz [Sun, 18 Feb 2007 11:20:32 +0000 (11:20 +0000)]
View properties dialog: Allow to reset all view properties (the timestamp is used for this). Additionally it is possible for the user to specify whether the current view properties should be the default for new directories.

svn path=/trunk/KDE/kdebase/apps/; revision=634789

18 years agoFixed shortcuts, removed warnings.
Peter Penz [Sat, 17 Feb 2007 21:47:45 +0000 (21:47 +0000)]
Fixed shortcuts, removed warnings.

svn path=/trunk/KDE/kdebase/apps/; revision=634634

18 years agoImprove usability of the viewproperties dialog: use 2 radiobuttons instead of one...
Peter Penz [Sat, 17 Feb 2007 20:04:06 +0000 (20:04 +0000)]
Improve usability of the viewproperties dialog: use 2 radiobuttons instead of one checkbox to make clear where the view properties are applied. Separate the apply-to-group visually from the 'Use as default for new folders' checkbox.

svn path=/trunk/KDE/kdebase/apps/; revision=634606

18 years agoSome minor polishing: use a grid for the icons view, give the toggle button of the...
Peter Penz [Sat, 17 Feb 2007 19:24:48 +0000 (19:24 +0000)]
Some minor polishing: use a grid for the icons view, give the toggle button of the URL navigator an icon

svn path=/trunk/KDE/kdebase/apps/; revision=634601

18 years agoHide the filler widget when showing the traditional view. Fixed issue when toggling...
Peter Penz [Sat, 17 Feb 2007 18:47:19 +0000 (18:47 +0000)]
Hide the filler widget when showing the traditional view. Fixed issue when toggling between breadcrumb and traditional view.

svn path=/trunk/KDE/kdebase/apps/; revision=634598

18 years agoAllow the pasting of a text clipboard content to the URL navigator by pressing the...
Peter Penz [Sat, 17 Feb 2007 18:25:46 +0000 (18:25 +0000)]
Allow the pasting of a text clipboard content to the URL navigator by pressing the middle mouse button. Although this is quite a hidden feature, I think it makes happy a lot of people who just want to paste a URL available as text to the URL navigator without switching from the breadcrump view to the traditional view.

Very nice "side effect": the URL navigator is now completely flicker free when changing URLs because of using the whole available width :-)

TODO: I'm not 100 % sure whether checking the middle mousebutton by 'if (event->button() == Qt::MidButton) { ... }' is the right approach (maybe there is a more generic way to check the 'paste button').

svn path=/trunk/KDE/kdebase/apps/; revision=634595

18 years agoPrevent that the popup of the URL navigator is opened if the button has already been...
Peter Penz [Sat, 17 Feb 2007 15:13:23 +0000 (15:13 +0000)]
Prevent that the popup of the URL navigator is opened if the button has already been clicked within the 300 ms timeout.

svn path=/trunk/KDE/kdebase/apps/; revision=634549

18 years agodon't perform a copy operation, if the user clicked outside the popup menu
Peter Penz [Sat, 17 Feb 2007 14:57:05 +0000 (14:57 +0000)]
don't perform a copy operation, if the user clicked outside the popup menu

svn path=/trunk/KDE/kdebase/apps/; revision=634547

18 years agoPrevent a flickering of the URL navigator buttons by reusing existing buttons (before...
Peter Penz [Sat, 17 Feb 2007 14:46:54 +0000 (14:46 +0000)]
Prevent a flickering of the URL navigator buttons by reusing existing buttons (before all items have been deleted and recreated). The flickering is still not solved to 100 %, but a lot better than before. @Aaron: I did not change anything inside the logic of the code -> the net protocol code works the same as in our internal KDE3 working prototype of Dolphin

svn path=/trunk/KDE/kdebase/apps/; revision=634543

18 years agoCleanup: don't use deprecated Qt3 classes or methods, removed unnecessary includes
Peter Penz [Sat, 17 Feb 2007 13:43:47 +0000 (13:43 +0000)]
Cleanup: don't use deprecated Qt3 classes or methods, removed unnecessary includes

svn path=/trunk/KDE/kdebase/apps/; revision=634516

18 years agoDon't use any deprecated classes or methods from Qt3 anymore.
Peter Penz [Sat, 17 Feb 2007 10:58:09 +0000 (10:58 +0000)]
Don't use any deprecated classes or methods from Qt3 anymore.

svn path=/trunk/KDE/kdebase/apps/; revision=634445

18 years agoCleanup of the URL navigator, so that the DolphinMainWindow and the DolphinView are...
Peter Penz [Sat, 17 Feb 2007 10:31:52 +0000 (10:31 +0000)]
Cleanup of the URL navigator, so that the DolphinMainWindow and the DolphinView are not used anymore. This will make it easier for us later on when moving the URL navigator outside Dolphin to make it accessable for other parts. Currently the bookmarks are still accessed by DolphinSettings, but this will be cleaned up later...

svn path=/trunk/KDE/kdebase/apps/; revision=634432

18 years agoAssure that the horizontal and vertical slider position don't reset if an item is...
Peter Penz [Sat, 17 Feb 2007 07:16:59 +0000 (07:16 +0000)]
Assure that the horizontal and vertical slider position don't reset if an item is deleted or added.

svn path=/trunk/KDE/kdebase/apps/; revision=634399

18 years agoRemoved method 'int columnIndex(Sorting sorting) const'. The mapping is done outside...
Peter Penz [Sat, 17 Feb 2007 06:29:17 +0000 (06:29 +0000)]
Removed method 'int columnIndex(Sorting sorting) const'. The mapping is done outside the class DolphinView already.

svn path=/trunk/KDE/kdebase/apps/; revision=634392

18 years agoReanimated drag & drop support again after introducing the DolphinController. It...
Peter Penz [Fri, 16 Feb 2007 17:03:02 +0000 (17:03 +0000)]
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

18 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 15 Feb 2007 09:05:07 +0000 (09:05 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=633755

18 years agoconfig.h just add package name/version etc.
Laurent Montel [Thu, 15 Feb 2007 08:02:02 +0000 (08:02 +0000)]
config.h just add package name/version etc.
=> not necessary now that it's into kdebase
Cleanup CMakeList

svn path=/trunk/KDE/kdebase/apps/; revision=633749

18 years agominor documentation fixes
Peter Penz [Wed, 14 Feb 2007 22:27:47 +0000 (22:27 +0000)]
minor documentation fixes

svn path=/trunk/KDE/kdebase/apps/; revision=633708

18 years agoStep one for having DolphinParts for the icons and details view, which can be used...
Peter Penz [Wed, 14 Feb 2007 21:54:24 +0000 (21:54 +0000)]
Step one for having DolphinParts for the icons and details view, which can be used by Konqueror. TODO: currently dropping of items is deactivated, as I want to wait for Davids feedback whether the direction is ok.

svn path=/trunk/KDE/kdebase/apps/; revision=633703

18 years agoget libkonq from kdebase
David Faure [Wed, 14 Feb 2007 21:17:05 +0000 (21:17 +0000)]
get libkonq from kdebase

svn path=/trunk/KDE/kdebase/apps/; revision=633693

18 years agoupdate to i18n change: no more %n in plural calls
Peter Penz [Tue, 13 Feb 2007 17:35:17 +0000 (17:35 +0000)]
update to i18n change: no more %n in plural calls

svn path=/trunk/playground/utils/dolphin/; revision=633273

18 years agouse KIO::itemsSummaryString() instead of reinventing the wheel
Peter Penz [Mon, 12 Feb 2007 15:32:28 +0000 (15:32 +0000)]
use KIO::itemsSummaryString() instead of reinventing the wheel

svn path=/trunk/playground/utils/dolphin/; revision=632870

18 years agofixed internationalization issue for languages with more complex plural forms (thanks...
Peter Penz [Sun, 11 Feb 2007 21:39:01 +0000 (21:39 +0000)]
fixed internationalization issue for languages with more complex plural forms (thanks to David for the hint)

svn path=/trunk/playground/utils/dolphin/; revision=632674

18 years agodon't accept drops into the same view if it is not done above a directory
Peter Penz [Sun, 11 Feb 2007 20:54:07 +0000 (20:54 +0000)]
don't accept drops into the same view if it is not done above a directory

svn path=/trunk/playground/utils/dolphin/; revision=632656

18 years agofixed i18n issue when showing how many files are selected
Peter Penz [Sun, 11 Feb 2007 20:23:50 +0000 (20:23 +0000)]
fixed i18n issue when showing how many files are selected

svn path=/trunk/playground/utils/dolphin/; revision=632641

18 years agodon't trigger an item if the user does a selection by using the control- or shift...
Peter Penz [Sun, 11 Feb 2007 20:04:18 +0000 (20:04 +0000)]
don't trigger an item if the user does a selection by using the control- or shift-modifier

svn path=/trunk/playground/utils/dolphin/; revision=632633

18 years agorestore the x- and y-position of the view if the current view is part of the history
Peter Penz [Sat, 10 Feb 2007 21:29:29 +0000 (21:29 +0000)]
restore the x- and y-position of the view if the current view is part of the history

svn path=/trunk/playground/utils/dolphin/; revision=632370

18 years agojust a coding guideline style fix: assure that a consistent coding style is used...
Peter Penz [Thu, 8 Feb 2007 20:46:49 +0000 (20:46 +0000)]
just a coding guideline style fix: assure that a consistent coding style is used within Dolphin

svn path=/trunk/playground/utils/dolphin/; revision=631710

18 years agoFixed issue that the filterbar and the menu state have not been synchronized (a not...
Peter Penz [Thu, 8 Feb 2007 20:33:49 +0000 (20:33 +0000)]
Fixed issue that the filterbar and the menu state have not been synchronized (a not existing signal name has been used)

svn path=/trunk/playground/utils/dolphin/; revision=631709

18 years agoAdditionally to sorting by name, size and date it is now possible to sort by permissi...
Peter Penz [Wed, 7 Feb 2007 06:19:06 +0000 (06:19 +0000)]
Additionally to sorting by name, size and date it is now possible to sort by permissions, owner and group.

svn path=/trunk/playground/utils/dolphin/; revision=631058

18 years agoIf the user changes the sorting by clicking on a header section, the resulting sortin...
Peter Penz [Tue, 6 Feb 2007 06:43:34 +0000 (06:43 +0000)]
If the user changes the sorting by clicking on a header section, the resulting sorting state must be synchronized with the Dolphin menu.

svn path=/trunk/playground/utils/dolphin/; revision=630740

18 years agoupdate the header indicators corresponding to the current sort column and sort order
Peter Penz [Mon, 5 Feb 2007 23:18:22 +0000 (23:18 +0000)]
update the header indicators corresponding to the current sort column and sort order

svn path=/trunk/playground/utils/dolphin/; revision=630675

18 years agoOnly group the directories before items if the KDirModel::Name column is sorted....
Peter Penz [Mon, 5 Feb 2007 23:17:15 +0000 (23:17 +0000)]
Only group the directories before items if the KDirModel::Name column is sorted. If the sorting is done e. g. by the date column, it is confusing when still directories are seperated from items.

svn path=/trunk/playground/utils/dolphin/; revision=630674

18 years agoupdated the documentation
Peter Penz [Mon, 5 Feb 2007 23:15:09 +0000 (23:15 +0000)]
updated the documentation

svn path=/trunk/playground/utils/dolphin/; revision=630673

18 years agoFix compilation
David Faure [Mon, 5 Feb 2007 23:12:51 +0000 (23:12 +0000)]
Fix compilation

svn path=/trunk/playground/utils/dolphin/; revision=630669

18 years agoFix compile
Stefan Gehn [Thu, 1 Feb 2007 12:05:20 +0000 (12:05 +0000)]
Fix compile
deprecated--

svn path=/trunk/playground/utils/dolphin/; revision=629105

18 years agoclear the status bar when doing an undo operation
Peter Penz [Wed, 31 Jan 2007 22:14:46 +0000 (22:14 +0000)]
clear the status bar when doing an undo operation

svn path=/trunk/playground/utils/dolphin/; revision=628910

18 years agoQueue error messages so that a currently shown error message is not replaced until...
Peter Penz [Wed, 31 Jan 2007 22:03:35 +0000 (22:03 +0000)]
Queue error messages so that a currently shown error message is not replaced until the user confirmed the reading. If there are no pending error messages and a timeout has been exceeded, the currently shown error messages automatically fades out as soon as the user triggered another action. This behavior should correspond to Ellens suggestions (I hope :-)).

svn path=/trunk/playground/utils/dolphin/; revision=628905

18 years agoremove include
Dirk Mueller [Wed, 31 Jan 2007 20:58:34 +0000 (20:58 +0000)]
remove include

svn path=/trunk/playground/utils/dolphin/; revision=628892

18 years agoImprovements for error messages:
Peter Penz [Tue, 30 Jan 2007 19:38:44 +0000 (19:38 +0000)]
Improvements for error messages:
- increase/decrease size on demand and hide progress bar or space information if required
- provide close button

TODO: the code is far from being finished (e. g. no queueing of pending error messages, close button looks fugly, ...), but I decided to commit the changes to prevent getting an inconsistent state in combination with other commits...

svn path=/trunk/playground/utils/dolphin/; revision=628642

18 years agoupdate to changes in class KGlobal (kdelibs)
Peter Penz [Tue, 30 Jan 2007 19:31:37 +0000 (19:31 +0000)]
update to changes in class KGlobal (kdelibs)

svn path=/trunk/playground/utils/dolphin/; revision=628641

18 years agoFurther optimizations: do a delayed update of the geometry. This leads to a reduced...
Peter Penz [Fri, 26 Jan 2007 19:58:41 +0000 (19:58 +0000)]
Further optimizations: do a delayed update of the geometry. This leads to a reduced flickering/resizing when e. g. the view is split or the window is resized.

svn path=/trunk/playground/utils/dolphin/; revision=627494

18 years agoFurther optimizations for the status bar: hide the space information if the status...
Peter Penz [Fri, 26 Jan 2007 19:38:32 +0000 (19:38 +0000)]
Further optimizations for the status bar: hide the space information if the status bar text does not fit into the remaining width.

svn path=/trunk/playground/utils/dolphin/; revision=627486

18 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 26 Jan 2007 11:01:46 +0000 (11:01 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/playground/utils/dolphin/; revision=627378

18 years agofixed
David Faure [Fri, 26 Jan 2007 09:09:44 +0000 (09:09 +0000)]
fixed

svn path=/trunk/playground/utils/dolphin/; revision=627345

18 years agoupsi... forgot to uncomment the temporary workaround until the forward declaration...
Peter Penz [Fri, 26 Jan 2007 00:57:52 +0000 (00:57 +0000)]
upsi... forgot to uncomment the temporary workaround until the forward declaration in knewmenu.h is added :-(

svn path=/trunk/playground/utils/dolphin/; revision=627221

18 years agoDo a custom error handling in for the 'Create New...' submenu. Thanks to David for...
Peter Penz [Fri, 26 Jan 2007 00:55:49 +0000 (00:55 +0000)]
Do a custom error handling in for the 'Create New...' submenu. Thanks to David for adjusting KNewMenu :-)

svn path=/trunk/playground/utils/dolphin/; revision=627220

18 years agoFirst step for making the details view usable again:
Peter Penz [Thu, 25 Jan 2007 22:28:04 +0000 (22:28 +0000)]
First step for making the details view usable again:
- accept drops
- Automatically resize the columns in a way that the whole available width is used by stretching the width of the 'Name' column. Qt4's QTreeView really rocks, only a few lines of code had been necessary to get this behavior :-)

svn path=/trunk/playground/utils/dolphin/; revision=627189

18 years agoDavid's patches come in faster than light: removed code duplication, as a proper...
Peter Penz [Thu, 25 Jan 2007 21:06:59 +0000 (21:06 +0000)]
David's patches come in faster than light: removed code duplication, as a proper default implementation is now available in KonqUndoManager::UiInterface::copiedFileWasModified().

svn path=/trunk/playground/utils/dolphin/; revision=627164

18 years agoUse custom implementation of KonqUndoManager::UiInterface for Dolphin. This allows...
Peter Penz [Thu, 25 Jan 2007 19:37:19 +0000 (19:37 +0000)]
Use custom implementation of KonqUndoManager::UiInterface for Dolphin. This allows that error messages are shown inside the status bar of Dolphin (otherwise a modal error dialog containing an "OK" button would be opened).

svn path=/trunk/playground/utils/dolphin/; revision=627130

18 years agoCleanup of URL drop handling (simplified code, modifier keys work again). After furth...
Peter Penz [Thu, 25 Jan 2007 17:56:29 +0000 (17:56 +0000)]
Cleanup of URL drop handling (simplified code, modifier keys work again). After further minor cleanups it looks like KonqOperations::doDrop() can be used later on :-)

svn path=/trunk/playground/utils/dolphin/; revision=627105

18 years agoUse KNewMenu instead of custom implementation of Dolphin. TODO: currently errors...
Peter Penz [Thu, 25 Jan 2007 16:56:52 +0000 (16:56 +0000)]
Use KNewMenu instead of custom implementation of Dolphin. TODO: currently errors are indicated automatically in a message box KNewMenu. In Dolphin modal dialogs having only an "OK" button are not used -> it would be nice if Dolphin could handle the errors in a custom way.

svn path=/trunk/playground/utils/dolphin/; revision=627085

18 years agoGet rid of some KDE 3 relicts.
Peter Penz [Tue, 23 Jan 2007 21:44:52 +0000 (21:44 +0000)]
Get rid of some KDE 3 relicts.

svn path=/trunk/playground/utils/dolphin/; revision=626610

18 years agoMinor adjustments and cleanups in the statusbar:
Peter Penz [Tue, 23 Jan 2007 18:33:43 +0000 (18:33 +0000)]
Minor adjustments and cleanups in the statusbar:
- prevent a flickering of the space information if a folder has been changed
- assure that no progress bar and space information is shown if an error is displayed currently

svn path=/trunk/playground/utils/dolphin/; revision=626571

18 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 23 Jan 2007 11:10:33 +0000 (11:10 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/playground/utils/dolphin/; revision=626448

18 years ago- Fixed crash when showing "Open With..." items of the context menu: the model index...
Peter Penz [Sun, 21 Jan 2007 22:12:49 +0000 (22:12 +0000)]
- Fixed crash when showing "Open With..." items of the context menu: the model index from the proxy model was used instead of the model index from the KDirModel.

- Use QMenu::addSeparator() instead of QMenu::insertSeparator().

svn path=/trunk/playground/utils/dolphin/; revision=626040

18 years agoCleanup of DolphinContextMenu:
Peter Penz [Sun, 21 Jan 2007 21:20:37 +0000 (21:20 +0000)]
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

18 years agoRemoved helper class ProgressIndicator (not needed anymore because of the use of...
Peter Penz [Sat, 20 Jan 2007 15:03:14 +0000 (15:03 +0000)]
Removed helper class ProgressIndicator (not needed anymore because of the use of KonqUndoManager).

svn path=/trunk/playground/utils/dolphin/; revision=625608

18 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 18 Jan 2007 11:01:54 +0000 (11:01 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/playground/utils/dolphin/; revision=624903

18 years agoReplaced Dolphins UndoManager and DolphinCommand by KonqUndoManager and KonqOperation...
Peter Penz [Thu, 18 Jan 2007 06:32:21 +0000 (06:32 +0000)]
Replaced Dolphins UndoManager and DolphinCommand by KonqUndoManager and KonqOperations. There are still some minor open issues left (renaming of multiple selected files, no undo support for KonqOperations::mkdir(), redo, ...), but all in all it absolutely makes sense to use a shared code for those operations.

svn path=/trunk/playground/utils/dolphin/; revision=624760

18 years agoFix signal/slot
Laurent Montel [Wed, 17 Jan 2007 13:03:29 +0000 (13:03 +0000)]
Fix signal/slot

svn path=/trunk/playground/utils/dolphin/; revision=624604

18 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 17 Jan 2007 10:59:03 +0000 (10:59 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/playground/utils/dolphin/; revision=624571

18 years agoMinor performance improvement. As Dominic Battre pointed out correctly, it is not...
Peter Penz [Mon, 15 Jan 2007 18:28:19 +0000 (18:28 +0000)]
Minor performance improvement. As Dominic Battre pointed out correctly, it is not necessary to calculate the value of both numbers, it is enough to compare the weight.

svn path=/trunk/playground/utils/dolphin/; revision=623878

18 years agoThe KMimeTypeResolver instance is owned by the item view and may not be deleted manually.
Peter Penz [Mon, 15 Jan 2007 18:18:09 +0000 (18:18 +0000)]
The KMimeTypeResolver instance is owned by the item view and may not be deleted manually.

svn path=/trunk/playground/utils/dolphin/; revision=623875

18 years agoUse a QTreeView for the representation of the details view (previously a QListView...
Peter Penz [Mon, 15 Jan 2007 06:43:17 +0000 (06:43 +0000)]
Use a QTreeView for the representation of the details view (previously a QListView has been used).

svn path=/trunk/playground/utils/dolphin/; revision=623643

19 years agoFixed issue in method naturalCompare: strings having numbers with the same amount...
Peter Penz [Fri, 12 Jan 2007 21:21:06 +0000 (21:21 +0000)]
Fixed issue in method naturalCompare: strings having numbers with the same amount of digits got the same weight. E. g. naturalCompare("Item 10", "Item 11") returned 0 instead of a value < 0.

svn path=/trunk/playground/utils/dolphin/; revision=622757

19 years agoNatural sorting fix: assure that directories are sorted always before files as Ellen...
Peter Penz [Fri, 12 Jan 2007 20:24:23 +0000 (20:24 +0000)]
Natural sorting fix: assure that directories are sorted always before files as Ellen has recommended. One minor issue is left: when the sort order is descending, the natural sorting result is:
 item 10.jpg
 item 11.jpg
 item 2.jpg
 item 1.jpg
instead of
 item 11.jpg
 item 10.jpg
 item 2.jpg
 item 1.jpg

svn path=/trunk/playground/utils/dolphin/; revision=622751

19 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 11 Jan 2007 13:47:56 +0000 (13:47 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/playground/utils/dolphin/; revision=622304

19 years agoDo a natural sorting of items (thanks to Dominic Battre and Martin Pool for the patch...
Peter Penz [Thu, 11 Jan 2007 06:44:46 +0000 (06:44 +0000)]
Do a natural sorting of items (thanks to Dominic Battre and Martin Pool for the patch!). This means that items like:

 item_10.png
 item_1.png
 item_2.png

are sorted like
 item_1.png
 item_2.png
 item_10.png

TODO: corresponding to Ellen directory items should always be ordered as first items (have to go work now -> weekend task :-))

svn path=/trunk/playground/utils/dolphin/; revision=622241

19 years agoDoesn't need a config.h
David Faure [Wed, 10 Jan 2007 17:31:00 +0000 (17:31 +0000)]
Doesn't need a config.h
Reduce kapplication.h usage to the minimum

svn path=/trunk/playground/utils/dolphin/; revision=622088

19 years agoApplied some patches found by EBN (thanks to Nicolas Lécureuil for the patches!).
Peter Penz [Wed, 10 Jan 2007 00:04:16 +0000 (00:04 +0000)]
Applied some patches found by EBN (thanks to Nicolas Lécureuil for the patches!).

svn path=/trunk/playground/utils/dolphin/; revision=621872

19 years agoPort to new KAction, KActionCollection API.
Kevin Ottens [Tue, 9 Jan 2007 00:45:31 +0000 (00:45 +0000)]
Port to new KAction, KActionCollection API.

svn path=/trunk/playground/utils/dolphin/; revision=621553

19 years agoFixed issue that the view properties have not been used for the home directory when...
Peter Penz [Sun, 7 Jan 2007 21:28:41 +0000 (21:28 +0000)]
Fixed issue that the view properties have not been used for the home directory when starting Dolphin. Also some (very minor) updates have been done regarding the coding guidelines (I'm a nasty nitpicker ;-)).

svn path=/trunk/playground/utils/dolphin/; revision=620962

19 years agoRemember the position and size of the docks by using QMainWindow::saveState() and...
Peter Penz [Sun, 7 Jan 2007 21:10:52 +0000 (21:10 +0000)]
Remember the position and size of the docks by using QMainWindow::saveState() and QMainWindow::restoreState(). I assume that in KDE 4 there will be a generic mechanism to store the position and size of docks like done for toolbars -> this is only a temporary solution to have a usable version of Dolphin in the meantime.

svn path=/trunk/playground/utils/dolphin/; revision=620954

19 years agoAllow that Dolphin can also be used with global view properties. Per default Dolphin...
Peter Penz [Sun, 7 Jan 2007 09:47:05 +0000 (09:47 +0000)]
Allow that Dolphin can also be used with global view properties. Per default Dolphin remembers the view properties for each directory, but from the feedback I've got there is a not ignorable amount of people who prefer having global view properties instead.

svn path=/trunk/playground/utils/dolphin/; revision=620774

19 years agoMinor adjustments for the panels:
Peter Penz [Sat, 6 Jan 2007 21:46:38 +0000 (21:46 +0000)]
Minor adjustments for the panels:
- only let them align on the left and the right side
- summarize the panels inside a sub menu entry

svn path=/trunk/playground/utils/dolphin/; revision=620656

19 years agoReanimated drag & drop support for the icons view.
Peter Penz [Sat, 6 Jan 2007 21:11:04 +0000 (21:11 +0000)]
Reanimated drag & drop support for the icons view.

svn path=/trunk/playground/utils/dolphin/; revision=620649

19 years agoReanimate drag and drop support for the URL navigator.
Peter Penz [Sat, 6 Jan 2007 19:51:48 +0000 (19:51 +0000)]
Reanimate drag and drop support for the URL navigator.

svn path=/trunk/playground/utils/dolphin/; revision=620633

19 years agofixed compile issues resulted by kdelibs cleanup
Peter Penz [Wed, 3 Jan 2007 20:24:55 +0000 (20:24 +0000)]
fixed compile issues resulted by kdelibs cleanup

svn path=/trunk/playground/utils/dolphin/; revision=619596

19 years agoSVN_SILENT make it compile (Dlg->Dialog)
Holger Freyther [Tue, 2 Jan 2007 09:16:36 +0000 (09:16 +0000)]
SVN_SILENT make it compile (Dlg->Dialog)

svn path=/trunk/playground/utils/dolphin/; revision=618826

19 years ago-pedantic
André Wöbbeking [Fri, 29 Dec 2006 14:28:16 +0000 (14:28 +0000)]
-pedantic

svn path=/trunk/playground/utils/dolphin/; revision=617550

19 years agoCompile++
Kevin Ottens [Wed, 27 Dec 2006 11:19:39 +0000 (11:19 +0000)]
Compile++

svn path=/trunk/playground/utils/dolphin/; revision=616917

19 years ago-Use QSortFilterProxyModel for filtering instead of KDirList::setFilterName
Holger Freyther [Sun, 24 Dec 2006 00:03:40 +0000 (00:03 +0000)]
-Use QSortFilterProxyModel for filtering instead of KDirList::setFilterName
-Map DolphinView::Sorting to a column of the KDirModel and sort this column
-Reimplement QAbstractItemModel::sort(int,SortOrder) to keep track of the
 sorted column and order as dolphin uses this in the config dialogs. We will
 now work correctly if a view changes sorting.

svn path=/trunk/playground/utils/dolphin/; revision=616170

19 years agoMake the View operate on the QSortFilterProxyModel
Holger Freyther [Sat, 23 Dec 2006 18:00:25 +0000 (18:00 +0000)]
Make the View operate on the QSortFilterProxyModel

Fix the crashes by using mapToSource and mapSelectionToSource
to map the QModelIndex

svn path=/trunk/playground/utils/dolphin/; revision=616118

19 years agoFix the filterbar
Holger Freyther [Sat, 23 Dec 2006 17:23:01 +0000 (17:23 +0000)]
Fix the filterbar

svn path=/trunk/playground/utils/dolphin/; revision=616113

19 years agoThe answer is either clear() or filterChanged(). Anyone knows this better?
Holger Freyther [Sat, 23 Dec 2006 12:52:53 +0000 (12:52 +0000)]
The answer is either clear() or filterChanged(). Anyone knows this better?

I have decided to use clar as this is the most conservative choiche I could
make. Actually I would love to call QSortFilterProxyModelPrivate::sort as
the mapping does not change, as we do not filter rows ATM...

svn path=/trunk/playground/utils/dolphin/; revision=615959

19 years ago- Performance optimization in DolphinView::loadDirectory() (don't store the view...
Peter Penz [Wed, 20 Dec 2006 20:50:32 +0000 (20:50 +0000)]
- Performance optimization in DolphinView::loadDirectory() (don't store the view properties for each property individually)
- Get rid of methods which are not used anymore due to moving to KDirModel.
- Respect GeneralSettings::globalViewProps() setting when storing view properties.

svn path=/trunk/playground/utils/dolphin/; revision=615255

19 years agoLet the user chose whether view properties should be remembered for each directory...
Peter Penz [Wed, 20 Dec 2006 19:10:39 +0000 (19:10 +0000)]
Let the user chose whether view properties should be remembered for each directory or whether they should be valid globally. Per default the view properties are remembered for each directory. For testing purposes the MIME type information is shown per default in the icons mode (thanks to Fredrik for the cool implementation in KFileItemDelegate!).

svn path=/trunk/playground/utils/dolphin/; revision=615232

19 years agobuild
Aaron J. Seigo [Tue, 19 Dec 2006 02:56:16 +0000 (02:56 +0000)]
build

svn path=/trunk/playground/utils/dolphin/; revision=614828