From 709764190778f50d5b7dbbb8a63d0ce0ebc2259d Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 7 Mar 2013 12:08:48 +0100 Subject: [PATCH] Fix warnings about overloaded virtual functions in tests (CLANG). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I1f4bda77d0520766813201726f53b439b6094a24 Reviewed-by: Jędrzej Nowacki --- tests/auto/qml/qqmlnotifier/tst_qqmlnotifier.cpp | 4 ++-- tests/auto/quick/touchmouse/tst_touchmouse.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/auto/qml/qqmlnotifier/tst_qqmlnotifier.cpp b/tests/auto/qml/qqmlnotifier/tst_qqmlnotifier.cpp index ae37b6a..fa3b190 100644 --- a/tests/auto/qml/qqmlnotifier/tst_qqmlnotifier.cpp +++ b/tests/auto/qml/qqmlnotifier/tst_qqmlnotifier.cpp @@ -161,7 +161,7 @@ public: private slots: void initTestCase() Q_DECL_OVERRIDE; void cleanupTestCase(); - void connectNotify(); + void testConnectNotify(); void removeV4Binding(); void removeV4Binding2(); @@ -215,7 +215,7 @@ void tst_qqmlnotifier::cleanupTestCase() exportedObject = 0; } -void tst_qqmlnotifier::connectNotify() +void tst_qqmlnotifier::testConnectNotify() { createObjects(); diff --git a/tests/auto/quick/touchmouse/tst_touchmouse.cpp b/tests/auto/quick/touchmouse/tst_touchmouse.cpp index d33bf39..15a4f0c 100644 --- a/tests/auto/quick/touchmouse/tst_touchmouse.cpp +++ b/tests/auto/quick/touchmouse/tst_touchmouse.cpp @@ -148,7 +148,7 @@ private slots: void initTestCase(); void simpleTouchEvent(); - void eventFilter(); + void testEventFilter(); void mouse(); void touchOverMouse(); void mouseOverTouch(); @@ -303,7 +303,7 @@ void tst_TouchMouse::simpleTouchEvent() delete window; } -void tst_TouchMouse::eventFilter() +void tst_TouchMouse::testEventFilter() { // // install event filter on item and see that it can grab events // QQuickView *window = createView(); -- 1.7.2.5