Port from SortFilterProxyModel to KSortFilterProxyModel

This commit is contained in:
Tobias Fella
2020-11-01 23:07:05 +01:00
committed by Carl Schwan
parent 5de778ea82
commit 5993c1f683
5 changed files with 20 additions and 54 deletions

View File

@@ -37,6 +37,7 @@ class MessageEventModel : public QAbstractListModel {
// For debugging
EventResolvedTypeRole,
};
Q_ENUM(EventRoles)
enum BubbleShapes {
NoShape = 0,

View File

@@ -44,6 +44,7 @@ class RoomListModel : public QAbstractListModel {
JoinStateRole,
CurrentRoomRole,
};
Q_ENUM(EventRoles)
RoomListModel(QObject* parent = nullptr);
virtual ~RoomListModel() override;