diff options
| author | Kitware Robot <kwrobot@kitware.com> | 2019-09-30 10:46:28 -0400 |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2019-10-01 12:26:36 -0400 |
| commit | ed98209ddc8d5e9f5b20cd010c69a25d553b2654 (patch) | |
| tree | bacc6e66e49837c6bbe02996caf360e1e9fbc211 /Tests/QtAutogen | |
| parent | 185fe49f29f6632a3c26c376fcb4934e91092ff7 (diff) | |
| download | cmake-ed98209ddc8d5e9f5b20cd010c69a25d553b2654.tar.gz | |
Revise include order using clang-format-6.0
Run the `clang-format.bash` script to update our C and C++ code to a new
include order `.clang-format`. Use `clang-format` version 6.0.
Diffstat (limited to 'Tests/QtAutogen')
51 files changed, 79 insertions, 33 deletions
diff --git a/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.cpp b/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.cpp index e498969e9c..c7c6863d5b 100644 --- a/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.cpp +++ b/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.cpp @@ -1,5 +1,6 @@ #include "a_qt.hpp" + #include <a_mc.hpp> namespace a_qt { diff --git a/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.hpp b/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.hpp index e2387ee113..fafc8a20e7 100644 --- a/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.hpp +++ b/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.hpp @@ -1,10 +1,12 @@ #ifndef A_QT_HPP #define A_QT_HPP -#include <QObject> -#include <config.hpp> #include <string> +#include <config.hpp> + +#include <QObject> + namespace a_qt { /// @brief A header local QObject based class diff --git a/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.cpp b/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.cpp index f72f6ca9fe..c5adaebda5 100644 --- a/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.cpp +++ b/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.cpp @@ -1,5 +1,6 @@ #include "b_qt.hpp" + #include <b_mc.hpp> namespace b_qt { diff --git a/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp b/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp index d7f0311a61..b798e71ca4 100644 --- a/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp +++ b/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp @@ -1,10 +1,12 @@ #ifndef B_QT_HPP #define B_QT_HPP -#include <QObject> -#include <config.hpp> #include <string> +#include <config.hpp> + +#include <QObject> + namespace b_qt { /// @brief A header local QObject based class diff --git a/Tests/QtAutogen/AutogenOriginDependsOff/main.cpp b/Tests/QtAutogen/AutogenOriginDependsOff/main.cpp index a3425f14c0..3fb6c70951 100644 --- a/Tests/QtAutogen/AutogenOriginDependsOff/main.cpp +++ b/Tests/QtAutogen/AutogenOriginDependsOff/main.cpp @@ -1,7 +1,8 @@ +#include <string> + #include <a_qt.hpp> #include <b_qt.hpp> -#include <string> int main() { diff --git a/Tests/QtAutogen/AutogenOriginDependsOn/testGenLib.hpp b/Tests/QtAutogen/AutogenOriginDependsOn/testGenLib.hpp index 408335bd25..55457d2128 100644 --- a/Tests/QtAutogen/AutogenOriginDependsOn/testGenLib.hpp +++ b/Tests/QtAutogen/AutogenOriginDependsOn/testGenLib.hpp @@ -1,9 +1,10 @@ #ifndef TEST3_HPP #define TEST3_HPP -#include "simpleLib.hpp" #include <QObject> +#include "simpleLib.hpp" + // This object triggers the AUTOMOC on this file class LObject : public QObject { diff --git a/Tests/QtAutogen/Complex/Adir/libA.h b/Tests/QtAutogen/Complex/Adir/libA.h index c4eb9f7dc1..a8ca209076 100644 --- a/Tests/QtAutogen/Complex/Adir/libA.h +++ b/Tests/QtAutogen/Complex/Adir/libA.h @@ -2,10 +2,10 @@ #ifndef LIBA_H #define LIBA_H -#include "liba_export.h" - #include <QObject> +#include "liba_export.h" + class LIBA_EXPORT LibA : public QObject { Q_OBJECT diff --git a/Tests/QtAutogen/Complex/Bdir/libB.h b/Tests/QtAutogen/Complex/Bdir/libB.h index e4ab788c01..38dae87cbd 100644 --- a/Tests/QtAutogen/Complex/Bdir/libB.h +++ b/Tests/QtAutogen/Complex/Bdir/libB.h @@ -2,10 +2,10 @@ #ifndef LIBB_H #define LIBB_H -#include "libb_export.h" +#include <QObject> #include "libA.h" -#include <QObject> +#include "libb_export.h" class LIBB_EXPORT LibB : public QObject { diff --git a/Tests/QtAutogen/Complex/abc.cpp b/Tests/QtAutogen/Complex/abc.cpp index 2929b92ee2..4c7dc52cb3 100644 --- a/Tests/QtAutogen/Complex/abc.cpp +++ b/Tests/QtAutogen/Complex/abc.cpp @@ -1,10 +1,11 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "abc.h" -#include "abc_p.h" #include <stdio.h> +#include "abc_p.h" + class PrintAbc : public QObject { Q_OBJECT diff --git a/Tests/QtAutogen/Complex/abc_p.h b/Tests/QtAutogen/Complex/abc_p.h index be984876c9..1f6102cd0e 100644 --- a/Tests/QtAutogen/Complex/abc_p.h +++ b/Tests/QtAutogen/Complex/abc_p.h @@ -3,10 +3,10 @@ #ifndef ABC_P_H #define ABC_P_H -#include <QObject> - #include <stdio.h> +#include <QObject> + class AbcP : public QObject { Q_OBJECT diff --git a/Tests/QtAutogen/Complex/calwidget.cpp b/Tests/QtAutogen/Complex/calwidget.cpp index 8ce53f14af..f58b182478 100644 --- a/Tests/QtAutogen/Complex/calwidget.cpp +++ b/Tests/QtAutogen/Complex/calwidget.cpp @@ -38,6 +38,8 @@ ** ****************************************************************************/ +#include "calwidget.h" + #include <QCalendarWidget> #include <QCheckBox> #include <QComboBox> @@ -47,8 +49,6 @@ #include <QLabel> #include <QTextCharFormat> -#include "calwidget.h" - #include "ui_calwidget.h" #ifdef UI_CALWIDGET_H # error Definition of UI_CALWIDGET_H should be disabled by file option. diff --git a/Tests/QtAutogen/Complex/codeeditor.cpp b/Tests/QtAutogen/Complex/codeeditor.cpp index 0caf8a7df9..bb6f405ad2 100644 --- a/Tests/QtAutogen/Complex/codeeditor.cpp +++ b/Tests/QtAutogen/Complex/codeeditor.cpp @@ -38,10 +38,10 @@ ** ****************************************************************************/ -#include <QtGui> - #include "codeeditor.h" +#include <QtGui> + CodeEditor::CodeEditor(QWidget* parent) : QPlainTextEdit(parent) { diff --git a/Tests/QtAutogen/Complex/debug_class.cpp b/Tests/QtAutogen/Complex/debug_class.cpp index 46b09e7052..3aaf79a08b 100644 --- a/Tests/QtAutogen/Complex/debug_class.cpp +++ b/Tests/QtAutogen/Complex/debug_class.cpp @@ -1,5 +1,6 @@ #include "debug_class.h" + #include "ui_debug_class.h" DebugClass::DebugClass(QWidget* parent) diff --git a/Tests/QtAutogen/Complex/libC.h b/Tests/QtAutogen/Complex/libC.h index 3bc2bad546..51ea48d9eb 100644 --- a/Tests/QtAutogen/Complex/libC.h +++ b/Tests/QtAutogen/Complex/libC.h @@ -2,10 +2,10 @@ #ifndef LIBC_H #define LIBC_H -#include "libc_export.h" +#include <QObject> #include "libB.h" -#include <QObject> +#include "libc_export.h" class LIBC_EXPORT LibC : public QObject { diff --git a/Tests/QtAutogen/Complex/main.cpp b/Tests/QtAutogen/Complex/main.cpp index b5b6ed1734..12f649f031 100644 --- a/Tests/QtAutogen/Complex/main.cpp +++ b/Tests/QtAutogen/Complex/main.cpp @@ -52,8 +52,9 @@ #include "xyz.h" #include "yaf.h" #ifdef TEST_DEBUG_CLASS -# include "debug_class.h" # include <iostream> + +# include "debug_class.h" #endif int main(int argv, char** args) diff --git a/Tests/QtAutogen/Complex/second_widget.cpp b/Tests/QtAutogen/Complex/second_widget.cpp index c575f1013e..9f51a80cd8 100644 --- a/Tests/QtAutogen/Complex/second_widget.cpp +++ b/Tests/QtAutogen/Complex/second_widget.cpp @@ -1,5 +1,6 @@ #include "second_widget.h" + #include "ui_second_widget.h" SecondWidget::SecondWidget(QWidget* parent) diff --git a/Tests/QtAutogen/Complex/yaf.cpp b/Tests/QtAutogen/Complex/yaf.cpp index 70e26aa95f..10448c1bc2 100644 --- a/Tests/QtAutogen/Complex/yaf.cpp +++ b/Tests/QtAutogen/Complex/yaf.cpp @@ -1,10 +1,11 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "yaf.h" -#include "yaf_p.h" #include <stdio.h> +#include "yaf_p.h" + Yaf::Yaf() { } diff --git a/Tests/QtAutogen/Complex/yaf_p.h b/Tests/QtAutogen/Complex/yaf_p.h index ea5eed69cf..48fdd301cd 100644 --- a/Tests/QtAutogen/Complex/yaf_p.h +++ b/Tests/QtAutogen/Complex/yaf_p.h @@ -3,10 +3,10 @@ #ifndef YAF_P_H #define YAF_P_H -#include <QObject> - #include <stdio.h> +#include <QObject> + class YafP : public QObject { Q_OBJECT diff --git a/Tests/QtAutogen/LowMinimumVersion/item.cpp b/Tests/QtAutogen/LowMinimumVersion/item.cpp index e2f19b2042..511a1caa84 100644 --- a/Tests/QtAutogen/LowMinimumVersion/item.cpp +++ b/Tests/QtAutogen/LowMinimumVersion/item.cpp @@ -1,4 +1,5 @@ #include "item.hpp" + #include <ui_view.h> class MocLocal : public QObject diff --git a/Tests/QtAutogen/MacOsFW/test/testMacosFWLib.cpp b/Tests/QtAutogen/MacOsFW/test/testMacosFWLib.cpp index 3476d61767..edc93764a2 100644 --- a/Tests/QtAutogen/MacOsFW/test/testMacosFWLib.cpp +++ b/Tests/QtAutogen/MacOsFW/test/testMacosFWLib.cpp @@ -1,8 +1,9 @@ +#include "testMacosFWLib.h" + #include <QObject> #include <QString> #include "macos_fw_lib.h" -#include "testMacosFWLib.h" class TestMacosFWLib : public QObject { diff --git a/Tests/QtAutogen/MocCMP0071/Obj.cpp b/Tests/QtAutogen/MocCMP0071/Obj.cpp index 1ae50edc94..25a291d317 100644 --- a/Tests/QtAutogen/MocCMP0071/Obj.cpp +++ b/Tests/QtAutogen/MocCMP0071/Obj.cpp @@ -1,4 +1,5 @@ #include "Obj.hpp" + #include "Obj_p.h" ObjPrivate::ObjPrivate() diff --git a/Tests/QtAutogen/MocInclude/Common/InIncludes.in/SubOwnDot.cpp b/Tests/QtAutogen/MocInclude/Common/InIncludes.in/SubOwnDot.cpp index af357110ff..275754dbb3 100644 --- a/Tests/QtAutogen/MocInclude/Common/InIncludes.in/SubOwnDot.cpp +++ b/Tests/QtAutogen/MocInclude/Common/InIncludes.in/SubOwnDot.cpp @@ -1,4 +1,5 @@ #include "SubOwnDot.hpp" + #include "SubOwnDot_p.hpp" namespace InIncludes { diff --git a/Tests/QtAutogen/MocInclude/Common/MixedSkipped.cpp b/Tests/QtAutogen/MocInclude/Common/MixedSkipped.cpp index df08ff1fc8..6919ebcf24 100644 --- a/Tests/QtAutogen/MocInclude/Common/MixedSkipped.cpp +++ b/Tests/QtAutogen/MocInclude/Common/MixedSkipped.cpp @@ -1,4 +1,5 @@ #include "MixedSkipped.hpp" + #include "MixedCustom.hpp" class MixedSkippedLocal : public QObject diff --git a/Tests/QtAutogen/MocInclude/Common/None.cpp b/Tests/QtAutogen/MocInclude/Common/None.cpp index d01d5ec668..286ddb6cc3 100644 --- a/Tests/QtAutogen/MocInclude/Common/None.cpp +++ b/Tests/QtAutogen/MocInclude/Common/None.cpp @@ -1,4 +1,5 @@ #include "None.hpp" + #include "None_p.h" NonePrivate::NonePrivate() diff --git a/Tests/QtAutogen/MocInclude/Common/OtherUnderscore.cpp b/Tests/QtAutogen/MocInclude/Common/OtherUnderscore.cpp index 219619fcf8..df1c428a1b 100644 --- a/Tests/QtAutogen/MocInclude/Common/OtherUnderscore.cpp +++ b/Tests/QtAutogen/MocInclude/Common/OtherUnderscore.cpp @@ -1,4 +1,5 @@ #include "OtherUnderscore.hpp" + #include "OtherUnderscoreExtra.hpp" #include "OtherUnderscore_p.hpp" diff --git a/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreExtra.cpp b/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreExtra.cpp index 4ccf0805fe..11ebd8104d 100644 --- a/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreExtra.cpp +++ b/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreExtra.cpp @@ -1,4 +1,5 @@ #include "OtherUnderscoreExtra.hpp" + #include "OtherUnderscoreExtra_p.hpp" OtherUnderscoreExtraPrivate::OtherUnderscoreExtraPrivate() diff --git a/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSub.cpp b/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSub.cpp index 28850aa2d7..712c540c3b 100644 --- a/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSub.cpp +++ b/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSub.cpp @@ -1,4 +1,5 @@ #include "OtherUnderscoreSub.hpp" + #include "OtherUnderscoreSubDir/SubExtra.hpp" #include "OtherUnderscoreSub_p.hpp" diff --git a/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSubDir/SubExtra.cpp b/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSubDir/SubExtra.cpp index e323ed82e4..22501e44df 100644 --- a/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSubDir/SubExtra.cpp +++ b/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSubDir/SubExtra.cpp @@ -1,4 +1,5 @@ #include "SubExtra.hpp" + #include "SubExtra_p.hpp" SubExtraPrivate::SubExtraPrivate() diff --git a/Tests/QtAutogen/MocInclude/Common/OwnDot.cpp b/Tests/QtAutogen/MocInclude/Common/OwnDot.cpp index 1cce2722c4..b7b7d854c8 100644 --- a/Tests/QtAutogen/MocInclude/Common/OwnDot.cpp +++ b/Tests/QtAutogen/MocInclude/Common/OwnDot.cpp @@ -1,4 +1,5 @@ #include "OwnDot.hpp" + #include "OwnDot_p.h" class OwnDotLocal : public QObject diff --git a/Tests/QtAutogen/MocInclude/Common/OwnDotUnderscore.cpp b/Tests/QtAutogen/MocInclude/Common/OwnDotUnderscore.cpp index 2a0b8add83..056c0db84e 100644 --- a/Tests/QtAutogen/MocInclude/Common/OwnDotUnderscore.cpp +++ b/Tests/QtAutogen/MocInclude/Common/OwnDotUnderscore.cpp @@ -1,4 +1,5 @@ #include "OwnDotUnderscore.hpp" + #include "OwnDotUnderscore_p.h" class OwnDotUnderscoreLocal : public QObject diff --git a/Tests/QtAutogen/MocInclude/Common/OwnUnderscore.cpp b/Tests/QtAutogen/MocInclude/Common/OwnUnderscore.cpp index ebbcf45461..cb8f12c9bc 100644 --- a/Tests/QtAutogen/MocInclude/Common/OwnUnderscore.cpp +++ b/Tests/QtAutogen/MocInclude/Common/OwnUnderscore.cpp @@ -1,4 +1,5 @@ #include "OwnUnderscore.hpp" + #include "OwnUnderscore_p.h" OwnUnderscorePrivate::OwnUnderscorePrivate() diff --git a/Tests/QtAutogen/MocInclude/Relaxed/RObjB.cpp b/Tests/QtAutogen/MocInclude/Relaxed/RObjB.cpp index c56d10f049..57d7daf16c 100644 --- a/Tests/QtAutogen/MocInclude/Relaxed/RObjB.cpp +++ b/Tests/QtAutogen/MocInclude/Relaxed/RObjB.cpp @@ -1,4 +1,5 @@ #include "RObjB.hpp" + #include "RObjBExtra.hpp" RObjBExtra::RObjBExtra() diff --git a/Tests/QtAutogen/MocInclude/Relaxed/RObjC.cpp b/Tests/QtAutogen/MocInclude/Relaxed/RObjC.cpp index 4ba32f54bf..3275216665 100644 --- a/Tests/QtAutogen/MocInclude/Relaxed/RObjC.cpp +++ b/Tests/QtAutogen/MocInclude/Relaxed/RObjC.cpp @@ -1,4 +1,5 @@ #include "RObjC.hpp" + #include <QObject> class RObjCPrivate : public QObject diff --git a/Tests/QtAutogen/MocOnly/main.cpp b/Tests/QtAutogen/MocOnly/main.cpp index b83b8063b6..ec8da214e5 100644 --- a/Tests/QtAutogen/MocOnly/main.cpp +++ b/Tests/QtAutogen/MocOnly/main.cpp @@ -1,8 +1,9 @@ +#include <iostream> + #include "IncA.hpp" #include "IncB.hpp" #include "StyleA.hpp" #include "StyleB.hpp" -#include <iostream> int main(int argv, char** args) { diff --git a/Tests/QtAutogen/MocOsMacros/TestClass.cpp b/Tests/QtAutogen/MocOsMacros/TestClass.cpp index 13f8fd93aa..babc08b128 100644 --- a/Tests/QtAutogen/MocOsMacros/TestClass.cpp +++ b/Tests/QtAutogen/MocOsMacros/TestClass.cpp @@ -1,4 +1,5 @@ #include "TestClass.hpp" + #include <iostream> void TestClass::open() diff --git a/Tests/QtAutogen/MocOsMacros/main.cpp b/Tests/QtAutogen/MocOsMacros/main.cpp index f8eec3cbc4..c427345be4 100644 --- a/Tests/QtAutogen/MocOsMacros/main.cpp +++ b/Tests/QtAutogen/MocOsMacros/main.cpp @@ -1,6 +1,7 @@ -#include "TestClass.hpp" #include <QtGlobal> +#include "TestClass.hpp" + int main() { TestClass a; diff --git a/Tests/QtAutogen/ObjectLibrary/a/classa.cpp b/Tests/QtAutogen/ObjectLibrary/a/classa.cpp index 4f08fda840..a548652dde 100644 --- a/Tests/QtAutogen/ObjectLibrary/a/classa.cpp +++ b/Tests/QtAutogen/ObjectLibrary/a/classa.cpp @@ -1,4 +1,5 @@ #include "classa.h" + #include <QDebug> void ClassA::slotDoSomething() diff --git a/Tests/QtAutogen/ObjectLibrary/b/classb.cpp b/Tests/QtAutogen/ObjectLibrary/b/classb.cpp index 26e09261cc..e5cc2e77ec 100644 --- a/Tests/QtAutogen/ObjectLibrary/b/classb.cpp +++ b/Tests/QtAutogen/ObjectLibrary/b/classb.cpp @@ -1,4 +1,5 @@ #include "classb.h" + #include <QDebug> void ClassB::slotDoSomething() diff --git a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleA.hpp b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleA.hpp index 35158a4b01..e1fdf0bbd1 100644 --- a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleA.hpp +++ b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleA.hpp @@ -1,9 +1,10 @@ #ifndef STYLEA_HPP #define STYLEA_HPP -#include "UtilityMacros.hpp" #include <QStylePlugin> +#include "UtilityMacros.hpp" + class StyleA : public QStylePlugin { Q_OBJECT diff --git a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleB.hpp b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleB.hpp index 15b79c5983..7550d0c3b6 100644 --- a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleB.hpp +++ b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleB.hpp @@ -1,9 +1,10 @@ #ifndef STYLEB_HPP #define STYLEB_HPP -#include "UtilityMacros.hpp" #include <QStylePlugin> +#include "UtilityMacros.hpp" + class StyleB : public QStylePlugin { Q_OBJECT diff --git a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleC.hpp b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleC.hpp index b0a41150b7..ec71becdac 100644 --- a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleC.hpp +++ b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleC.hpp @@ -1,9 +1,10 @@ #ifndef STYLEC_HPP #define STYLEC_HPP -#include "UtilityMacros.hpp" #include <QStylePlugin> +#include "UtilityMacros.hpp" + class StyleC : public QStylePlugin { Q_OBJECT diff --git a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp index 9696aaa26e..3c093b914b 100644 --- a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp +++ b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp @@ -1,9 +1,10 @@ #ifndef STYLED_HPP #define STYLED_HPP -#include "UtilityMacros.hpp" #include <QStylePlugin> +#include "UtilityMacros.hpp" + class StyleD : public QStylePlugin { Q_OBJECT diff --git a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleEInclude.hpp b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleEInclude.hpp index f9734db4d6..5f10fb4a07 100644 --- a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleEInclude.hpp +++ b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleEInclude.hpp @@ -1,9 +1,10 @@ #ifndef STYLEE_INCLUDE_HPP #define STYLEE_INCLUDE_HPP -#include "UtilityMacros.hpp" #include <QStylePlugin> +#include "UtilityMacros.hpp" + class StyleE : public QStylePlugin { Q_OBJECT diff --git a/Tests/QtAutogen/StaticLibraryCycle/a.cpp b/Tests/QtAutogen/StaticLibraryCycle/a.cpp index faa52e610c..8dd1803f16 100644 --- a/Tests/QtAutogen/StaticLibraryCycle/a.cpp +++ b/Tests/QtAutogen/StaticLibraryCycle/a.cpp @@ -1,4 +1,5 @@ #include "a.h" + #include "b.h" bool A::recursed = false; diff --git a/Tests/QtAutogen/StaticLibraryCycle/b.cpp b/Tests/QtAutogen/StaticLibraryCycle/b.cpp index a807d89cfb..dee26177a1 100644 --- a/Tests/QtAutogen/StaticLibraryCycle/b.cpp +++ b/Tests/QtAutogen/StaticLibraryCycle/b.cpp @@ -1,4 +1,5 @@ #include "b.h" + #include "c.h" B::B() diff --git a/Tests/QtAutogen/StaticLibraryCycle/c.cpp b/Tests/QtAutogen/StaticLibraryCycle/c.cpp index 7d427c234f..2871f62f6b 100644 --- a/Tests/QtAutogen/StaticLibraryCycle/c.cpp +++ b/Tests/QtAutogen/StaticLibraryCycle/c.cpp @@ -1,4 +1,5 @@ #include "c.h" + #include "a.h" C::C() diff --git a/Tests/QtAutogen/UicInterface/libwidget.h b/Tests/QtAutogen/UicInterface/libwidget.h index a7ad14f626..532ff1db11 100644 --- a/Tests/QtAutogen/UicInterface/libwidget.h +++ b/Tests/QtAutogen/UicInterface/libwidget.h @@ -2,9 +2,10 @@ #ifndef LIBWIDGET_H #define LIBWIDGET_H -#include <QWidget> #include <memory> +#include <QWidget> + #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0) # include <klocalizedstring.h> #endif diff --git a/Tests/QtAutogen/UicInterface/mywidget.h b/Tests/QtAutogen/UicInterface/mywidget.h index 1d31ce7a72..320d433bac 100644 --- a/Tests/QtAutogen/UicInterface/mywidget.h +++ b/Tests/QtAutogen/UicInterface/mywidget.h @@ -2,9 +2,10 @@ #ifndef MYWIDGET_H #define MYWIDGET_H -#include <QWidget> #include <memory> +#include <QWidget> + #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0) # include <klocalizedstring.h> #endif diff --git a/Tests/QtAutogen/UicSkipSource/skipUicGen.cpp b/Tests/QtAutogen/UicSkipSource/skipUicGen.cpp index d2a55a6f11..ab3c454c74 100644 --- a/Tests/QtAutogen/UicSkipSource/skipUicGen.cpp +++ b/Tests/QtAutogen/UicSkipSource/skipUicGen.cpp @@ -1,5 +1,6 @@ #include "skipUicGen.hpp" + #include "ui_uigen2.h" void skipGen() diff --git a/Tests/QtAutogen/UicSkipSource/skipUicNoGen1.cpp b/Tests/QtAutogen/UicSkipSource/skipUicNoGen1.cpp index f591a42ba1..d648d94e72 100644 --- a/Tests/QtAutogen/UicSkipSource/skipUicNoGen1.cpp +++ b/Tests/QtAutogen/UicSkipSource/skipUicNoGen1.cpp @@ -1,5 +1,6 @@ #include "skipUicNoGen1.hpp" + #include "ui_nogen2.h" void skipNoGen1() diff --git a/Tests/QtAutogen/UicSkipSource/skipUicNoGen2.cpp b/Tests/QtAutogen/UicSkipSource/skipUicNoGen2.cpp index 8c1c3241c5..aca58a4638 100644 --- a/Tests/QtAutogen/UicSkipSource/skipUicNoGen2.cpp +++ b/Tests/QtAutogen/UicSkipSource/skipUicNoGen2.cpp @@ -1,5 +1,6 @@ #include "skipUicNoGen2.hpp" + #include "ui_nogen2.h" void skipNoGen2() |
