diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2011-12-15 12:37:37 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-15 03:41:28 +0100 |
commit | 0befb98d0d932b82c65f6556f267c15a60af2f92 (patch) | |
tree | c5a2947cc339c0f54eb82914382390b5369acccd /tests | |
parent | 7faad646eb9bdef20de4dd847e4ec048a5eed828 (diff) | |
download | qtsensors-0befb98d0d932b82c65f6556f267c15a60af2f92.tar.gz |
Normalize SIGNAL/SLOT macros.
Change-Id: Ic46576ab8a9f28258020ed3afe12b377036c6797
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp b/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp index 2e438fd..e78aa47 100644 --- a/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp +++ b/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp @@ -515,7 +515,7 @@ void tst_Sensors2QMLAPI::testGesture() qDebug() << "QSensor2Gesture gestures:"; qDebug() << gs->availableGestures(); QSignalSpy spy_availableGesturesChanged(gs, SIGNAL(availableGesturesChanged())); - QSignalSpy spy_detected(gs, SIGNAL(detected(const QString))); + QSignalSpy spy_detected(gs, SIGNAL(detected(QString))); QSignalSpy spy_gesturesChanged(gs, SIGNAL(gesturesChanged())); QSignalSpy spy_validGesturesChanged(gs, SIGNAL(validGesturesChanged())); QSignalSpy spy_invalidGesturesChanged(gs, SIGNAL(invalidGesturesChanged())); @@ -562,7 +562,7 @@ void tst_Sensors2QMLAPI::testGesture() gs->setEnabled(false); QSensor2Gesture* gs1 = new QSensor2Gesture(this); - QSignalSpy spy1_detected(gs1, SIGNAL(detected(const QString))); + QSignalSpy spy1_detected(gs1, SIGNAL(detected(QString))); QSignalSpy spy1_gesturesChanged(gs1, SIGNAL(gesturesChanged())); QSignalSpy spy1_validGesturesChanged(gs1, SIGNAL(validGesturesChanged())); QSignalSpy spy1_invalidGesturesChanged(gs1, SIGNAL(invalidGesturesChanged())); @@ -614,7 +614,7 @@ void tst_Sensors2QMLAPI::testGesture() //check sensor shouldn't run until the componentComplete gets called QSensor2Gesture* gs2 = new QSensor2Gesture(this); - QSignalSpy spy2_detected(gs2, SIGNAL(detected(const QString))); + QSignalSpy spy2_detected(gs2, SIGNAL(detected(QString))); gs2->setGestures(QStringList() << "QtSensors.template"); gs2->setEnabled(true); QCOMPARE(spy2_detected.count(), 0); |