summaryrefslogtreecommitdiffstats
path: root/src/sensors/qsensor.h
diff options
context:
space:
mode:
authoralex <alex.blasche@nokia.com>2011-10-17 15:16:31 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-17 08:46:14 +0200
commita3ee9bc23ead3ca88cb6787ca7add085d1d8ffcc (patch)
treebf58be33ffe5f7b18c4c20b0fec088913f7460a3 /src/sensors/qsensor.h
parent4cb9338c54fc68477c6597df2d36616951a3930d (diff)
First step of removal of Q_SENSORS_EXPXORT macro from qglobal.h
Each module handles its own exports. We need to change the QtSensors version, remove the qglobal.h define and then add it back under the old name in QtSensors. Change-Id: I4183b7fcfc46469745c11c373d3122f02d64ccc7 Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/sensors/qsensor.h')
-rw-r--r--src/sensors/qsensor.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sensors/qsensor.h b/src/sensors/qsensor.h
index 62b5f454..aa97c619 100644
--- a/src/sensors/qsensor.h
+++ b/src/sensors/qsensor.h
@@ -42,6 +42,8 @@
#ifndef QSENSOR_H
#define QSENSOR_H
+#include <QtSensors/qsensorsglobal.h>
+
#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QMetaType>
@@ -69,7 +71,7 @@ struct qoutputrange
};
typedef QList<qoutputrange> qoutputrangelist;
-class Q_SENSORS_EXPORT QSensor : public QObject
+class Q_SENSORS_EXPORT_TEMP QSensor : public QObject
{
friend class QSensorBackend;
@@ -158,7 +160,7 @@ private:
Q_DISABLE_COPY(QSensor)
};
-class Q_SENSORS_EXPORT QSensorFilter
+class Q_SENSORS_EXPORT_TEMP QSensorFilter
{
friend class QSensor;
public:
@@ -170,7 +172,7 @@ protected:
QSensor *m_sensor;
};
-class Q_SENSORS_EXPORT QSensorReading : public QObject
+class Q_SENSORS_EXPORT_TEMP QSensorReading : public QObject
{
friend class QSensorBackend;