summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen')
-rw-r--r--Tests/QtAutogen/AutogenOriginDependsOff/a_qt.cpp1
-rw-r--r--Tests/QtAutogen/AutogenOriginDependsOff/a_qt.hpp6
-rw-r--r--Tests/QtAutogen/AutogenOriginDependsOff/b_qt.cpp1
-rw-r--r--Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp6
-rw-r--r--Tests/QtAutogen/AutogenOriginDependsOff/main.cpp3
-rw-r--r--Tests/QtAutogen/AutogenOriginDependsOn/testGenLib.hpp3
-rw-r--r--Tests/QtAutogen/Complex/Adir/libA.h4
-rw-r--r--Tests/QtAutogen/Complex/Bdir/libB.h4
-rw-r--r--Tests/QtAutogen/Complex/abc.cpp3
-rw-r--r--Tests/QtAutogen/Complex/abc_p.h4
-rw-r--r--Tests/QtAutogen/Complex/calwidget.cpp4
-rw-r--r--Tests/QtAutogen/Complex/codeeditor.cpp4
-rw-r--r--Tests/QtAutogen/Complex/debug_class.cpp1
-rw-r--r--Tests/QtAutogen/Complex/libC.h4
-rw-r--r--Tests/QtAutogen/Complex/main.cpp3
-rw-r--r--Tests/QtAutogen/Complex/second_widget.cpp1
-rw-r--r--Tests/QtAutogen/Complex/yaf.cpp3
-rw-r--r--Tests/QtAutogen/Complex/yaf_p.h4
-rw-r--r--Tests/QtAutogen/LowMinimumVersion/item.cpp1
-rw-r--r--Tests/QtAutogen/MacOsFW/test/testMacosFWLib.cpp3
-rw-r--r--Tests/QtAutogen/MocCMP0071/Obj.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Common/InIncludes.in/SubOwnDot.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Common/MixedSkipped.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Common/None.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Common/OtherUnderscore.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Common/OtherUnderscoreExtra.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSub.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSubDir/SubExtra.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Common/OwnDot.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Common/OwnDotUnderscore.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Common/OwnUnderscore.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Relaxed/RObjB.cpp1
-rw-r--r--Tests/QtAutogen/MocInclude/Relaxed/RObjC.cpp1
-rw-r--r--Tests/QtAutogen/MocOnly/main.cpp3
-rw-r--r--Tests/QtAutogen/MocOsMacros/TestClass.cpp1
-rw-r--r--Tests/QtAutogen/MocOsMacros/main.cpp3
-rw-r--r--Tests/QtAutogen/ObjectLibrary/a/classa.cpp1
-rw-r--r--Tests/QtAutogen/ObjectLibrary/b/classb.cpp1
-rw-r--r--Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleA.hpp3
-rw-r--r--Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleB.hpp3
-rw-r--r--Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleC.hpp3
-rw-r--r--Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp3
-rw-r--r--Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleEInclude.hpp3
-rw-r--r--Tests/QtAutogen/StaticLibraryCycle/a.cpp1
-rw-r--r--Tests/QtAutogen/StaticLibraryCycle/b.cpp1
-rw-r--r--Tests/QtAutogen/StaticLibraryCycle/c.cpp1
-rw-r--r--Tests/QtAutogen/UicInterface/libwidget.h3
-rw-r--r--Tests/QtAutogen/UicInterface/mywidget.h3
-rw-r--r--Tests/QtAutogen/UicSkipSource/skipUicGen.cpp1
-rw-r--r--Tests/QtAutogen/UicSkipSource/skipUicNoGen1.cpp1
-rw-r--r--Tests/QtAutogen/UicSkipSource/skipUicNoGen2.cpp1
51 files changed, 79 insertions, 33 deletions
diff --git a/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.cpp b/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.cpp
index e498969..c7c6863 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 e2387ee..fafc8a2 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 f72f6ca..c5adaeb 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 d7f0311..b798e71 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 a3425f1..3fb6c70 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 408335b..55457d2 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 c4eb9f7..a8ca209 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 e4ab788..38dae87 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 2929b92..4c7dc52 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 be98487..1f6102c 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 8ce53f1..f58b182 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 0caf8a7..bb6f405 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 46b09e7..3aaf79a 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 3bc2bad..51ea48d 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 b5b6ed1..12f649f 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 c575f10..9f51a80 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 70e26aa..10448c1 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 ea5eed6..48fdd30 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 e2f19b2..511a1ca 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 3476d61..edc9376 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 1ae50ed..25a291d 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 af35711..275754d 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 df08ff1..6919ebc 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 d01d5ec..286ddb6 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 219619f..df1c428 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 4ccf080..11ebd81 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 28850aa..712c540 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 e323ed8..22501e4 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 1cce272..b7b7d85 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 2a0b8ad..056c0db 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 ebbcf45..cb8f12c 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 c56d10f..57d7daf 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 4ba32f5..3275216 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 b83b806..ec8da21 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 13f8fd9..babc08b 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 f8eec3c..c427345 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 4f08fda..a548652 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 26e0926..e5cc2e7 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 35158a4..e1fdf0b 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 15b79c5..7550d0c 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 b0a4115..ec71bec 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 9696aaa..3c093b9 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 f9734db..5f10fb4 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 faa52e6..8dd1803 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 a807d89..dee2617 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 7d427c2..2871f62 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 a7ad14f..532ff1d 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 1d31ce7..320d433 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 d2a55a6..ab3c454 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 f591a42..d648d94 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 8c1c324..aca58a4 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()