aboutsummaryrefslogtreecommitdiffstats
path: root/HomeScreenNG/statusbarmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'HomeScreenNG/statusbarmodel.h')
-rw-r--r--HomeScreenNG/statusbarmodel.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/HomeScreenNG/statusbarmodel.h b/HomeScreenNG/statusbarmodel.h
new file mode 100644
index 0000000..743e816
--- /dev/null
+++ b/HomeScreenNG/statusbarmodel.h
@@ -0,0 +1,23 @@
+#ifndef STATUSBARMODEL_H
+#define STATUSBARMODEL_H
+
+#include <QtCore/QAbstractListModel>
+
+class StatusBarModel : public QAbstractListModel
+{
+ Q_OBJECT
+public:
+ explicit StatusBarModel(QObject *parent = nullptr);
+ ~StatusBarModel();
+
+ int rowCount(const QModelIndex &parent = QModelIndex()) const override;
+
+ QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
+ QHash<int, QByteArray> roleNames() const override;
+
+private:
+ class Private;
+ Private *d;
+};
+
+#endif // STATUSBARMODEL_H