aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2020-12-13 10:05:01 +0100
committerLaurent Montel <montel@kde.org>2020-12-13 10:05:01 +0100
commit854a5e65cba175ed9f9654c967822aa4b170927b (patch)
tree5f00fb36cbfa18d2bcdce95bf1dcca94683d2bc3
parentb3b17d054970e48479aa3afe0a9dfd836efb8536 (diff)
downloadkconfig-854a5e65cba175ed9f9654c967822aa4b170927b.tar.gz
kconfig-854a5e65cba175ed9f9654c967822aa4b170927b.tar.bz2
Don't include QtTest as it includes all QtCore includes
-rw-r--r--autotests/fallbackconfigresourcestest.cpp2
-rw-r--r--autotests/kconfig_compiler/kconfigcompiler_test.cpp2
-rw-r--r--autotests/kconfigloadertest.h2
-rw-r--r--autotests/kconfignokdehometest.cpp2
-rw-r--r--autotests/kconfigtest.cpp4
-rw-r--r--autotests/kdesktopfiletest.cpp2
-rw-r--r--autotests/kentrymaptest.cpp2
-rw-r--r--autotests/ksharedconfigtest.cpp2
-rw-r--r--autotests/kstandardshortcuttest.cpp2
9 files changed, 11 insertions, 9 deletions
diff --git a/autotests/fallbackconfigresourcestest.cpp b/autotests/fallbackconfigresourcestest.cpp
index 8d7768ee..0b1a3697 100644
--- a/autotests/fallbackconfigresourcestest.cpp
+++ b/autotests/fallbackconfigresourcestest.cpp
@@ -5,7 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
-#include <QtTest>
+#include <QTest>
#include <ksharedconfig.h>
#include <kconfiggroup.h>
diff --git a/autotests/kconfig_compiler/kconfigcompiler_test.cpp b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
index c16075d6..6afc0096 100644
--- a/autotests/kconfig_compiler/kconfigcompiler_test.cpp
+++ b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
@@ -10,7 +10,7 @@
#include <QDir>
#include <QProcess>
#include <QString>
-#include <QtTest>
+#include <QTest>
#include <qstandardpaths.h>
#include "kconfigcompiler_test.h"
diff --git a/autotests/kconfigloadertest.h b/autotests/kconfigloadertest.h
index 697aa06b..0a4b58a1 100644
--- a/autotests/kconfigloadertest.h
+++ b/autotests/kconfigloadertest.h
@@ -7,7 +7,7 @@
#ifndef KCONFIGLOADERTEST_H
#define KCONFIGLOADERTEST_H
-#include <QtTest>
+#include <QTest>
class KConfigLoader;
diff --git a/autotests/kconfignokdehometest.cpp b/autotests/kconfignokdehometest.cpp
index 8c29fb37..1d05d98d 100644
--- a/autotests/kconfignokdehometest.cpp
+++ b/autotests/kconfignokdehometest.cpp
@@ -6,7 +6,7 @@
#include <QObject>
-#include <QtTest>
+#include <QTest>
#include <QStandardPaths>
#include <ksharedconfig.h>
diff --git a/autotests/kconfigtest.cpp b/autotests/kconfigtest.cpp
index 41f293a7..20414e45 100644
--- a/autotests/kconfigtest.cpp
+++ b/autotests/kconfigtest.cpp
@@ -12,9 +12,11 @@
#include "config-kconfig.h"
-#include <QtTest>
+#include <QTest>
#include <qtemporarydir.h>
#include <QStandardPaths>
+#include <QSignalSpy>
+#include <QTemporaryFile>
#include <kdesktopfile.h>
#include <ksharedconfig.h>
diff --git a/autotests/kdesktopfiletest.cpp b/autotests/kdesktopfiletest.cpp
index 983ac68d..e1b9c997 100644
--- a/autotests/kdesktopfiletest.cpp
+++ b/autotests/kdesktopfiletest.cpp
@@ -11,7 +11,7 @@
#include "kdesktopfile.h"
-#include <QtTest>
+#include <QTest>
QTEST_MAIN(KDesktopFileTest)
diff --git a/autotests/kentrymaptest.cpp b/autotests/kentrymaptest.cpp
index a84c4b4e..406e4e99 100644
--- a/autotests/kentrymaptest.cpp
+++ b/autotests/kentrymaptest.cpp
@@ -6,7 +6,7 @@
#include "kentrymaptest.h"
-#include <QtTest>
+#include <QTest>
const QByteArray group1("A Group");
const QByteArray key1("A Key");
diff --git a/autotests/ksharedconfigtest.cpp b/autotests/ksharedconfigtest.cpp
index 97a9d69c..957b509f 100644
--- a/autotests/ksharedconfigtest.cpp
+++ b/autotests/ksharedconfigtest.cpp
@@ -5,7 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
-#include <QtTest>
+#include <QTest>
#include <ksharedconfig.h>
#include <kconfiggroup.h>
diff --git a/autotests/kstandardshortcuttest.cpp b/autotests/kstandardshortcuttest.cpp
index e2447037..33fdf2f1 100644
--- a/autotests/kstandardshortcuttest.cpp
+++ b/autotests/kstandardshortcuttest.cpp
@@ -4,7 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
-#include <QtTest>
+#include <QTest>
#include "kstandardshortcuttest.h"
QTEST_MAIN(KStandardShortcutTest) // GUI needed by KAccel