diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2019-06-14 14:32:39 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2019-06-14 14:32:39 +0900 |
commit | 984b02fc0ea25d86cca5c1c837b8ac7648add20e (patch) | |
tree | fc6575806c44420fc7503cc8e3214ac170a8e085 /launcher/src/applicationmodel.h | |
parent | 8d4b3274086f658d7cd2bfa344491bfeb66b1a1e (diff) |
add app list
Diffstat (limited to 'launcher/src/applicationmodel.h')
-rw-r--r-- | launcher/src/applicationmodel.h | 7 |
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; }; |