summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2011-12-15 12:37:37 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-15 03:41:28 +0100
commit0befb98d0d932b82c65f6556f267c15a60af2f92 (patch)
treec5a2947cc339c0f54eb82914382390b5369acccd
parent7faad646eb9bdef20de4dd847e4ec048a5eed828 (diff)
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>
-rw-r--r--tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp b/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp
index 2e438fd5..e78aa478 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);