From 0befb98d0d932b82c65f6556f267c15a60af2f92 Mon Sep 17 00:00:00 2001 From: Lincoln Ramsay Date: Thu, 15 Dec 2011 12:37:37 +1000 Subject: Normalize SIGNAL/SLOT macros. Change-Id: Ic46576ab8a9f28258020ed3afe12b377036c6797 Sanity-Review: Qt Sanity Bot Reviewed-by: Lincoln Ramsay --- tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp | 6 +++--- 1 file 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); -- cgit v1.2.3