diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2024-02-06 16:47:12 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2024-02-07 10:03:32 +0100 |
commit | a54746cc812b52ca52cbb997305864502498488b (patch) | |
tree | 540dc2c8a2871689a3488014be1eb4184a85ec0b | |
parent | f1cf59001adaf4d49001a5b457bd0d650b7a4a9f (diff) |
QtHelp: Port includes to standard convention
According to today's content of:
https://wiki.qt.io/Coding_Conventions.
Task-number: QTBUG-122025
Change-Id: I55f417060c989e28c38e1abaea1259bb87ccafe7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
38 files changed, 116 insertions, 119 deletions
diff --git a/src/assistant/help/qcompressedhelpinfo.cpp b/src/assistant/help/qcompressedhelpinfo.cpp index 97184ac84..b88a6faf2 100644 --- a/src/assistant/help/qcompressedhelpinfo.cpp +++ b/src/assistant/help/qcompressedhelpinfo.cpp @@ -5,8 +5,8 @@ #include "qhelpdbreader_p.h" -#include <QtCore/QThread> -#include <QtCore/QVersionNumber> +#include <QtCore/qthread.h> +#include <QtCore/qversionnumber.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qcompressedhelpinfo.h b/src/assistant/help/qcompressedhelpinfo.h index 978f4f2d7..bae87aa83 100644 --- a/src/assistant/help/qcompressedhelpinfo.h +++ b/src/assistant/help/qcompressedhelpinfo.h @@ -6,7 +6,7 @@ #include <QtHelp/qhelp_global.h> -#include <QtCore/QSharedDataPointer> +#include <QtCore/qshareddata.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qfilternamedialog.cpp b/src/assistant/help/qfilternamedialog.cpp index 77ad98826..7b060e5b4 100644 --- a/src/assistant/help/qfilternamedialog.cpp +++ b/src/assistant/help/qfilternamedialog.cpp @@ -3,7 +3,7 @@ #include "qfilternamedialog_p.h" -#include <QtWidgets/QPushButton> +#include <QtWidgets/qpushbutton.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qfilternamedialog_p.h b/src/assistant/help/qfilternamedialog_p.h index 18ce4a931..024bd4c21 100644 --- a/src/assistant/help/qfilternamedialog_p.h +++ b/src/assistant/help/qfilternamedialog_p.h @@ -17,7 +17,7 @@ #include "ui_qfilternamedialog.h" -#include <QtWidgets/QDialog> +#include <QtWidgets/qdialog.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelp_global.cpp b/src/assistant/help/qhelp_global.cpp index 26332eb04..f4b8ac01c 100644 --- a/src/assistant/help/qhelp_global.cpp +++ b/src/assistant/help/qhelp_global.cpp @@ -3,11 +3,11 @@ #include "qhelp_global.h" -#include <QtCore/QCoreApplication> -#include <QtCore/QHash> -#include <QtCore/QMutexLocker> -#include <QtCore/QRegularExpression> -#include <QtGui/QTextDocument> +#include <QtCore/qcoreapplication.h> +#include <QtCore/qhash.h> +#include <QtCore/qmutex.h> +#include <QtCore/qregularexpression.h> +#include <QtGui/qtextdocument.h> QString QHelpGlobal::uniquifyConnectionName(const QString &name, void *pointer) { diff --git a/src/assistant/help/qhelpcollectionhandler.cpp b/src/assistant/help/qhelpcollectionhandler.cpp index f708fe4a9..3cbf103a8 100644 --- a/src/assistant/help/qhelpcollectionhandler.cpp +++ b/src/assistant/help/qhelpcollectionhandler.cpp @@ -7,17 +7,16 @@ #include "qhelpfilterdata.h" #include "qhelplink.h" -#include <QtCore/QDataStream> -#include <QtCore/QDateTime> -#include <QtCore/QDir> -#include <QtCore/QFileInfo> -#include <QtCore/QMultiMap> -#include <QtCore/QTimer> -#include <QtCore/QVersionNumber> - -#include <QtSql/QSqlDriver> -#include <QtSql/QSqlError> -#include <QtSql/QSqlQuery> +#include <QtCore/qdatastream.h> +#include <QtCore/qdatetime.h> +#include <QtCore/qdir.h> +#include <QtCore/qfileinfo.h> +#include <QtCore/qmap.h> +#include <QtCore/qtimer.h> +#include <QtCore/qversionnumber.h> +#include <QtSql/qsqldriver.h> +#include <QtSql/qsqlerror.h> +#include <QtSql/qsqlquery.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpcollectionhandler_p.h b/src/assistant/help/qhelpcollectionhandler_p.h index a3fabc785..28fc55324 100644 --- a/src/assistant/help/qhelpcollectionhandler_p.h +++ b/src/assistant/help/qhelpcollectionhandler_p.h @@ -18,8 +18,8 @@ #include "qhelpdbreader_p.h" #include "qhelplink.h" -#include <QtCore/QObject> -#include <QtCore/QStringList> +#include <QtCore/qobject.h> +#include <QtCore/qstringlist.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpcontentwidget.cpp b/src/assistant/help/qhelpcontentwidget.cpp index c2e68b92f..2193783f0 100644 --- a/src/assistant/help/qhelpcontentwidget.cpp +++ b/src/assistant/help/qhelpcontentwidget.cpp @@ -6,11 +6,11 @@ #include "qhelpenginecore.h" #include "qhelpengine_p.h" -#include <QtCore/QDir> -#include <QtCore/QMutex> -#include <QtCore/QThread> -#include <QtCore/QStack> -#include <QtWidgets/QHeaderView> +#include <QtCore/qdir.h> +#include <QtCore/qmutex.h> +#include <QtCore/qthread.h> +#include <QtCore/qstack.h> +#include <QtWidgets/qheaderview.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpcontentwidget.h b/src/assistant/help/qhelpcontentwidget.h index c1942b64c..a98f7cad4 100644 --- a/src/assistant/help/qhelpcontentwidget.h +++ b/src/assistant/help/qhelpcontentwidget.h @@ -6,7 +6,7 @@ #include <QtHelp/qhelp_global.h> -#include <QtWidgets/QTreeView> +#include <QtWidgets/qtreeview.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpdbreader.cpp b/src/assistant/help/qhelpdbreader.cpp index f80f2023d..5cfb6e8e2 100644 --- a/src/assistant/help/qhelpdbreader.cpp +++ b/src/assistant/help/qhelpdbreader.cpp @@ -4,12 +4,12 @@ #include "qhelpdbreader_p.h" #include "qhelp_global.h" -#include <QtCore/QFile> -#include <QtCore/QMultiMap> -#include <QtCore/QVariant> -#include <QtSql/QSqlDatabase> -#include <QtSql/QSqlError> -#include <QtSql/QSqlQuery> +#include <QtCore/qfile.h> +#include <QtCore/qmap.h> +#include <QtCore/qvariant.h> +#include <QtSql/qsqldatabase.h> +#include <QtSql/qsqlerror.h> +#include <QtSql/qsqlquery.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpdbreader_p.h b/src/assistant/help/qhelpdbreader_p.h index ddc5ace59..f01290d89 100644 --- a/src/assistant/help/qhelpdbreader_p.h +++ b/src/assistant/help/qhelpdbreader_p.h @@ -15,9 +15,9 @@ // We mean it. // -#include <QtCore/QByteArray> -#include <QtCore/QObject> -#include <QtCore/QStringList> +#include <QtCore/qbytearray.h> +#include <QtCore/qobject.h> +#include <QtCore/qstringlist.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpengine.cpp b/src/assistant/help/qhelpengine.cpp index a2e888959..5ce441752 100644 --- a/src/assistant/help/qhelpengine.cpp +++ b/src/assistant/help/qhelpengine.cpp @@ -8,7 +8,7 @@ #include "qhelpindexwidget.h" #include "qhelpsearchengine.h" -#include <QtCore/QTimer> +#include <QtCore/qtimer.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpengine_p.h b/src/assistant/help/qhelpengine_p.h index e17ec7a84..a2fba2dd3 100644 --- a/src/assistant/help/qhelpengine_p.h +++ b/src/assistant/help/qhelpengine_p.h @@ -15,7 +15,7 @@ // We mean it. // -#include <QtCore/QObject> +#include <QtCore/qobject.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpenginecore.cpp b/src/assistant/help/qhelpenginecore.cpp index 666dc9cdb..64fa08a7e 100644 --- a/src/assistant/help/qhelpenginecore.cpp +++ b/src/assistant/help/qhelpenginecore.cpp @@ -8,9 +8,9 @@ #include "qhelpfilterengine.h" #include "qhelplink.h" -#include <QtCore/QDir> -#include <QtCore/QFileInfo> -#include <QtCore/QThread> +#include <QtCore/qdir.h> +#include <QtCore/qfileinfo.h> +#include <QtCore/qthread.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpenginecore.h b/src/assistant/help/qhelpenginecore.h index faf1c5fc9..b6a9fc8ec 100644 --- a/src/assistant/help/qhelpenginecore.h +++ b/src/assistant/help/qhelpenginecore.h @@ -6,9 +6,9 @@ #include <QtHelp/qhelp_global.h> -#include <QtCore/QObject> -#include <QtCore/QUrl> -#include <QtCore/QVariant> +#include <QtCore/qobject.h> +#include <QtCore/qurl.h> +#include <QtCore/qvariant.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpfilterdata.cpp b/src/assistant/help/qhelpfilterdata.cpp index 654201a11..ed6d3e78a 100644 --- a/src/assistant/help/qhelpfilterdata.cpp +++ b/src/assistant/help/qhelpfilterdata.cpp @@ -3,7 +3,7 @@ #include "qhelpfilterdata.h" -#include <QtCore/QVersionNumber> +#include <QtCore/qversionnumber.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpfilterdata.h b/src/assistant/help/qhelpfilterdata.h index c3bd66d0c..aaf35a2df 100644 --- a/src/assistant/help/qhelpfilterdata.h +++ b/src/assistant/help/qhelpfilterdata.h @@ -6,7 +6,7 @@ #include <QtHelp/qhelp_global.h> -#include <QtCore/QSharedDataPointer> +#include <QtCore/qshareddata.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpfilterengine.cpp b/src/assistant/help/qhelpfilterengine.cpp index fca81dc59..bb6df822d 100644 --- a/src/assistant/help/qhelpfilterengine.cpp +++ b/src/assistant/help/qhelpfilterengine.cpp @@ -6,8 +6,8 @@ #include "qhelpenginecore.h" #include "qhelpfilterdata.h" -#include <QtCore/QThread> -#include <QtCore/QVersionNumber> +#include <QtCore/qthread.h> +#include <QtCore/qversionnumber.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpfilterengine.h b/src/assistant/help/qhelpfilterengine.h index 36c540237..da39ad9d3 100644 --- a/src/assistant/help/qhelpfilterengine.h +++ b/src/assistant/help/qhelpfilterengine.h @@ -6,7 +6,7 @@ #include <QtHelp/qhelp_global.h> -#include <QtCore/QObject> +#include <QtCore/qobject.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpfiltersettings.cpp b/src/assistant/help/qhelpfiltersettings.cpp index de8f97568..7f45b12f5 100644 --- a/src/assistant/help/qhelpfiltersettings.cpp +++ b/src/assistant/help/qhelpfiltersettings.cpp @@ -2,10 +2,10 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #include "qhelpfiltersettings_p.h" -#include "qhelpfilterdata.h" -#include <QtCore/QMap> -#include <QtHelp/QHelpFilterEngine> +#include <QtCore/qmap.h> +#include <QtHelp/qhelpfilterdata.h> +#include <QtHelp/qhelpfilterengine.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpfiltersettings_p.h b/src/assistant/help/qhelpfiltersettings_p.h index 81b64b01e..e0bf17dbf 100644 --- a/src/assistant/help/qhelpfiltersettings_p.h +++ b/src/assistant/help/qhelpfiltersettings_p.h @@ -15,7 +15,7 @@ // We mean it. // -#include <QtCore/QSharedDataPointer> +#include <QtCore/qshareddata.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpfiltersettingswidget.cpp b/src/assistant/help/qhelpfiltersettingswidget.cpp index a6e82b4da..00b3e891c 100644 --- a/src/assistant/help/qhelpfiltersettingswidget.cpp +++ b/src/assistant/help/qhelpfiltersettingswidget.cpp @@ -7,8 +7,8 @@ #include "qhelpfiltersettingswidget.h" #include "ui_qhelpfiltersettingswidget.h" -#include <QtCore/QVersionNumber> -#include <QtWidgets/QMessageBox> +#include <QtCore/qversionnumber.h> +#include <QtWidgets/qmessagebox.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpfiltersettingswidget.h b/src/assistant/help/qhelpfiltersettingswidget.h index d543c9ecc..136c4f703 100644 --- a/src/assistant/help/qhelpfiltersettingswidget.h +++ b/src/assistant/help/qhelpfiltersettingswidget.h @@ -6,7 +6,7 @@ #include <QtHelp/qhelp_global.h> -#include <QtWidgets/QWidget> +#include <QtWidgets/qwidget.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpindexwidget.cpp b/src/assistant/help/qhelpindexwidget.cpp index acf72ccad..630d43b2c 100644 --- a/src/assistant/help/qhelpindexwidget.cpp +++ b/src/assistant/help/qhelpindexwidget.cpp @@ -7,8 +7,8 @@ #include "qhelpenginecore.h" #include "qhelplink.h" -#include <QtCore/QThread> -#include <QtCore/QMutex> +#include <QtCore/qthread.h> +#include <QtCore/qmutex.h> #include <algorithm> diff --git a/src/assistant/help/qhelpindexwidget.h b/src/assistant/help/qhelpindexwidget.h index 376db933e..f0dc8c9a7 100644 --- a/src/assistant/help/qhelpindexwidget.h +++ b/src/assistant/help/qhelpindexwidget.h @@ -6,10 +6,10 @@ #include <QtHelp/qhelp_global.h> -#include <QtCore/QStringListModel> -#include <QtCore/QUrl> +#include <QtCore/qstringlistmodel.h> +#include <QtCore/qurl.h> -#include <QtWidgets/QListView> +#include <QtWidgets/qlistview.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelplink.h b/src/assistant/help/qhelplink.h index 15b64ce39..831c4a3dd 100644 --- a/src/assistant/help/qhelplink.h +++ b/src/assistant/help/qhelplink.h @@ -6,7 +6,7 @@ #include <QtHelp/qhelp_global.h> -#include <QtCore/QUrl> +#include <QtCore/qurl.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpsearchengine.cpp b/src/assistant/help/qhelpsearchengine.cpp index b73fcb527..1e10fa4ae 100644 --- a/src/assistant/help/qhelpsearchengine.cpp +++ b/src/assistant/help/qhelpsearchengine.cpp @@ -10,11 +10,11 @@ #include "qhelpsearchindexreader_default_p.h" #include "qhelpsearchindexwriter_default_p.h" -#include <QtCore/QDir> -#include <QtCore/QFile> -#include <QtCore/QFileInfo> -#include <QtCore/QPointer> -#include <QtCore/QTimer> +#include <QtCore/qdir.h> +#include <QtCore/qfile.h> +#include <QtCore/qfileinfo.h> +#include <QtCore/qpointer.h> +#include <QtCore/qtimer.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpsearchengine.h b/src/assistant/help/qhelpsearchengine.h index f2c824b13..479cd1bfc 100644 --- a/src/assistant/help/qhelpsearchengine.h +++ b/src/assistant/help/qhelpsearchengine.h @@ -6,9 +6,9 @@ #include <QtHelp/qhelp_global.h> -#include <QtCore/QObject> -#include <QtCore/QSharedDataPointer> -#include <QtCore/QStringList> +#include <QtCore/qobject.h> +#include <QtCore/qshareddata.h> +#include <QtCore/qstringlist.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpsearchindexreader_default.cpp b/src/assistant/help/qhelpsearchindexreader_default.cpp index 67fd3693a..d6d1a8e89 100644 --- a/src/assistant/help/qhelpsearchindexreader_default.cpp +++ b/src/assistant/help/qhelpsearchindexreader_default.cpp @@ -5,9 +5,9 @@ #include "qhelpfilterengine.h" #include "qhelpsearchindexreader_default_p.h" -#include <QtCore/QSet> -#include <QtSql/QSqlDatabase> -#include <QtSql/QSqlQuery> +#include <QtCore/qset.h> +#include <QtSql/qsqldatabase.h> +#include <QtSql/qsqlquery.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpsearchindexreader_p.h b/src/assistant/help/qhelpsearchindexreader_p.h index 901dc839e..961771c62 100644 --- a/src/assistant/help/qhelpsearchindexreader_p.h +++ b/src/assistant/help/qhelpsearchindexreader_p.h @@ -17,9 +17,9 @@ #include "qhelpsearchengine.h" -#include <QtCore/QList> -#include <QtCore/QMutex> -#include <QtCore/QThread> +#include <QtCore/qlist.h> +#include <QtCore/qmutex.h> +#include <QtCore/qthread.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpsearchindexwriter_default.cpp b/src/assistant/help/qhelpsearchindexwriter_default.cpp index 132b8edbb..b8e598568 100644 --- a/src/assistant/help/qhelpsearchindexwriter_default.cpp +++ b/src/assistant/help/qhelpsearchindexwriter_default.cpp @@ -6,19 +6,18 @@ #include "qhelpdbreader_p.h" #include "qhelpenginecore.h" -#include <QtCore/QDataStream> -#include <QtCore/QDateTime> -#include <QtCore/QDir> -#include <QtCore/QStringDecoder> -#include <QtCore/QTextStream> -#include <QtCore/QUrl> -#include <QtCore/QVariant> -#include <QtSql/QSqlDatabase> -#include <QtSql/QSqlDriver> -#include <QtSql/QSqlError> -#include <QtSql/QSqlQuery> - -#include <QTextDocument> +#include <QtCore/qdatastream.h> +#include <QtCore/qdatetime.h> +#include <QtCore/qdir.h> +#include <QtCore/qstringconverter.h> +#include <QtCore/qtextstream.h> +#include <QtCore/qurl.h> +#include <QtCore/qvariant.h> +#include <QtGui/qtextdocument.h> +#include <QtSql/qsqldatabase.h> +#include <QtSql/qsqldriver.h> +#include <QtSql/qsqlerror.h> +#include <QtSql/qsqlquery.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpsearchindexwriter_default_p.h b/src/assistant/help/qhelpsearchindexwriter_default_p.h index 4edcbc26b..898e2ae75 100644 --- a/src/assistant/help/qhelpsearchindexwriter_default_p.h +++ b/src/assistant/help/qhelpsearchindexwriter_default_p.h @@ -15,8 +15,8 @@ // We mean it. // -#include <QtCore/QMutex> -#include <QtCore/QThread> +#include <QtCore/qmutex.h> +#include <QtCore/qthread.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpsearchquerywidget.cpp b/src/assistant/help/qhelpsearchquerywidget.cpp index 6eefe4783..221b29ee9 100644 --- a/src/assistant/help/qhelpsearchquerywidget.cpp +++ b/src/assistant/help/qhelpsearchquerywidget.cpp @@ -3,15 +3,15 @@ #include "qhelpsearchquerywidget.h" -#include <QtCore/QAbstractListModel> -#include <QtCore/QStringList> -#include <QtGui/QFocusEvent> -#include <QtWidgets/QCompleter> -#include <QtWidgets/QLabel> -#include <QtWidgets/QLayout> -#include <QtWidgets/QLineEdit> -#include <QtWidgets/QPushButton> -#include <QtWidgets/QToolButton> +#include <QtCore/qabstractitemmodel.h> +#include <QtCore/qstringlist.h> +#include <QtGui/qevent.h> +#include <QtWidgets/qcompleter.h> +#include <QtWidgets/qlabel.h> +#include <QtWidgets/qlayout.h> +#include <QtWidgets/qlineedit.h> +#include <QtWidgets/qpushbutton.h> +#include <QtWidgets/qtoolbutton.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpsearchquerywidget.h b/src/assistant/help/qhelpsearchquerywidget.h index 9c31b66a0..8dd3981c4 100644 --- a/src/assistant/help/qhelpsearchquerywidget.h +++ b/src/assistant/help/qhelpsearchquerywidget.h @@ -7,7 +7,7 @@ #include <QtHelp/qhelp_global.h> #include <QtHelp/qhelpsearchengine.h> -#include <QtWidgets/QWidget> +#include <QtWidgets/qwidget.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpsearchresultwidget.cpp b/src/assistant/help/qhelpsearchresultwidget.cpp index 7f149caa0..6c655b1a9 100644 --- a/src/assistant/help/qhelpsearchresultwidget.cpp +++ b/src/assistant/help/qhelpsearchresultwidget.cpp @@ -3,15 +3,15 @@ #include "qhelpsearchresultwidget.h" -#include <QtCore/QEvent> -#include <QtCore/QList> -#include <QtCore/QPointer> -#include <QtCore/QTextStream> -#include <QtWidgets/QLabel> -#include <QtWidgets/QLayout> -#include <QtWidgets/QSpacerItem> -#include <QtWidgets/QToolButton> -#include <QtWidgets/QTextBrowser> +#include <QtCore/qcoreevent.h> +#include <QtCore/qlist.h> +#include <QtCore/qpointer.h> +#include <QtCore/qtextstream.h> +#include <QtWidgets/qlabel.h> +#include <QtWidgets/qlayout.h> +#include <QtWidgets/qlayoutitem.h> +#include <QtWidgets/qtoolbutton.h> +#include <QtWidgets/qtextbrowser.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qhelpsearchresultwidget.h b/src/assistant/help/qhelpsearchresultwidget.h index b2a733832..9f5773576 100644 --- a/src/assistant/help/qhelpsearchresultwidget.h +++ b/src/assistant/help/qhelpsearchresultwidget.h @@ -7,7 +7,7 @@ #include <QtHelp/qhelp_global.h> #include <QtHelp/qhelpsearchengine.h> -#include <QtWidgets/QWidget> +#include <QtWidgets/qwidget.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qoptionswidget.cpp b/src/assistant/help/qoptionswidget.cpp index 3e8837454..ee4bedb04 100644 --- a/src/assistant/help/qoptionswidget.cpp +++ b/src/assistant/help/qoptionswidget.cpp @@ -3,9 +3,9 @@ #include "qoptionswidget_p.h" -#include <QtWidgets/QItemDelegate> -#include <QtWidgets/QLayout> -#include <QtWidgets/QListWidget> +#include <QtWidgets/qitemdelegate.h> +#include <QtWidgets/qlayout.h> +#include <QtWidgets/qlistwidget.h> QT_BEGIN_NAMESPACE diff --git a/src/assistant/help/qoptionswidget_p.h b/src/assistant/help/qoptionswidget_p.h index fc9dea92c..6bfa8d0bb 100644 --- a/src/assistant/help/qoptionswidget_p.h +++ b/src/assistant/help/qoptionswidget_p.h @@ -15,9 +15,8 @@ // We mean it. // -#include <QtCore/QMap> - -#include <QtWidgets/QWidget> +#include <QtCore/qmap.h> +#include <QtWidgets/qwidget.h> QT_BEGIN_NAMESPACE |