summaryrefslogtreecommitdiffstats
path: root/app/taskmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/taskmanager.h')
-rw-r--r--app/taskmanager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/taskmanager.h b/app/taskmanager.h
index 08d0027..da4f725 100644
--- a/app/taskmanager.h
+++ b/app/taskmanager.h
@@ -18,6 +18,7 @@ public:
explicit TaskManager(QObject* parent = nullptr);
Q_INVOKABLE void open(const QUrl& url);
+ Q_INVOKABLE void kill(int tid);
QTimer *timer;
signals:
@@ -26,7 +27,8 @@ signals:
void removeProcess(int tid_);
private slots:
- void callService();
+ void query();
+ void callService(const QString& ccommand, QJsonValue value);
void onSocketTextReceived(QString msg);
private: