┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kcategorizedview.cpp
diff options
context:
space:
mode:
authorNick Shaforostoff <[email protected]>2007-07-20 21:16:50 +0000
committerNick Shaforostoff <[email protected]>2007-07-20 21:16:50 +0000
commit88705d0c34911fee2464bab8a050159f68d84d98 (patch)
tree0ff68bdbdf347ec939c87e61571251e5b1526884 /src/kcategorizedview.cpp
parenta6a454c8587949e6fc954d4cd2f2eddf838c6d47 (diff)
Make use of the newly added KDirSortFilterProxyModel class -- that is, 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
Diffstat (limited to 'src/kcategorizedview.cpp')
-rw-r--r--src/kcategorizedview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kcategorizedview.cpp b/src/kcategorizedview.cpp
index d250c42c9..b42d066b5 100644
--- a/src/kcategorizedview.cpp
+++ b/src/kcategorizedview.cpp
@@ -33,7 +33,7 @@
#include <kstyle.h>
#include "kitemcategorizer.h"
-#include "ksortfilterproxymodel.h"
+#include "dolphinsortfilterproxymodel.h"
class LessThan
{
@@ -44,7 +44,7 @@ public:
CategoryPurpose
};
- inline LessThan(const KSortFilterProxyModel *proxyModel,
+ inline LessThan(const DolphinSortFilterProxyModel *proxyModel,
Purpose purpose)
: proxyModel(proxyModel)
, purpose(purpose)
@@ -67,7 +67,7 @@ public:
}
private:
- const KSortFilterProxyModel *proxyModel;
+ const DolphinSortFilterProxyModel *proxyModel;
const Purpose purpose;
};
@@ -483,7 +483,7 @@ void KCategorizedView::setModel(QAbstractItemModel *model)
QListView::setModel(model);
- d->proxyModel = dynamic_cast<KSortFilterProxyModel*>(model);
+ d->proxyModel = dynamic_cast<DolphinSortFilterProxyModel*>(model);
if (d->proxyModel)
{