aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-qt
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2019-02-20 13:38:24 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2019-02-23 07:38:42 +0000
commite160b26d8c7476c63f6220ac69d1d6405e8ce3aa (patch)
treea63896f1b3d74ab9b50d45070213d6897a8d7248 /tests/auto/blackbox/testdata-qt
parent6615e52e4308962a7d10d606eead188fbfe198f3 (diff)
Replace 'typedef' with 'using' where it is possible
One exception is that the 'typedef' for function pointers were skipped due to an additional work is required. Change-Id: I2112fded3abeaee1d1f49f56adfd2914d5db0324 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata-qt')
-rw-r--r--tests/auto/blackbox/testdata-qt/qml-debugging/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata-qt/qml-debugging/main.cpp b/tests/auto/blackbox/testdata-qt/qml-debugging/main.cpp
index 535d6d63f..7311f2d60 100644
--- a/tests/auto/blackbox/testdata-qt/qml-debugging/main.cpp
+++ b/tests/auto/blackbox/testdata-qt/qml-debugging/main.cpp
@@ -32,13 +32,13 @@
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
#include <QGuiApplication>
#include <QQmlApplicationEngine>
-typedef QGuiApplication Application;
+using Application = QGuiApplication;
#define AH_SO_THIS_IS_QT5
#else
#include <QApplication>
#include <QDeclarativeView>
#define AH_SO_THIS_IS_QT4
-typedef QApplication Application;
+using Application = QApplication;
#endif
int main(int argc, char *argv[])