Implement C++ functions for quitting apps and querying running apps

This commit is contained in:
Cameron Gutman committed 2018-07-31 22:21:39 -07:00
1 parent 017362a5d1
commit 3ed5f9edf7
4 files changed
+104

No files matched your search

+6
View File
@@ -25,6 +25,12 @@ public:
Q_INVOKABLE Session* createSessionForApp(int appIndex);
Q_INVOKABLE int getRunningAppIndex();
Q_INVOKABLE QString getRunningAppName();
Q_INVOKABLE void quitRunningApp();
QVariant data(const QModelIndex &index, int role) const override;
int rowCount(const QModelIndex &parent) const override;