┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
-rw-r--r--src/kitemviews/kfileitemmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h
index 2a6e710c3..0ac5d9261 100644
--- a/src/kitemviews/kfileitemmodel.h
+++ b/src/kitemviews/kfileitemmodel.h
@@ -293,6 +293,7 @@ protected:
void onGroupedSortingChanged(bool current) override;
void onSortRoleChanged(const QByteArray &current, const QByteArray &previous, bool resortItems = true) override;
void onSortOrderChanged(Qt::SortOrder current, Qt::SortOrder previous) override;
+ void onGroupRoleChanged(const QByteArray &current, const QByteArray &previous, bool resortItems = true) override;
private Q_SLOTS:
/**
@@ -447,6 +448,8 @@ private:
*/
bool lessThan(const ItemData *a, const ItemData *b, const QCollator &collator) const;
+ QString groupKeyForItem(const ItemData *item, const QByteArray &role) const;
+
/**
* Sorts the items between \a begin and \a end using the comparison
* function lessThan().