summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>2013-04-09 16:00:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-11 08:59:38 +0200
commitf502a6d1c4feccb986d1fccfd17c773d1a079227 (patch)
treea22cf852c43f35cd105f885f9d69f101f06fae4f /src
parentaf36c9d7e061b84e82172742afbf3dd0f740fffd (diff)
downloadqtsensors-f502a6d1c4feccb986d1fccfd17c773d1a079227.tar.gz
Add missing Q_REVISION(1) to new 5.1 signals
Change-Id: Ic98e6b4d9f4ac5c676d2183799a5a838c5085a70 Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Diffstat (limited to 'src')
-rw-r--r--src/imports/sensors/qmlaccelerometer.h2
-rw-r--r--src/imports/sensors/qmlsensor.h14
2 files changed, 8 insertions, 8 deletions
diff --git a/src/imports/sensors/qmlaccelerometer.h b/src/imports/sensors/qmlaccelerometer.h
index 7a9a4cd..3c126d0 100644
--- a/src/imports/sensors/qmlaccelerometer.h
+++ b/src/imports/sensors/qmlaccelerometer.h
@@ -69,7 +69,7 @@ public:
void setAccelerationMode(AccelerationMode accelerationMode);
signals:
- void accelerationModeChanged(AccelerationMode accelerationMode);
+ Q_REVISION(1) void accelerationModeChanged(AccelerationMode accelerationMode);
private:
QSensor *sensor() const Q_DECL_OVERRIDE;
diff --git a/src/imports/sensors/qmlsensor.h b/src/imports/sensors/qmlsensor.h
index f72234a..64568d8 100644
--- a/src/imports/sensors/qmlsensor.h
+++ b/src/imports/sensors/qmlsensor.h
@@ -153,13 +153,13 @@ Q_SIGNALS:
void descriptionChanged();
void errorChanged();
void alwaysOnChanged();
- void skipDuplicatesChanged(bool skipDuplicates);
- void axesOrientationModeChanged(AxesOrientationMode axesOrientationMode);
- void currentOrientationChanged(int currentOrientation);
- void userOrientationChanged(int userOrientation);
- void maxBufferSizeChanged(int maxBufferSize);
- void efficientBufferSizeChanged(int efficientBufferSize);
- void bufferSizeChanged(int bufferSize);
+ Q_REVISION(1) void skipDuplicatesChanged(bool skipDuplicates);
+ Q_REVISION(1) void axesOrientationModeChanged(AxesOrientationMode axesOrientationMode);
+ Q_REVISION(1) void currentOrientationChanged(int currentOrientation);
+ Q_REVISION(1) void userOrientationChanged(int userOrientation);
+ Q_REVISION(1) void maxBufferSizeChanged(int maxBufferSize);
+ Q_REVISION(1) void efficientBufferSizeChanged(int efficientBufferSize);
+ Q_REVISION(1) void bufferSizeChanged(int bufferSize);
protected:
virtual QSensor *sensor() const = 0;