X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=launcher%2Fsrc%2Fapplicationmodel.h;h=7ff3503b9ffbbef2626592d8413f2b3860d6778c;hb=b82db6fb95e41f1f590d56d53be43db7708b647a;hp=8398b62cee3c47ee752dd195a67c13cfe2db2295;hpb=cde1f8b32286b263040cd1d9360f4b8835699505;p=apps%2Flauncher.git diff --git a/launcher/src/applicationmodel.h b/launcher/src/applicationmodel.h index 8398b62..7ff3503 100644 --- a/launcher/src/applicationmodel.h +++ b/launcher/src/applicationmodel.h @@ -31,9 +31,12 @@ public: QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; QHash roleNames() const override; + Q_INVOKABLE QString appid(int index) const; Q_INVOKABLE QString id(int index) const; Q_INVOKABLE QString name(int index) const; Q_INVOKABLE void move(int from, int to); + Q_INVOKABLE void initAppList(QString data); + Q_INVOKABLE void updateApplist(QStringList info); private: class Private;