aboutsummaryrefslogtreecommitdiffstats
path: root/launcher/src/applicationmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/src/applicationmodel.h')
-rw-r--r--launcher/src/applicationmodel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/launcher/src/applicationmodel.h b/launcher/src/applicationmodel.h
index 780e575..4238baf 100644
--- a/launcher/src/applicationmodel.h
+++ b/launcher/src/applicationmodel.h
@@ -19,6 +19,11 @@
#define APPLICATIONMODEL_H
#include <QtCore/QAbstractListModel>
+enum {
+ CHANGE,
+ ADD,
+ REMOVE
+};
class ApplicationModel : public QAbstractListModel
{
@@ -37,8 +42,10 @@ public:
Q_INVOKABLE void move(int from, int to);
Q_INVOKABLE void initAppList(QString data);
Q_INVOKABLE void updateApplist(QStringList info);
+ Q_INVOKABLE void recordAppsPosition();
private:
+
class Private;
Private *d;
};