summaryrefslogtreecommitdiffstats
path: root/app/taskmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/taskmanager.h')
-rw-r--r--app/taskmanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/taskmanager.h b/app/taskmanager.h
index a874c22..0bd53d5 100644
--- a/app/taskmanager.h
+++ b/app/taskmanager.h
@@ -20,12 +20,14 @@ public:
Q_INVOKABLE void open(const QUrl& url);
Q_INVOKABLE void kill(int tid);
+ Q_INVOKABLE void getExtraInfo(int tid);
QTimer *timer;
signals:
void updateProcess(const QString& cmd_, int tid_, int euid_, double scpu_, double ucpu_, double resident_memory_, const QString& state_);
void addProcess(const QString& cmd_, int tid_, int euid_, double scpu_, double ucpu_, double resident_memory_, const QString& state_);
void removeProcess(int tid_);
+ void showProcessInfo(const QString info_);
private slots:
void query();
@@ -39,6 +41,7 @@ private:
void ProcessResponse(Message *message);
void ProcessResponseTasklist(QJsonArray& processes);
+ void ProcessResponseExtraInfo(QJsonObject& info);
};
#endif // TASKMANAGER_H