summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/qfxperf.cpp2
-rw-r--r--src/declarative/util/qfxperf_p_p.h2
-rw-r--r--src/declarative/util/qmlanimation.cpp30
-rw-r--r--src/declarative/util/qmlanimation_p.h12
-rw-r--r--src/declarative/util/qmlanimation_p_p.h18
-rw-r--r--src/declarative/util/qmlbehavior.cpp12
-rw-r--r--src/declarative/util/qmlbehavior_p.h3
-rw-r--r--src/declarative/util/qmlbind.cpp10
-rw-r--r--src/declarative/util/qmlbind_p.h3
-rw-r--r--src/declarative/util/qmlconnection.cpp9
-rw-r--r--src/declarative/util/qmlconnection_p.h5
-rw-r--r--src/declarative/util/qmldatetimeformatter.cpp6
-rw-r--r--src/declarative/util/qmldatetimeformatter_p.h3
-rw-r--r--src/declarative/util/qmleasefollow.cpp10
-rw-r--r--src/declarative/util/qmleasefollow_p.h3
-rw-r--r--src/declarative/util/qmlfontloader.cpp11
-rw-r--r--src/declarative/util/qmlfontloader_p.h3
-rw-r--r--src/declarative/util/qmllistaccessor.cpp8
-rw-r--r--src/declarative/util/qmllistmodel.cpp19
-rw-r--r--src/declarative/util/qmllistmodel_p.h6
-rw-r--r--src/declarative/util/qmlnumberformatter.cpp5
-rw-r--r--src/declarative/util/qmlnumberformatter_p.h3
-rw-r--r--src/declarative/util/qmlopenmetaobject.cpp5
-rw-r--r--src/declarative/util/qmlopenmetaobject_p.h3
-rw-r--r--src/declarative/util/qmlpackage.cpp7
-rw-r--r--src/declarative/util/qmlpixmapcache.cpp9
-rw-r--r--src/declarative/util/qmlpropertychanges.cpp16
-rw-r--r--src/declarative/util/qmlpropertychanges_p.h2
-rw-r--r--src/declarative/util/qmlpropertymap.cpp4
-rw-r--r--src/declarative/util/qmlspringfollow.cpp12
-rw-r--r--src/declarative/util/qmlstate.cpp21
-rw-r--r--src/declarative/util/qmlstate_p.h3
-rw-r--r--src/declarative/util/qmlstate_p_p.h8
-rw-r--r--src/declarative/util/qmlstategroup.cpp14
-rw-r--r--src/declarative/util/qmlstategroup_p.h2
-rw-r--r--src/declarative/util/qmlstateoperations.cpp17
-rw-r--r--src/declarative/util/qmlstateoperations_p.h5
-rw-r--r--src/declarative/util/qmlsystempalette.cpp6
-rw-r--r--src/declarative/util/qmlsystempalette_p.h3
-rw-r--r--src/declarative/util/qmltimeline.cpp3
-rw-r--r--src/declarative/util/qmltimer.cpp12
-rw-r--r--src/declarative/util/qmltimer_p.h3
-rw-r--r--src/declarative/util/qmltransition.cpp17
-rw-r--r--src/declarative/util/qmltransition_p.h6
-rw-r--r--src/declarative/util/qmltransitionmanager.cpp6
-rw-r--r--src/declarative/util/qmltransitionmanager_p_p.h2
-rw-r--r--src/declarative/util/qmlview.cpp41
-rw-r--r--src/declarative/util/qmlxmllistmodel.cpp8
-rw-r--r--src/declarative/util/qmlxmllistmodel_p.h3
-rw-r--r--src/declarative/util/qnumberformat.cpp2
-rw-r--r--src/declarative/util/qnumberformat_p.h1
-rw-r--r--src/declarative/util/qperformancelog.cpp3
52 files changed, 259 insertions, 168 deletions
diff --git a/src/declarative/util/qfxperf.cpp b/src/declarative/util/qfxperf.cpp
index 9ffe9a9..f62f810 100644
--- a/src/declarative/util/qfxperf.cpp
+++ b/src/declarative/util/qfxperf.cpp
@@ -39,7 +39,7 @@
**
****************************************************************************/
-#include <private/qfxperf_p_p.h>
+#include "qfxperf_p_p.h"
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qfxperf_p_p.h b/src/declarative/util/qfxperf_p_p.h
index 0e12912..e3f820c 100644
--- a/src/declarative/util/qfxperf_p_p.h
+++ b/src/declarative/util/qfxperf_p_p.h
@@ -52,7 +52,7 @@
// We mean it.
//
-#include <private/qperformancelog_p_p.h>
+#include "qperformancelog_p_p.h"
QT_BEGIN_HEADER
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp
index c6e8a18..0f5a0f0 100644
--- a/src/declarative/util/qmlanimation.cpp
+++ b/src/declarative/util/qmlanimation.cpp
@@ -39,26 +39,30 @@
**
****************************************************************************/
-#include <private/qmlanimation_p.h>
-#include "qvariant.h"
-#include "qcolor.h"
-#include "qfile.h"
-#include "qmlpropertyvaluesource.h"
-#include "qml.h"
-#include "qmlinfo.h"
-#include <private/qmlanimation_p_p.h>
-#include <private/qmlbehavior_p.h>
+#include "qmlanimation_p.h"
+#include "qmlanimation_p_p.h"
+
+#include "qmlbehavior_p.h"
+#include "qmlstateoperations_p.h"
+
+#include <qmlpropertyvaluesource.h>
+#include <qml.h>
+#include <qmlinfo.h>
+#include <qmlexpression.h>
+#include <qmlstringconverters_p.h>
+#include <qmlglobal_p.h>
+
+#include <qvariant.h>
+#include <qcolor.h>
+#include <qfile.h>
#include <QParallelAnimationGroup>
#include <QSequentialAnimationGroup>
#include <QtCore/qset.h>
#include <QtCore/qrect.h>
#include <QtCore/qpoint.h>
#include <QtCore/qsize.h>
-#include <qmlexpression.h>
-#include <private/qmlstateoperations_p.h>
-#include <private/qmlstringconverters_p.h>
+
#include <private/qvariantanimation_p.h>
-#include <private/qmlglobal_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlanimation_p.h b/src/declarative/util/qmlanimation_p.h
index 87b6703..707ed33 100644
--- a/src/declarative/util/qmlanimation_p.h
+++ b/src/declarative/util/qmlanimation_p.h
@@ -42,15 +42,17 @@
#ifndef QMLANIMATION_H
#define QMLANIMATION_H
-#include <QtCore/qvariant.h>
-#include <QtCore/QAbstractAnimation>
-#include <QtGui/qcolor.h>
-#include <private/qmltransition_p.h>
+#include "qmltransition_p.h"
+#include "qmlstate_p.h"
+
#include <qmlpropertyvaluesource.h>
-#include <private/qmlstate_p.h>
#include <qml.h>
#include <qmlscriptstring.h>
+#include <QtCore/qvariant.h>
+#include <QtCore/QAbstractAnimation>
+#include <QtGui/qcolor.h>
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlanimation_p_p.h b/src/declarative/util/qmlanimation_p_p.h
index 326e1c6..5dac59a 100644
--- a/src/declarative/util/qmlanimation_p_p.h
+++ b/src/declarative/util/qmlanimation_p_p.h
@@ -53,19 +53,23 @@
// We mean it.
//
-#include <private/qobject_p.h>
-#include <private/qmlnullablevalue_p_p.h>
-#include <private/qvariantanimation_p.h>
+#include "qmlanimation_p.h"
+
+#include "qmlnullablevalue_p_p.h"
+#include "qmltimeline_p_p.h"
+
+#include <qml.h>
+#include <qmlcontext.h>
+
#include <QtCore/QPauseAnimation>
#include <QtCore/QVariantAnimation>
#include <QtCore/QAnimationGroup>
#include <QtGui/QColor>
-#include <private/qmlanimation_p.h>
-#include <qml.h>
-#include <qmlcontext.h>
-#include <private/qmltimeline_p_p.h>
#include <QDebug>
+#include <private/qobject_p.h>
+#include <private/qvariantanimation_p.h>
+
QT_BEGIN_NAMESPACE
//interface for classes that provide animation actions for QActionAnimation
diff --git a/src/declarative/util/qmlbehavior.cpp b/src/declarative/util/qmlbehavior.cpp
index ca2cca5..9757fa2 100644
--- a/src/declarative/util/qmlbehavior.cpp
+++ b/src/declarative/util/qmlbehavior.cpp
@@ -39,14 +39,18 @@
**
****************************************************************************/
-#include <private/qobject_p.h>
-#include <private/qmlanimation_p.h>
-#include <private/qmltransition_p.h>
-#include <private/qmlbehavior_p.h>
+#include "qmlbehavior_p.h"
+
+#include "qmlanimation_p.h"
+#include "qmltransition_p.h"
+
#include <qmlcontext.h>
#include <qmlinfo.h>
+
#include <QtCore/qparallelanimationgroup.h>
+#include <private/qobject_p.h>
+
QT_BEGIN_NAMESPACE
QML_DEFINE_TYPE(Qt,4,6,Behavior,QmlBehavior)
diff --git a/src/declarative/util/qmlbehavior_p.h b/src/declarative/util/qmlbehavior_p.h
index 581a0a8..da3b40f 100644
--- a/src/declarative/util/qmlbehavior_p.h
+++ b/src/declarative/util/qmlbehavior_p.h
@@ -42,10 +42,11 @@
#ifndef QMLBEHAVIOR_H
#define QMLBEHAVIOR_H
+#include "qmlstate_p.h"
+
#include <qmlpropertyvaluesource.h>
#include <qmlpropertyvalueinterceptor.h>
#include <qml.h>
-#include <private/qmlstate_p.h>
QT_BEGIN_HEADER
diff --git a/src/declarative/util/qmlbind.cpp b/src/declarative/util/qmlbind.cpp
index fb2e9ee..c68cef2 100644
--- a/src/declarative/util/qmlbind.cpp
+++ b/src/declarative/util/qmlbind.cpp
@@ -39,16 +39,20 @@
**
****************************************************************************/
+#include "qmlbind_p.h"
+
+#include "qmlnullablevalue_p_p.h"
+
#include <qmlengine.h>
#include <qmlcontext.h>
-#include <private/qobject_p.h>
+
#include <QtCore/qfile.h>
#include <QtCore/qdebug.h>
#include <QtScript/qscriptvalue.h>
#include <QtScript/qscriptcontext.h>
#include <QtScript/qscriptengine.h>
-#include <private/qmlnullablevalue_p_p.h>
-#include <private/qmlbind_p.h>
+
+#include <private/qobject_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlbind_p.h b/src/declarative/util/qmlbind_p.h
index 4d85698..4d7cd1f 100644
--- a/src/declarative/util/qmlbind_p.h
+++ b/src/declarative/util/qmlbind_p.h
@@ -42,9 +42,10 @@
#ifndef QMLBIND_H
#define QMLBIND_H
-#include <QtCore/qobject.h>
#include <qml.h>
+#include <QtCore/qobject.h>
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlconnection.cpp b/src/declarative/util/qmlconnection.cpp
index f01b7a9..f5fbd3f 100644
--- a/src/declarative/util/qmlconnection.cpp
+++ b/src/declarative/util/qmlconnection.cpp
@@ -39,13 +39,16 @@
**
****************************************************************************/
-#include <private/qmlconnection_p.h>
+#include "qmlconnection_p.h"
+
#include <qmlexpression.h>
-#include <private/qmlboundsignal_p.h>
-#include "private/qobject_p.h"
+#include <qmlboundsignal_p.h>
#include <qmlcontext.h>
+
#include <QtCore/qdebug.h>
+#include <private/qobject_p.h>
+
QT_BEGIN_NAMESPACE
class QmlConnectionPrivate : public QObjectPrivate
diff --git a/src/declarative/util/qmlconnection_p.h b/src/declarative/util/qmlconnection_p.h
index 1bc81fe..52bc247 100644
--- a/src/declarative/util/qmlconnection_p.h
+++ b/src/declarative/util/qmlconnection_p.h
@@ -42,11 +42,12 @@
#ifndef QMLCONNECTION_H
#define QMLCONNECTION_H
-#include <QtCore/qobject.h>
-#include <QtCore/qstring.h>
#include <qml.h>
#include <qmlscriptstring.h>
+#include <QtCore/qobject.h>
+#include <QtCore/qstring.h>
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmldatetimeformatter.cpp b/src/declarative/util/qmldatetimeformatter.cpp
index 4486912..9d216cf 100644
--- a/src/declarative/util/qmldatetimeformatter.cpp
+++ b/src/declarative/util/qmldatetimeformatter.cpp
@@ -39,10 +39,12 @@
**
****************************************************************************/
-#include <private/qmldatetimeformatter_p.h>
-#include "private/qobject_p.h"
+#include "qmldatetimeformatter_p.h"
+
#include <QtCore/qlocale.h>
+#include <private/qobject_p.h>
+
QT_BEGIN_NAMESPACE
//TODO: may need optimisation as the QDateTime member may not be needed?
diff --git a/src/declarative/util/qmldatetimeformatter_p.h b/src/declarative/util/qmldatetimeformatter_p.h
index cd5f75f..c90ee8c 100644
--- a/src/declarative/util/qmldatetimeformatter_p.h
+++ b/src/declarative/util/qmldatetimeformatter_p.h
@@ -42,9 +42,10 @@
#ifndef QMLDATETIMEFORMATTER_H
#define QMLDATETIMEFORMATTER_H
-#include <QtCore/qdatetime.h>
#include <qml.h>
+#include <QtCore/qdatetime.h>
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmleasefollow.cpp b/src/declarative/util/qmleasefollow.cpp
index 0b844f9..e3153b1 100644
--- a/src/declarative/util/qmleasefollow.cpp
+++ b/src/declarative/util/qmleasefollow.cpp
@@ -39,11 +39,15 @@
**
****************************************************************************/
-#include <private/qmleasefollow_p.h>
+#include "qmleasefollow_p.h"
+
+#include "qmlanimation_p_p.h"
+
#include <qmlmetaproperty.h>
-#include <math.h>
+
#include <QtCore/qdebug.h>
-#include <private/qmlanimation_p_p.h>
+
+#include <math.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmleasefollow_p.h b/src/declarative/util/qmleasefollow_p.h
index 8ea2b8f..ef095a3 100644
--- a/src/declarative/util/qmleasefollow_p.h
+++ b/src/declarative/util/qmleasefollow_p.h
@@ -42,10 +42,11 @@
#ifndef QMLEASEFOLLOW_H
#define QMLEASEFOLLOW_H
-#include <QtCore/qobject.h>
#include <qml.h>
#include <qmlpropertyvaluesource.h>
+#include <QtCore/qobject.h>
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlfontloader.cpp b/src/declarative/util/qmlfontloader.cpp
index 4874f50..8230b1a 100644
--- a/src/declarative/util/qmlfontloader.cpp
+++ b/src/declarative/util/qmlfontloader.cpp
@@ -39,17 +39,20 @@
**
****************************************************************************/
-#include "private/qobject_p.h"
-#include <private/qmlfontloader_p.h>
+#include "qmlfontloader_p.h"
+
+#include <qmlcontext.h>
+#include <qmlengine.h>
+
#include <QUrl>
#include <QDebug>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QFile>
-#include <qmlcontext.h>
-#include <qmlengine.h>
#include <QFontDatabase>
+#include <private/qobject_p.h>
+
QT_BEGIN_NAMESPACE
class QmlFontLoaderPrivate : public QObjectPrivate
diff --git a/src/declarative/util/qmlfontloader_p.h b/src/declarative/util/qmlfontloader_p.h
index 0202f3c..aac8a71 100644
--- a/src/declarative/util/qmlfontloader_p.h
+++ b/src/declarative/util/qmlfontloader_p.h
@@ -42,9 +42,10 @@
#ifndef QMLFONTLOADER_H
#define QMLFONTLOADER_H
-#include <QtCore/qobject.h>
#include <qml.h>
+#include <QtCore/qobject.h>
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmllistaccessor.cpp b/src/declarative/util/qmllistaccessor.cpp
index 140f0f9..1e051b7 100644
--- a/src/declarative/util/qmllistaccessor.cpp
+++ b/src/declarative/util/qmllistaccessor.cpp
@@ -39,13 +39,15 @@
**
****************************************************************************/
-#include <private/qmllistaccessor_p.h>
-#include <QStringList>
+#include "qmllistaccessor_p.h"
+
#include <qmlmetatype.h>
+
+#include <QStringList>
#include <QtCore/qdebug.h>
// ### Remove me
-#include <private/qmlengine_p.h>
+#include <qmlengine_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmllistmodel.cpp b/src/declarative/util/qmllistmodel.cpp
index d4cce0c..2678de7 100644
--- a/src/declarative/util/qmllistmodel.cpp
+++ b/src/declarative/util/qmllistmodel.cpp
@@ -39,17 +39,20 @@
**
****************************************************************************/
+#include "qmllistmodel_p.h"
+
+#include "qmlopenmetaobject_p.h"
+
+#include <qmlcustomparser_p.h>
+#include <qmlparser_p.h>
+#include <qmlengine_p.h>
+#include <qmlcontext.h>
+#include <qmlinfo.h>
+
#include <QtCore/qdebug.h>
#include <QtCore/qstack.h>
#include <QXmlStreamReader>
-#include <private/qmlcustomparser_p.h>
-#include <private/qmlparser_p.h>
-#include <private/qmlopenmetaobject_p.h>
-#include <private/qmlengine_p.h>
-#include <qmlcontext.h>
-#include <private/qmllistmodel_p.h>
#include <QtScript/qscriptvalueiterator.h>
-#include "qmlinfo.h"
Q_DECLARE_METATYPE(QListModelInterface *)
@@ -923,4 +926,4 @@ QT_END_NAMESPACE
QML_DECLARE_TYPE(QmlListElement)
-#include "qmllistmodel.moc"
+#include <qmllistmodel.moc>
diff --git a/src/declarative/util/qmllistmodel_p.h b/src/declarative/util/qmllistmodel_p.h
index d626060..734d44c 100644
--- a/src/declarative/util/qmllistmodel_p.h
+++ b/src/declarative/util/qmllistmodel_p.h
@@ -42,16 +42,16 @@
#ifndef QMLLISTMODEL_H
#define QMLLISTMODEL_H
+#include <qml.h>
+
#include <QtCore/QObject>
#include <QtCore/QStringList>
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtCore/QVariant>
-#include <qml.h>
-#include <private/qlistmodelinterface_p.h>
+#include <qlistmodelinterface_p.h>
#include <QtScript/qscriptvalue.h>
-
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlnumberformatter.cpp b/src/declarative/util/qmlnumberformatter.cpp
index ccc07ef..073dc68 100644
--- a/src/declarative/util/qmlnumberformatter.cpp
+++ b/src/declarative/util/qmlnumberformatter.cpp
@@ -39,8 +39,9 @@
**
****************************************************************************/
-#include <private/qmlnumberformatter_p.h>
-#include "private/qobject_p.h"
+#include "qmlnumberformatter_p.h"
+
+#include <private/qobject_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlnumberformatter_p.h b/src/declarative/util/qmlnumberformatter_p.h
index 346c2f0..71fceb2 100644
--- a/src/declarative/util/qmlnumberformatter_p.h
+++ b/src/declarative/util/qmlnumberformatter_p.h
@@ -42,8 +42,9 @@
#ifndef QMLNUMBERFORMATTER_H
#define QMLNUMBERFORMATTER_H
+#include "qnumberformat_p.h"
+
#include <qml.h>
-#include <private/qnumberformat_p.h>
QT_BEGIN_HEADER
diff --git a/src/declarative/util/qmlopenmetaobject.cpp b/src/declarative/util/qmlopenmetaobject.cpp
index 6fb624c..04cd8a5 100644
--- a/src/declarative/util/qmlopenmetaobject.cpp
+++ b/src/declarative/util/qmlopenmetaobject.cpp
@@ -39,8 +39,9 @@
**
****************************************************************************/
-#include <private/qmlopenmetaobject_p.h>
-#include <private/qmetaobjectbuilder_p.h>
+#include "qmlopenmetaobject_p.h"
+
+#include <qmetaobjectbuilder_p.h>
#include <QDebug>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlopenmetaobject_p.h b/src/declarative/util/qmlopenmetaobject_p.h
index 7a5b4ce..6045678 100644
--- a/src/declarative/util/qmlopenmetaobject_p.h
+++ b/src/declarative/util/qmlopenmetaobject_p.h
@@ -43,9 +43,10 @@
#define QMLOPENMETAOBJECT_H
#include <QtCore/QMetaObject>
-#include <private/qobject_p.h>
#include <QtCore/QObject>
+#include <private/qobject_p.h>
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlpackage.cpp b/src/declarative/util/qmlpackage.cpp
index 447a5d8..f9238ca 100644
--- a/src/declarative/util/qmlpackage.cpp
+++ b/src/declarative/util/qmlpackage.cpp
@@ -39,8 +39,9 @@
**
****************************************************************************/
-#include "private/qobject_p.h"
-#include <private/qmlpackage_p.h>
+#include "qmlpackage_p.h"
+
+#include <private/qobject_p.h>
QT_BEGIN_NAMESPACE
@@ -151,4 +152,4 @@ QML_DEFINE_TYPE(Qt,4,6,Package,QmlPackage)
QT_END_NAMESPACE
-#include "qmlpackage.moc"
+#include <qmlpackage.moc>
diff --git a/src/declarative/util/qmlpixmapcache.cpp b/src/declarative/util/qmlpixmapcache.cpp
index d4143e8..29720d8 100644
--- a/src/declarative/util/qmlpixmapcache.cpp
+++ b/src/declarative/util/qmlpixmapcache.cpp
@@ -39,13 +39,16 @@
**
****************************************************************************/
-#include <private/qmlpixmapcache_p.h>
+#include "qmlpixmapcache_p.h"
+
+#include "qfxperf_p_p.h"
+
+#include <qmlengine.h>
+
#include <QImageReader>
#include <QHash>
#include <QNetworkReply>
#include <QPixmapCache>
-#include <private/qfxperf_p_p.h>
-#include <qmlengine.h>
#include <QFile>
#include <QtCore/qdebug.h>
diff --git a/src/declarative/util/qmlpropertychanges.cpp b/src/declarative/util/qmlpropertychanges.cpp
index 0fad226..b9ec67a 100644
--- a/src/declarative/util/qmlpropertychanges.cpp
+++ b/src/declarative/util/qmlpropertychanges.cpp
@@ -39,17 +39,21 @@
**
****************************************************************************/
-#include "private/qobject_p.h"
-#include <private/qmlopenmetaobject_p.h>
-#include <private/qmlpropertychanges_p.h>
-#include <QtCore/qdebug.h>
+#include "qmlpropertychanges_p.h"
+
+#include "qmlopenmetaobject_p.h"
+
#include <qmlinfo.h>
-#include <private/qmlcustomparser_p.h>
-#include <private/qmlparser_p.h>
+#include <qmlcustomparser_p.h>
+#include <qmlparser_p.h>
#include <qmlexpression.h>
#include <qmlbinding.h>
#include <qmlcontext.h>
+#include <QtCore/qdebug.h>
+
+#include <private/qobject_p.h>
+
QT_BEGIN_NAMESPACE
/*!
diff --git a/src/declarative/util/qmlpropertychanges_p.h b/src/declarative/util/qmlpropertychanges_p.h
index 2c0cba9..461730d 100644
--- a/src/declarative/util/qmlpropertychanges_p.h
+++ b/src/declarative/util/qmlpropertychanges_p.h
@@ -42,7 +42,7 @@
#ifndef QMLPROPERTYCHANGES_H
#define QMLPROPERTYCHANGES_H
-#include <private/qmlstateoperations_p.h>
+#include "qmlstateoperations_p.h"
QT_BEGIN_HEADER
diff --git a/src/declarative/util/qmlpropertymap.cpp b/src/declarative/util/qmlpropertymap.cpp
index c0e3340..d0a0428 100644
--- a/src/declarative/util/qmlpropertymap.cpp
+++ b/src/declarative/util/qmlpropertymap.cpp
@@ -40,7 +40,9 @@
****************************************************************************/
#include "qmlpropertymap.h"
-#include <private/qmlopenmetaobject_p.h>
+
+#include "qmlopenmetaobject_p.h"
+
#include <QDebug>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlspringfollow.cpp b/src/declarative/util/qmlspringfollow.cpp
index 9cdadcf..29dcf91 100644
--- a/src/declarative/util/qmlspringfollow.cpp
+++ b/src/declarative/util/qmlspringfollow.cpp
@@ -39,12 +39,16 @@
**
****************************************************************************/
+#include "qmlspringfollow_p.h"
+
+#include "qmlanimation_p_p.h"
+
+#include <QtCore/qdebug.h>
+
+#include <private/qobject_p.h>
+
#include <limits.h>
#include <math.h>
-#include <QtCore/qdebug.h>
-#include "private/qobject_p.h"
-#include <private/qmlspringfollow_p.h>
-#include <private/qmlanimation_p_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlstate.cpp b/src/declarative/util/qmlstate.cpp
index dd66107..98cc0b6 100644
--- a/src/declarative/util/qmlstate.cpp
+++ b/src/declarative/util/qmlstate.cpp
@@ -39,16 +39,19 @@
**
****************************************************************************/
-#include <private/qmltransition_p.h>
-#include <private/qmlstategroup_p.h>
-#include <private/qmlstate_p_p.h>
-#include "qmlbinding.h"
-#include <private/qmlstateoperations_p.h>
-#include <private/qmlanimation_p.h>
-#include <private/qmlanimation_p_p.h>
-#include <private/qmlstate_p.h>
+#include "qmlstate_p_p.h"
+#include "qmlstate_p.h"
+
+#include "qmltransition_p.h"
+#include "qmlstategroup_p.h"
+#include "qmlstateoperations_p.h"
+#include "qmlanimation_p.h"
+#include "qmlanimation_p_p.h"
+
+#include <qmlbinding.h>
+#include <qmlglobal_p.h>
+
#include <QtCore/qdebug.h>
-#include <private/qmlglobal_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlstate_p.h b/src/declarative/util/qmlstate_p.h
index 856af8a..33e66d8 100644
--- a/src/declarative/util/qmlstate_p.h
+++ b/src/declarative/util/qmlstate_p.h
@@ -42,9 +42,10 @@
#ifndef QMLSTATE_H
#define QMLSTATE_H
-#include <QtCore/qobject.h>
#include <qml.h>
+#include <QtCore/qobject.h>
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlstate_p_p.h b/src/declarative/util/qmlstate_p_p.h
index 75eb3fd..ee08949 100644
--- a/src/declarative/util/qmlstate_p_p.h
+++ b/src/declarative/util/qmlstate_p_p.h
@@ -53,10 +53,12 @@
// We mean it.
//
-#include <private/qmlstate_p.h>
+#include "qmlstate_p.h"
+
+#include "qmlanimation_p_p.h"
+#include "qmltransitionmanager_p_p.h"
+
#include <private/qobject_p.h>
-#include <private/qmlanimation_p_p.h>
-#include <private/qmltransitionmanager_p_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlstategroup.cpp b/src/declarative/util/qmlstategroup.cpp
index 19408f8..373d457 100644
--- a/src/declarative/util/qmlstategroup.cpp
+++ b/src/declarative/util/qmlstategroup.cpp
@@ -39,13 +39,17 @@
**
****************************************************************************/
-#include "private/qobject_p.h"
-#include <private/qmlstategroup_p.h>
-#include <private/qmltransition_p.h>
-#include <private/qmlstate_p_p.h>
+#include "qmlstategroup_p.h"
+
+#include "qmltransition_p.h"
+#include "qmlstate_p_p.h"
+
#include <qmlbinding.h>
+#include <qmlglobal_p.h>
+
#include <QtCore/qdebug.h>
-#include <private/qmlglobal_p.h>
+
+#include <private/qobject_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlstategroup_p.h b/src/declarative/util/qmlstategroup_p.h
index ddd27d7..82cc504 100644
--- a/src/declarative/util/qmlstategroup_p.h
+++ b/src/declarative/util/qmlstategroup_p.h
@@ -42,7 +42,7 @@
#ifndef QMLSTATEGROUP_H
#define QMLSTATEGROUP_H
-#include <private/qmlstate_p.h>
+#include "qmlstate_p.h"
QT_BEGIN_HEADER
diff --git a/src/declarative/util/qmlstateoperations.cpp b/src/declarative/util/qmlstateoperations.cpp
index 82fc9ba..ebbb5ee 100644
--- a/src/declarative/util/qmlstateoperations.cpp
+++ b/src/declarative/util/qmlstateoperations.cpp
@@ -39,18 +39,21 @@
**
****************************************************************************/
-#include <private/qobject_p.h>
+#include "qmlstateoperations_p.h"
+
#include <qml.h>
#include <qmlcontext.h>
#include <qmlexpression.h>
-#include <private/qmlstateoperations_p.h>
-#include <QtCore/qdebug.h>
#include <qmlinfo.h>
-#include <private/qmlgraphicsanchors_p_p.h>
-#include <private/qmlgraphicsitem_p.h>
+#include <qmlgraphicsanchors_p_p.h>
+#include <qmlgraphicsitem_p.h>
+
+#include <QtCore/qdebug.h>
#include <QtGui/qgraphicsitem.h>
#include <QtCore/qmath.h>
+#include <private/qobject_p.h>
+
QT_BEGIN_NAMESPACE
class QmlParentChangePrivate : public QObjectPrivate
@@ -823,8 +826,8 @@ void QmlAnchorChanges::saveCurrentValues()
d->rewindBaseline = d->target->anchors()->baseline();
}
-#include "qmlstateoperations.moc"
-#include "moc_qmlstateoperations_p.cpp"
+#include <qmlstateoperations.moc>
+#include <moc_qmlstateoperations_p.cpp>
QT_END_NAMESPACE
diff --git a/src/declarative/util/qmlstateoperations_p.h b/src/declarative/util/qmlstateoperations_p.h
index 589fe20..b03af48 100644
--- a/src/declarative/util/qmlstateoperations_p.h
+++ b/src/declarative/util/qmlstateoperations_p.h
@@ -42,9 +42,10 @@
#ifndef QMLSTATEOPERATIONS_H
#define QMLSTATEOPERATIONS_H
-#include <private/qmlstate_p.h>
+#include "qmlstate_p.h"
+
#include <qmlgraphicsitem.h>
-#include <private/qmlgraphicsanchors_p.h>
+#include <qmlgraphicsanchors_p.h>
#include <qmlscriptstring.h>
QT_BEGIN_HEADER
diff --git a/src/declarative/util/qmlsystempalette.cpp b/src/declarative/util/qmlsystempalette.cpp
index da08369..d43a971 100644
--- a/src/declarative/util/qmlsystempalette.cpp
+++ b/src/declarative/util/qmlsystempalette.cpp
@@ -39,10 +39,12 @@
**
****************************************************************************/
-#include "private/qobject_p.h"
-#include <private/qmlsystempalette_p.h>
+#include "qmlsystempalette_p.h"
+
#include <QApplication>
+#include <private/qobject_p.h>
+
QT_BEGIN_NAMESPACE
class QmlSystemPalettePrivate : public QObjectPrivate
diff --git a/src/declarative/util/qmlsystempalette_p.h b/src/declarative/util/qmlsystempalette_p.h
index 8ee511a..7c39d4a 100644
--- a/src/declarative/util/qmlsystempalette_p.h
+++ b/src/declarative/util/qmlsystempalette_p.h
@@ -42,8 +42,9 @@
#ifndef QMLSYSTEMPALETTE_H
#define QMLSYSTEMPALETTE_H
-#include <QtCore/qobject.h>
#include <qml.h>
+
+#include <QtCore/qobject.h>
#include <QPalette>
QT_BEGIN_HEADER
diff --git a/src/declarative/util/qmltimeline.cpp b/src/declarative/util/qmltimeline.cpp
index 8b9a872..130e02d 100644
--- a/src/declarative/util/qmltimeline.cpp
+++ b/src/declarative/util/qmltimeline.cpp
@@ -39,7 +39,8 @@
**
****************************************************************************/
-#include <private/qmltimeline_p_p.h>
+#include "qmltimeline_p_p.h"
+
#include <QDebug>
#include <QMutex>
#include <QThread>
diff --git a/src/declarative/util/qmltimer.cpp b/src/declarative/util/qmltimer.cpp
index ad69369..046dfe9 100644
--- a/src/declarative/util/qmltimer.cpp
+++ b/src/declarative/util/qmltimer.cpp
@@ -39,11 +39,13 @@
**
****************************************************************************/
-#include "QtCore/qcoreapplication.h"
-#include "QtCore/qpauseanimation.h"
-#include "private/qobject_p.h"
-#include <private/qmltimer_p.h>
-#include "qdebug.h"
+#include "qmltimer_p.h"
+
+#include <QtCore/qcoreapplication.h>
+#include <QtCore/qpauseanimation.h>
+#include <qdebug.h>
+
+#include <private/qobject_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmltimer_p.h b/src/declarative/util/qmltimer_p.h
index 50cae2b..fcd6c84 100644
--- a/src/declarative/util/qmltimer_p.h
+++ b/src/declarative/util/qmltimer_p.h
@@ -42,9 +42,10 @@
#ifndef QMLTIMER_H
#define QMLTIMER_H
+#include <qml.h>
+
#include <QtCore/qobject.h>
#include <QtCore/qabstractanimation.h>
-#include <qml.h>
QT_BEGIN_HEADER
diff --git a/src/declarative/util/qmltransition.cpp b/src/declarative/util/qmltransition.cpp
index ad79890..a9c9596 100644
--- a/src/declarative/util/qmltransition.cpp
+++ b/src/declarative/util/qmltransition.cpp
@@ -39,13 +39,14 @@
**
****************************************************************************/
-#include <private/qmlstate_p.h>
-#include <private/qmlstategroup_p.h>
-#include <private/qmlstate_p_p.h>
-#include <private/qmlstateoperations_p.h>
-#include <private/qmlanimation_p.h>
-#include <private/qmlanimation_p_p.h>
-#include <private/qmltransitionmanager_p_p.h>
+#include "qmlstate_p.h"
+#include "qmlstategroup_p.h"
+#include "qmlstate_p_p.h"
+#include "qmlstateoperations_p.h"
+#include "qmlanimation_p.h"
+#include "qmlanimation_p_p.h"
+#include "qmltransitionmanager_p_p.h"
+
#include <QParallelAnimationGroup>
QT_BEGIN_NAMESPACE
@@ -257,4 +258,4 @@ QmlList<QmlAbstractAnimation *>* QmlTransition::animations()
QT_END_NAMESPACE
-#include "qmltransition.moc"
+#include <qmltransition.moc>
diff --git a/src/declarative/util/qmltransition_p.h b/src/declarative/util/qmltransition_p.h
index 1891a6e..3dd0244 100644
--- a/src/declarative/util/qmltransition_p.h
+++ b/src/declarative/util/qmltransition_p.h
@@ -42,10 +42,12 @@
#ifndef QMLTRANSITION_H
#define QMLTRANSITION_H
-#include <QtCore/qobject.h>
-#include <private/qmlstate_p.h>
+#include "qmlstate_p.h"
+
#include <qml.h>
+#include <QtCore/qobject.h>
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmltransitionmanager.cpp b/src/declarative/util/qmltransitionmanager.cpp
index 1a164c7..8ae5785 100644
--- a/src/declarative/util/qmltransitionmanager.cpp
+++ b/src/declarative/util/qmltransitionmanager.cpp
@@ -39,9 +39,11 @@
**
****************************************************************************/
+#include "qmltransitionmanager_p_p.h"
+
+#include "qmlstate_p_p.h"
+
#include <qmlbinding.h>
-#include <private/qmltransitionmanager_p_p.h>
-#include <private/qmlstate_p_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmltransitionmanager_p_p.h b/src/declarative/util/qmltransitionmanager_p_p.h
index 9a05684..c7e609f 100644
--- a/src/declarative/util/qmltransitionmanager_p_p.h
+++ b/src/declarative/util/qmltransitionmanager_p_p.h
@@ -53,7 +53,7 @@
// We mean it.
//
-#include <private/qmlstateoperations_p.h>
+#include "qmlstateoperations_p.h"
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlview.cpp b/src/declarative/util/qmlview.cpp
index c4eb539..b5f33f2 100644
--- a/src/declarative/util/qmlview.cpp
+++ b/src/declarative/util/qmlview.cpp
@@ -39,30 +39,31 @@
**
****************************************************************************/
-#include "qscriptvalueiterator.h"
-#include "qdebug.h"
-#include "qtimer.h"
-#include "qevent.h"
-#include "qdir.h"
-#include "qcoreapplication.h"
-#include "qfontdatabase.h"
-#include "qicon.h"
-#include "qurl.h"
-#include "qboxlayout.h"
-#include "qbasictimer.h"
-
-#include "qml.h"
-#include "qmlgraphicsitem.h"
-#include <private/qperformancelog_p_p.h>
-#include <private/qfxperf_p_p.h>
-
#include "qmlview.h"
+
+#include "qperformancelog_p_p.h"
+#include "qfxperf_p_p.h"
+
+#include <qml.h>
+#include <qmlgraphicsitem.h>
#include <qmlengine.h>
#include <qmlcontext.h>
-#include <private/qmldebug_p.h>
-#include <private/qmldebugservice_p.h>
+#include <qmldebug_p.h>
+#include <qmldebugservice_p.h>
+#include <qmlglobal_p.h>
+
+#include <qscriptvalueiterator.h>
+#include <qdebug.h>
+#include <qtimer.h>
+#include <qevent.h>
+#include <qdir.h>
+#include <qcoreapplication.h>
+#include <qfontdatabase.h>
+#include <qicon.h>
+#include <qurl.h>
+#include <qboxlayout.h>
+#include <qbasictimer.h>
#include <QtCore/qabstractanimation.h>
-#include <private/qmlglobal_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qmlxmllistmodel.cpp b/src/declarative/util/qmlxmllistmodel.cpp
index a274c6c..6f8da9c 100644
--- a/src/declarative/util/qmlxmllistmodel.cpp
+++ b/src/declarative/util/qmlxmllistmodel.cpp
@@ -39,11 +39,11 @@
**
****************************************************************************/
-#include <private/qmlxmllistmodel_p.h>
-#include "private/qobject_p.h"
+#include "qmlxmllistmodel_p.h"
#include <qmlcontext.h>
#include <qmlengine.h>
+
#include <QDebug>
#include <QApplication>
#include <QThread>
@@ -56,6 +56,8 @@
#include <QNetworkRequest>
#include <QNetworkReply>
+#include <private/qobject_p.h>
+
QT_BEGIN_NAMESPACE
QML_DEFINE_TYPE(Qt,4,6,XmlRole,QmlXmlListModelRole)
@@ -716,4 +718,4 @@ void QmlXmlListModel::queryCompleted(int id, int size)
QT_END_NAMESPACE
-#include "qmlxmllistmodel.moc"
+#include <qmlxmllistmodel.moc>
diff --git a/src/declarative/util/qmlxmllistmodel_p.h b/src/declarative/util/qmlxmllistmodel_p.h
index 2fa1be8..e645740 100644
--- a/src/declarative/util/qmlxmllistmodel_p.h
+++ b/src/declarative/util/qmlxmllistmodel_p.h
@@ -43,9 +43,10 @@
#define QMLXMLLISTMODEL_H
#include <qml.h>
-#include <private/qlistmodelinterface_p.h>
#include <qmlinfo.h>
+#include <qlistmodelinterface_p.h>
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qnumberformat.cpp b/src/declarative/util/qnumberformat.cpp
index 68bb9e1..c6a03e9 100644
--- a/src/declarative/util/qnumberformat.cpp
+++ b/src/declarative/util/qnumberformat.cpp
@@ -39,7 +39,7 @@
**
****************************************************************************/
-#include <private/qnumberformat_p.h>
+#include "qnumberformat_p.h"
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/util/qnumberformat_p.h b/src/declarative/util/qnumberformat_p.h
index be3dfce..c73ef8a 100644
--- a/src/declarative/util/qnumberformat_p.h
+++ b/src/declarative/util/qnumberformat_p.h
@@ -43,6 +43,7 @@
#define NUMBERFORMAT_H
#include <qml.h>
+
#include <QtCore/QLocale>
#include <QtCore/QTime>
diff --git a/src/declarative/util/qperformancelog.cpp b/src/declarative/util/qperformancelog.cpp
index 83b0247..2f91dfb 100644
--- a/src/declarative/util/qperformancelog.cpp
+++ b/src/declarative/util/qperformancelog.cpp
@@ -39,7 +39,8 @@
**
****************************************************************************/
-#include <private/qperformancelog_p_p.h>
+#include "qperformancelog_p_p.h"
+
#include <QHash>
#include <QDebug>