┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmodel.cpp
AgeCommit message (Collapse)Author
2009-10-10Start of refactoring so that the metadata widget can be moved outside of ↵Peter Penz
Dolphin for other applications. The temporary removed code will be integrated again within the next 10 days (-> currently no meta data is shown and cannot be updated). svn path=/trunk/KDE/kdebase/apps/; revision=1033585
2009-08-14- Fixed issue that the items inside the "Other" category are sorted in a ↵Peter Penz
wrong manner. - Removed redundant code. BUG: 173027 svn path=/trunk/KDE/kdebase/apps/; revision=1011495
2009-08-13* Use the term "version control" instead of "revision control" to be ↵Peter Penz
consistent with the naming in kdevplatform. * Renamed VersionControlPlugin to KVersionControlPlugin so that the interface can be moved out of Dolphin. svn path=/trunk/KDE/kdebase/apps/; revision=1011058
2009-07-30provide texts for each revision statePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1004795
2009-07-27Improved Subversion test plugin to allow committing, updating, diffing, ↵Peter Penz
adding and removing of files. As soon as the test plugin gets moved to kdesdk, the code should be improved to use the libsvn interface. svn path=/trunk/KDE/kdebase/apps/; revision=1002839
2009-07-19- interface cleanupsPeter Penz
- the subversion test plugin is at least capable of indicating the revision state for files svn path=/trunk/KDE/kdebase/apps/; revision=999489
2009-07-17remove revision-information entries when items got deleted in the modelPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=998498
2009-07-12Enable Dolphin to show the revision states of files that are under revision ↵Peter Penz
control systems like SVN, Git, CVS, ... The current code is an early draft and it is planned that all plugins (SVN, Git, CVS, ...) are maintained outside Dolphin. If the API is stable enough, a discussion will be done at [email protected] regarding the location of the plugins (the current implementation of SubversionPlugin is only temporary located in Dolphin for testing purposes). RevisionControlObserver is implemented in a way that no recognizable slowdown is given for directories that are not under revision control. CCBUG: 192158 svn path=/trunk/KDE/kdebase/apps/; revision=995351
2009-07-10Fix regression introduced by an obviously untested "krazy fix" (r973284). ↵David Faure
Setting a QVariant to QString() is not the same as calling clear on the QVariant (which makes the variant invalid). (BUG 194502) svn path=/trunk/KDE/kdebase/apps/; revision=994217
2009-07-01Pass the "Yesterday (%B, %Y)" string to modifiedTime.toString(), suchFrank Reininghaus
that %B and %Y actually get replaced by month and year. Today seemed to be a good day to reproduce and fix this :-) BUG: 179262 svn path=/trunk/KDE/kdebase/apps/; revision=990131
2009-06-20SVN_SILENT: minor coding style fixesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=984194
2009-05-26fixed issue reported by krazyPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=973284
2009-03-26Fixed incorrect grouping of dates. Thanks to Jacopo De Simoi for the patch!Peter Penz
BUG: 187958 svn path=/trunk/KDE/kdebase/apps/; revision=945024
2008-12-30fixed crash when enabling grouping by date and having dates likePeter Penz
30 December 2008 (is "Week 1" (of 2009 , but for 2008 too)) 28 December 2008 (is "Week 52" (of 2008) ) Thanks to Darío Andrés for the patch! BUG: 179019 svn path=/trunk/KDE/kdebase/apps/; revision=903432
2008-12-22revert SVN commit 899245: The patch does not work as expected.Peter Penz
CCMAIL: [email protected] CCBUG: 173027 svn path=/trunk/KDE/kdebase/apps/; revision=900071
2008-12-22minor coding style fixes:Peter Penz
* let the global variable 'others' be a static member 'm_others' * constify svn path=/trunk/KDE/kdebase/apps/; revision=900070
2008-12-20Assure that the items within the "Others" group are sorted too, when sorting ↵Peter Penz
by name and using categorization. @Rafael: Could you please have a look whether this patch is OK? It fixes bug 173027 but it is unclear for me why the deleted lines had been added at all. Thanks :-) CCMAIL: [email protected] BUG: 173027 svn path=/trunk/KDE/kdebase/apps/; revision=899245
2008-06-01Fix problem when descending order on "Today" and "Thursday" for example. Now ↵Rafael Fernández López
we also have week independant maths, so we get a Yesterday tag even if yesterday was 31st and today is 1st. Peter, the order should be correct now, please recheck (I added a '-', so the order now is the inverse that the one shown on the kfm-devel thread). CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=815341
2008-03-28warnings-- / fix for fileSize > 2GBChristian Ehrlicher
svn path=/trunk/KDE/kdebase/apps/; revision=791169
2008-03-18Fix Krazy i18n issues.Chusslove Illich
svn path=/trunk/KDE/kdebase/apps/; revision=787308
2008-02-26When a grouping per date is done, per default the granularity is one month. ↵Peter Penz
This patch increases the granularity for the last month: - "Weeks" are used for the last 4 weeks excluding the current week. - "Days" are used for the current week. Additionally some cleanups of the code has been done, as the method DolphinModel::data() was too long already. No backport will be done as new strings are introduced. The patch has been reviewed by Rafael Fernández López. BUG: 158267 svn path=/trunk/KDE/kdebase/apps/; revision=779438
2008-02-23Much better with the last report details :)Rafael Fernández López
CCBUG: 158266 svn path=/trunk/KDE/kdebase/apps/; revision=778366
2008-01-21Use non-deprecated method, avoids conversion KDateTime->time_t->KDateTime.David Faure
svn path=/trunk/KDE/kdebase/apps/; revision=764446
2007-12-10Use Xesam ontology instead of NIE. Since Strigi uses Xesam and we have no ↵Sebastian Trueg
mapping yet this does make much more sense. svn path=/trunk/KDE/kdebase/apps/; revision=746846
2007-12-07Now that we changed some needed stuff at naturalCompare() method, we can set ↵Rafael Fernández López
the replacementchar to put "Others" category on the last place. Now, we can actually call it "Others" since it is placed the last one, and it is not necessary to call it "Uncategorized" because it was placed the first one before. svn path=/trunk/KDE/kdebase/apps/; revision=746061
2007-12-06Fix i18nRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=745354
2007-12-05For now, let the "Others" group to be sorted as the first oneRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=745157
2007-12-04SVN_SILENT coding style fixesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=744903
2007-12-04fix indentationRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=744669
2007-12-04Newer items go beforeRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=744668
2007-12-04Small compile fixJohn Tapsell
svn path=/trunk/KDE/kdebase/apps/; revision=744667
2007-12-04Remove bad lineJohn Tapsell
svn path=/trunk/KDE/kdebase/apps/; revision=744666
2007-12-04Make checking the name a bit more effecientJohn Tapsell
svn path=/trunk/KDE/kdebase/apps/; revision=744665
2007-12-04save time... no need to translate to upper the whole string if we only are ↵Rafael Fernández López
interested in a single character svn path=/trunk/KDE/kdebase/apps/; revision=744662
2007-12-04fixing++Rafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=744658
2007-12-04Makes sense that when sorting by permissions what we want to see first is ↵Rafael Fernández López
the most permissive groups, and the most restrictive groups at the end svn path=/trunk/KDE/kdebase/apps/; revision=744654
2007-12-04Sortings restored. Everything is working fine :)Rafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=744653
2007-12-03More changes will follow to fix logic. This makes the stuff compile.Rafael Fernández López
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=744626
2007-10-03Update my email addressRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=720339
2007-09-27use blitz instead of deprecated kdefx, remove kdefx headers where unusedMatthew Woehlke
svn path=/trunk/KDE/kdebase/apps/; revision=717537
2007-09-23Show more useful information when sorting by date (in all folders, not Rafael Fernández López
only on those with pictures). With the current architecture it is impossible to create different rules depending on the items that each category contains. All categories are similar to the rest. That also helps to quickly find what you are looking for. BUG: 149655 svn path=/trunk/KDE/kdebase/apps/; revision=715740
2007-09-23Oops, Qt already had a class that does this in a cross-platform way :)Rafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=715737
2007-09-19More clear categories strings when sorting by permissionsRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=714267
2007-09-17Create the new architecture for KCategorizedView. Now DolphinModel is ↵Rafael Fernández López
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=713319