summaryrefslogtreecommitdiffstats
path: root/src/sensors/make_sensor.pl
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/make_sensor.pl
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/make_sensor.pl')
-rwxr-xr-xsrc/sensors/make_sensor.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sensors/make_sensor.pl b/src/sensors/make_sensor.pl
index 9a6ea401..00822871 100755
--- a/src/sensors/make_sensor.pl
+++ b/src/sensors/make_sensor.pl
@@ -128,7 +128,7 @@ QT_BEGIN_NAMESPACE
class '.$reading_private.';
-class Q_SENSORS_EXPORT '.$reading.' : public QSensorReading
+class Q_SENSORS_EXPORT_TEMP '.$reading.' : public QSensorReading
{
Q_OBJECT
Q_PROPERTY(qreal myprop READ myprop)
@@ -138,7 +138,7 @@ public:
void setMyprop(qreal myprop);
};
-class Q_SENSORS_EXPORT '.$filter.' : public QSensorFilter
+class Q_SENSORS_EXPORT_TEMP '.$filter.' : public QSensorFilter
{
public:
virtual bool filter('.$reading.' *reading) = 0;
@@ -146,7 +146,7 @@ private:
bool filter(QSensorReading *reading) { return filter(static_cast<'.$reading.'*>(reading)); }
};
-class Q_SENSORS_EXPORT '.$sensor.' : public QSensor
+class Q_SENSORS_EXPORT_TEMP '.$sensor.' : public QSensor
{
Q_OBJECT
public: