aboutsummaryrefslogtreecommitdiff
path: root/deskutils/superkaramba/files/patch-memsensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/superkaramba/files/patch-memsensor.h')
-rw-r--r--deskutils/superkaramba/files/patch-memsensor.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/deskutils/superkaramba/files/patch-memsensor.h b/deskutils/superkaramba/files/patch-memsensor.h
deleted file mode 100644
index 9a5e8fba3e87..000000000000
--- a/deskutils/superkaramba/files/patch-memsensor.h
+++ /dev/null
@@ -1,42 +0,0 @@
---- src/memsensor.h.orig Mon Apr 21 15:17:03 2003
-+++ src/memsensor.h Fri Sep 5 12:08:46 2003
-@@ -12,6 +12,12 @@
- #include "sensor.h"
- #include <qstring.h>
- #include <qregexp.h>
-+#ifdef __FreeBSD__
-+#include <kprocess.h>
-+#include <kprocio.h>
-+#include <kvm.h>
-+#include <osreldate.h>
-+#endif
-
- class MemSensor : public Sensor
- {
-@@ -36,6 +42,26 @@
- private:
- QString meminfo;
- void readValues();
-+#ifdef __FreeBSD__
-+ int pageshift; /* log base 2 of the pagesize */
-+ QString sensorResult;
-+ int swapTotal;
-+ int swapUsed;
-+
-+# if __FreeBSD_version < 500018
-+ KShellProcess ksp;
-+ bool MaxSet;
-+
-+# else
-+ kvm_t *kd;
-+ kvm_swap swapinfo;
-+# endif
-+
-+private slots:
-+ void receivedStdout(KProcess *, char *buffer, int);
-+ void processExited(KProcess *);
-+
-+#endif
- };
-
- #endif // MEMSENSOR_H