┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodel.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-01-15 18:47:00 +0100
committerFrank Reininghaus <[email protected]>2013-01-15 18:47:51 +0100
commit87ac18f0310c12f031dc7c639737473643a6ddc9 (patch)
treeef8bad75778594b05e9f384e789220628e8a3cab /src/kitemviews/kfileitemmodel.h
parentc652807a195d82e85df7b3aafc924a5f83ca590e (diff)
Change the sort and merge functions to a more generic form.
This might make it easier to reuse the parallel sorting code. Moreover, some the upperBound/lowerBound functions have been removed because equivalents are provided by the STL.
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
-rw-r--r--src/kitemviews/kfileitemmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h
index ef9dc98b9..75fbb7075 100644
--- a/src/kitemviews/kfileitemmodel.h
+++ b/src/kitemviews/kfileitemmodel.h
@@ -476,7 +476,8 @@ private:
// and done step after step in slotCompleted().
QSet<KUrl> m_urlsToExpand;
- friend class KFileItemModelSortAlgorithm; // Accesses lessThan() method
+ friend class KFileItemModelLessThan; // Accesses lessThan() method
+ friend class KFileItemModelSortAlgorithm; // Accesses NameRole
friend class KFileItemModelRolesUpdater; // Accesses emitSortProgress() method
friend class KFileItemModelTest; // For unit testing
friend class KFileItemListViewTest; // For unit testing