summaryrefslogtreecommitdiffstats
path: root/src/lmsensors.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lmsensors.h')
-rw-r--r--src/lmsensors.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lmsensors.h b/src/lmsensors.h
index c6fb1e7..50c20ea 100644
--- a/src/lmsensors.h
+++ b/src/lmsensors.h
@@ -19,7 +19,7 @@
#define LMSENSORS_H
#include <qobject.h>
-#include <qobjcoll.h>
+#include <qobjectlist.h>
#include <kconfig.h>
#include <qstringlist.h>
@@ -65,7 +65,9 @@ private:
void createI8KSensors();
void childEvent ( QChildEvent *e );
+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */
static int existSensor(const sensors_chip_name *chip_name,const char *sensor_name);
+#endif
};
#endif