Commit 17bb9a8e authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files
parent 05c120aa
......@@ -39,9 +39,6 @@ class PagerModel : public QAbstractListModel, public QQmlParserStatus
Q_INTERFACES(QQmlParserStatus)
Q_ENUMS(PagerType)
Q_ENUMS(AdditionalRoles)
Q_PROPERTY(int count READ rowCount NOTIFY countChanged)
Q_PROPERTY(PagerType pagerType READ pagerType WRITE setPagerType NOTIFY pagerTypeChanged)
Q_PROPERTY(bool enabled READ enabled WRITE setEnabled NOTIFY enabledChanged)
......@@ -58,10 +55,12 @@ public:
VirtualDesktops = 0,
Activities,
};
Q_ENUM(PagerType)
enum AdditionalRoles {
TasksModel = Qt::UserRole + 1,
};
Q_ENUM(AdditionalRoles)
explicit PagerModel(QObject *parent = nullptr);
~PagerModel() override;
......
......@@ -28,12 +28,11 @@ class WindowModel : public TaskManager::TaskFilterProxyModel
{
Q_OBJECT
Q_ENUMS(WindowModelRoles)
public:
enum WindowModelRoles {
StackingOrder = Qt::UserRole + 1,
};
Q_ENUM(WindowModelRoles)
explicit WindowModel(PagerModel *parent);
~WindowModel() override;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment