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 180c379..1ee351d 100644
--- a/app/taskmanager.h
+++ b/app/taskmanager.h
@@ -30,6 +30,7 @@ signals:
void removeProcess(int tid_);
void showProcessInfo(const QString info_);
void updateLoadAverage(double value_);
+ void updateNetworkStats(unsigned int in_, unsigned int out_);
private slots:
void query();
@@ -41,11 +42,13 @@ private slots:
private:
MessageEngine *m_loop;
std::vector<ProcInfo> m_procinfos;
+ unsigned int inOctets, outOctets;
void ProcessResponse(Message *message);
void ProcessResponseTasklist(QJsonArray& processes);
void ProcessResponseExtraInfo(QJsonObject& info);
void ProcessResponseLoadAvg(QJsonObject& loadInfo);
+ void ProcessResponseNetStat(QJsonObject& netstat);
};
#endif // TASKMANAGER_H