summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/karamba.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-09-30 23:58:12 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-10-02 21:36:51 +0300
commit8bd95de8fd69a486948c46dfd436a38383876b04 (patch)
tree26d78a1bfd0ca422becdb1f57b0f38c0bc6c77e9 /superkaramba/src/karamba.h
parent2c4a3e7f855038e1e66022aad41462793ac79215 (diff)
downloadtdeutils-r14.1.3.tar.gz
tdeutils-r14.1.3.zip
Superkaramba: add GPU load sensorr14.1.3
The sensor has a required `driver` parameter and an optional `gpu` parameter. - The former specifies the backend to use to query the system about GPU load. - The latter specifies the id of the GPU to check. If left out, the backend default will be used. For now it only supports NVidia GPUs via the `nvidia` driver, but it can be extended. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 480f195dde7ef1fd9fd81ce0ea18924d81a4eda9)
Diffstat (limited to 'superkaramba/src/karamba.h')
-rw-r--r--superkaramba/src/karamba.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/superkaramba/src/karamba.h b/superkaramba/src/karamba.h
index 57843d7..77f8f5c 100644
--- a/superkaramba/src/karamba.h
+++ b/superkaramba/src/karamba.h
@@ -82,6 +82,7 @@
#include "uptimesensor.h"
#include "memsensor.h"
#include "cpusensor.h"
+#include "gpusensor.h"
#include "networksensor.h"
#include "xmmssensor.h"
#include "noatunsensor.h"
@@ -112,7 +113,7 @@ class LineParser;
class karamba : public TQWidget
{
TQ_OBJECT
-
+
public:
karamba(TQString fn, TQString name, bool reloading = false,
@@ -327,7 +328,7 @@ private slots:
class DesktopChangeSlot : public TQObject
{
TQ_OBJECT
-
+
public:
DesktopChangeSlot(TQObject *parent, int desktop_id);
@@ -348,7 +349,7 @@ class DesktopChangeSlot : public TQObject
class SignalBridge : public TQObject
{
TQ_OBJECT
-
+
public:
SignalBridge(TQObject* parent, TQString, TDEActionCollection*);