diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-05-24 08:50:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2017-05-24 08:50:33 +0000 |
commit | fbdd80c3c6fd9b27ce1cbe21941baa8a643050fe (patch) | |
tree | 5e3eafbb1331c52b4606d99fb2ab731b4263dd0f /homescreen/src/applicationmodel.h | |
parent | 79e0139fb399b5af1342783ed6abb61aff6e28dd (diff) | |
parent | e412b716601f96466ca786784facb558e28e92e4 (diff) |
Merge "Add icon re-ordering support by hold and move"dab_3.99.1dab/3.99.13.99.1
Diffstat (limited to 'homescreen/src/applicationmodel.h')
-rw-r--r-- | homescreen/src/applicationmodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/homescreen/src/applicationmodel.h b/homescreen/src/applicationmodel.h index bffc4c9..2414b7e 100644 --- a/homescreen/src/applicationmodel.h +++ b/homescreen/src/applicationmodel.h @@ -30,6 +30,8 @@ public: QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; QHash<int, QByteArray> roleNames() const override; + Q_INVOKABLE QString id(int index) const; + Q_INVOKABLE void move(int from, int to); private: class Private; |