Commit graph

643 commits

Author SHA1 Message Date
André Wöbbeking
1304e17f34 also compile without nepomuk
svn path=/trunk/KDE/kdebase/apps/; revision=678876
2007-06-22 13:16:39 +00:00
Rafael Fernández López
3b0b987093 More human category when items haven't been rated yet
svn path=/trunk/KDE/kdebase/apps/; revision=678853
2007-06-22 12:16:44 +00:00
Peter Penz
4062c4cf2d Allow to sort by rating, which can be quite useful in combination with the "Show in Groups" feature. Although still slow, it basically works. All the code is based on Rafael Fernández López patch available at http://media.ereslibre.es/2007/06/dolphin-21062007.diff.
svn path=/trunk/KDE/kdebase/apps/; revision=678801
2007-06-22 10:18:46 +00:00
Max Blazejak
aed0e93195 Enable the Code for additional metainfo again, doesn't hang on zip-files anymore
svn path=/trunk/KDE/kdebase/apps/; revision=678661
2007-06-21 22:27:16 +00:00
Rafael Fernández López
48ff18ebba Fix memory problem, thanks to Holger Freyther for pointing out
CCMAIL: zecke@selfish.org
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=678434
2007-06-21 11:44:00 +00:00
Rafael Fernández López
689a80543f Fix the "I can't/don't want to" finish the drag event (what is called
drop :P), and the selection rect is shown.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=678293
2007-06-21 02:18:54 +00:00
Peter Penz
c01979aff1 it's not needed anymore to remember the URL per column
svn path=/trunk/KDE/kdebase/apps/; revision=678184
2007-06-20 21:04:36 +00:00
Peter Penz
15f50df9f6 don't pass a custom viewport URL to the context menu anymore, as this cannot work together with the menu actions
svn path=/trunk/KDE/kdebase/apps/; revision=678175
2007-06-20 20:48:36 +00:00
Peter Penz
cd780167c3 minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=678172
2007-06-20 20:44:18 +00:00
Peter Penz
78da52a9ad assure that the context menu for column view is applied to the correct URL (depends from the current column)
svn path=/trunk/KDE/kdebase/apps/; revision=678166
2007-06-20 20:21:48 +00:00
Peter Penz
eadb9a0f45 don't forget applying the view properties when refreshing the view
svn path=/trunk/KDE/kdebase/apps/; revision=678067
2007-06-20 15:59:32 +00:00
Peter Penz
9f81672476 split view on startup if it is defined by the settings
svn path=/trunk/KDE/kdebase/apps/; revision=678063
2007-06-20 15:46:57 +00:00
Dirk Mueller
98719c18ba at least return something
svn path=/trunk/KDE/kdebase/apps/; revision=677932
2007-06-20 07:50:06 +00:00
Peter Penz
318bdfa27f * coding style update to match with http://techbase.kde.org/Policies/Kdelibs_Coding_Style
* minor speed improvements by moving QString, QVariant, KDateTime, ... declarations inside inner scopes; further speed improvements should be possible, but lets do it step by step...

svn path=/trunk/KDE/kdebase/apps/; revision=677719
2007-06-19 19:28:08 +00:00
Rafael Fernández López
7cd33328af EBN fixes
svn path=/trunk/KDE/kdebase/apps/; revision=677715
2007-06-19 19:17:32 +00:00
Peter Penz
a0ed7ae53d A cleanup in KDiskFreeSpace has been done -> adjust signal/slot to the new (and nicer) method signature
svn path=/trunk/KDE/kdebase/apps/; revision=677710
2007-06-19 19:08:49 +00:00
Rafael Fernández López
051f0b975d Fix the problem "the scrollbar remains if it was shown on the
categorized view, and now it has been disabled (the categorized 
view)"

svn path=/trunk/KDE/kdebase/apps/; revision=677706
2007-06-19 18:59:13 +00:00
Peter Penz
eaa0ff560b when requesting a context menu provide a URL for the viewport, because in the column view this URL can differ from the navigator URL
svn path=/trunk/KDE/kdebase/apps/; revision=677704
2007-06-19 18:58:30 +00:00
Rafael Fernández López
f9f4dbf005 Fix the scrollbar issue. We can live with the setSingleStep nasty workaround for now. Anyway we can adapt it to fit better in the context.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=677702
2007-06-19 18:52:55 +00:00
Rafael Fernández López
41d6071059 Fix the problem of the crash related to commit 677667, taking in count we are in IconMode, not in a mode
different than ListMode. Fix some comments.

svn path=/trunk/KDE/kdebase/apps/; revision=677668
2007-06-19 17:26:09 +00:00
Peter Penz
85e0112c3d provide temporary (?) fix for a crash that occurs if the categorization is turned off and a switch is done from another view mode
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=677667
2007-06-19 17:23:14 +00:00
Rafael Fernández López
740b3b0ca4 Fix for not C99 compliant systems when trying to use trunc() function. I have defined this function on kdefakes library, so we have it KDE wide.
BUG: 146963

svn path=/trunk/KDE/kdebase/apps/; revision=677663
2007-06-19 17:09:27 +00:00
Peter Penz
2e6dc566dd don't use deprecated KGlobalSettings::xxxColor() methods anymore
svn path=/trunk/KDE/kdebase/apps/; revision=677660
2007-06-19 16:49:31 +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
d79282c14c * move the "[ ] Show in Groups" checkbox from "View->Sort By" directly to "View"
* same for the viewproperties dialog: don't hide "Show in Groups" under "Sorting"

svn path=/trunk/KDE/kdebase/apps/; revision=677641
2007-06-19 16:00:21 +00:00
Rafael Fernández López
15d26d141e Update the view when the sorting role changes.
svn path=/trunk/KDE/kdebase/apps/; revision=677356
2007-06-19 00:24:37 +00:00
Rafael Fernández López
b6aecc5b0f Simplify code. Oh, now that switch statement has been invented I can use it :)
svn path=/trunk/KDE/kdebase/apps/; revision=677336
2007-06-18 22:33:57 +00:00
Peter Penz
342749d9ac a little bit internationalization cannot hurt ;-) (thanks to Andrius Štikonas)
svn path=/trunk/KDE/kdebase/apps/; revision=677250
2007-06-18 19:06:27 +00:00
Rafael Fernández López
61583adb41 Dolphin has to react as Konqueror on KDE3. If we find files containing symbols, we wait for the first letter to categorize it. "((a.txt" goes on category "A", ")2.txt"
goes on category "Others".

svn path=/trunk/KDE/kdebase/apps/; revision=677225
2007-06-18 17:58:25 +00:00
Christian Ehrlicher
e92bbbe27c SVN_SILENT: typo, small msvc warning--
svn path=/trunk/KDE/kdebase/apps/; revision=677179
2007-06-18 16:21:26 +00:00
Rafael Fernández López
ec5c086bc8 Let Dolphin act as Konqueror on KDE3 does when sorting. Folders have more priority than hidden items. So now items are shown: 1. Hidden Folders 2. Visible Folders 3.
Hidden Files 4. Visible Files

CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=677173
2007-06-18 16:11:11 +00:00
Rafael Fernández López
54f6ab585b Speed improvements in some places. All sortings and categories implemented.
svn path=/trunk/KDE/kdebase/apps/; revision=677156
2007-06-18 14:58:30 +00:00
Rafael Fernández López
ab8abd14a4 Fix small problem when building categories and sorting by name. Better readable code.
svn path=/trunk/KDE/kdebase/apps/; revision=677087
2007-06-18 12:44:00 +00:00
Rafael Fernández López
41a8be4de4 Sort by date finished. Add speed improvement when comparing strings. enum adaptations.
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=677083
2007-06-18 12:36:54 +00:00
Rafael Fernández López
55a876af21 First show folders when sorting by type, then sort categories alphabetically. Yeah !
svn path=/trunk/KDE/kdebase/apps/; revision=677030
2007-06-18 10:39:02 +00:00
Rafael Fernández López
20aedc5329 Fix small problems with enums. Sort by type works like a charm :)
svn path=/trunk/KDE/kdebase/apps/; revision=677029
2007-06-18 10:33:28 +00:00
Rafael Fernández López
b2117596b6 Avoid category building problems by removing the natural comparation
from here. Is not needed here. Is needed when sorting items inside 
categories.

svn path=/trunk/KDE/kdebase/apps/; revision=677022
2007-06-18 09:37:41 +00:00
Rafael Fernández López
4bf98b3386 Let Descending order work
svn path=/trunk/KDE/kdebase/apps/; revision=677018
2007-06-18 09:27:12 +00:00
Andreas Pakulat
d098f9641a Port to new kde4_add_*test* macros
svn path=/trunk/KDE/kdebase/apps/; revision=676863
2007-06-17 21:14:54 +00:00
Christian Ehrlicher
462c8c65b9 fix signal foundMountPoint()
svn path=/trunk/KDE/kdebase/apps/; revision=676855
2007-06-17 21:12:39 +00:00
Rafael Fernández López
4d91d82f11 If our folders or files have the same number of items or size, sort them
CORRECTLY by their names :)

svn path=/trunk/KDE/kdebase/apps/; revision=676792
2007-06-17 18:23:53 +00:00
Peter Penz
7b6f191dc3 prevent deselection of current folder in inactive columns
svn path=/trunk/KDE/kdebase/apps/; revision=676787
2007-06-17 17:59:32 +00:00
Peter Penz
df8f2e3646 internationalization fixes (patch submitted by Andrius Štikonas)
svn path=/trunk/KDE/kdebase/apps/; revision=676768
2007-06-17 16:56:37 +00:00
Peter Penz
fc38ceacfb don't hardcode the spacing...
svn path=/trunk/KDE/kdebase/apps/; revision=676762
2007-06-17 16:42:04 +00:00
Rafael Fernández López
1d75a1c74a Ideal behavior when showing hidden files. Hooah !
svn path=/trunk/KDE/kdebase/apps/; revision=676752
2007-06-17 16:25:44 +00:00
Rafael Fernández López
11f0a8c503 New and powerful KListView. Still pending class renaming. There are two
methods that I need to think about it, and boost. Small issues like 
reloading all data when sorting role suddenly changes. In general terms 
it will work nice when you sort by name or size. We have to work further 
when we sort by other roles. Nice times.

svn path=/trunk/KDE/kdebase/apps/; revision=676732
2007-06-17 15:32:31 +00:00
Peter Penz
1c0341958d Improve the column view by indicating active/inactive columns visually.
svn path=/trunk/KDE/kdebase/apps/; revision=676721
2007-06-17 15:04:01 +00:00
Script Kiddy
732fc30bb5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=676551
2007-06-17 05:52:33 +00:00
Laurent Montel
0a99a0aa78 Add missing encoding key
svn path=/trunk/KDE/kdebase/apps/; revision=676309
2007-06-16 16:11:29 +00:00
Laurent Montel
a2ac0024bf Fix typo
svn path=/trunk/KDE/kdebase/apps/; revision=676307
2007-06-16 16:00:53 +00:00