┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kcategorizedview_p.h
AgeCommit message (Collapse)Author
2007-07-25ok, second try: make use of KDirSortFilterProxyModel. 'Show in Groups' still ↵Nick Shaforostoff
works, haven't tested nepomuk part though. NOTE to dolphin devs: please, consider using 'left.column()' instead of 'sortRole()' in lessThan methods, and 'sorting()' instead of 'sortRole()' in other places. Didn't make switch by myself because it needs nepomk testing (shouldn't be too hard though). svn path=/trunk/KDE/kdebase/apps/; revision=692517
2007-07-23Fix a couple of crashes. First was to avoid problem caused by ↵Robert Knight
KIconLoader::global()->theme() returning 0 (which according to the API, it can do). Second was to fix the 'lastIndex' member of KCategorizedView::Private being out of date when used. According to the comments this member existed as an optimization. However in the only function where it is used, scrollbar updates are also performed. This will be several orders of magnitude more expensive than the 3 constant-time operations on Qt containers (QHash,QList) which the optimization avoided. So I removed the 'lastIndex' member and moved the calculation to where the data is needed. svn path=/trunk/KDE/kdebase/apps/; revision=691574
2007-07-21ok, reverting as requested by Peter Penz.Nick Shaforostoff
svn path=/trunk/KDE/kdebase/apps/; revision=690417
2007-07-20Make use of the newly added KDirSortFilterProxyModel class -- that is, ↵Nick Shaforostoff
essentially, remove all the code being duplicated :) Make manpart use KEncodingDetector capabilities along the way (it was <meta ... charset="System"> before) svn path=/trunk/KDE/kdebase/apps/; revision=690382
2007-07-13Take in count item sizes. As we want all elements of the same size we check ↵Rafael Fernández López
for the biggest one. This way we have visible columns too, what makes everything more ordered, and to the user eye as well. svn path=/trunk/KDE/kdebase/apps/; revision=687387
2007-07-09Rename KListView to KCategorizedView as decidedRafael Fernández López
svn path=/trunk/KDE/kdebase/apps/; revision=685767