diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-11-08 14:58:14 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-11-22 16:17:33 +0100 |
commit | 8f0571c1e22768a57232c37c6ba6cd069aa957c4 (patch) | |
tree | 249affe9f9e37beef390bcb620b05efaa34ee68b /tests/auto/qml/qqmlxmllistmodel | |
parent | 522fc6e6b63e6a62436b742ee4e146ec8a1929f6 (diff) |
XmlListModel: Clean up includes
Include only what we need, and normalize the include forms.
Change-Id: I77013b8abf5132ca40aa5979619b5a37c472ac46
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlxmllistmodel')
-rw-r--r-- | tests/auto/qml/qqmlxmllistmodel/tst_qqmlxmllistmodel.cpp | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/tests/auto/qml/qqmlxmllistmodel/tst_qqmlxmllistmodel.cpp b/tests/auto/qml/qqmlxmllistmodel/tst_qqmlxmllistmodel.cpp index 05b8ce605d..0745853e02 100644 --- a/tests/auto/qml/qqmlxmllistmodel/tst_qqmlxmllistmodel.cpp +++ b/tests/auto/qml/qqmlxmllistmodel/tst_qqmlxmllistmodel.cpp @@ -1,18 +1,20 @@ // Copyright (C) 2021 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 -#include <QtTest/QtTest> -#include <QSignalSpy> -#include <QMetaObject> -#include <QSortFilterProxyModel> -#include <QFile> -#include <QTimer> -#include <QTemporaryFile> -#include <QNetworkRequest> -#include <QNetworkAccessManager> #include <QtQmlXmlListModel/private/qqmlxmllistmodel_p.h> #include <QtQuickTestUtils/private/qmlutils_p.h> +#include <QtTest/qsignalspy.h> + +#include <QtQml/qqmlcomponent.h> +#include <QtQml/qqmlengine.h> +#include <QtQml/qqmlnetworkaccessmanagerfactory.h> + +#include <QtCore/qset.h> +#include <QtCore/qsortfilterproxymodel.h> +#include <QtCore/qtemporaryfile.h> +#include <QtCore/qtimer.h> + using namespace Qt::StringLiterals; typedef QList<QVariantList> QQmlXmlModelData; |