Add icon re-ordering support by hold and move
[apps/homescreen.git] / homescreen / src / applicationmodel.h
index bffc4c9..2414b7e 100644 (file)
@@ -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;