From: Kent Hansen Date: Thu, 29 Sep 2011 09:36:24 +0000 (+0200) Subject: Remove a few unneeded includes X-Git-Tag: qt-v5.0.0-alpha1~1513 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1f2f15a6cbea8918e9250ff8d2826cf3ca89a50;p=profile%2Fivi%2Fqtdeclarative.git Remove a few unneeded includes Change-Id: I63a9cda5000cc872ad5a5d3c4b55243b8afb0527 Reviewed-on: http://codereview.qt-project.org/5782 Reviewed-by: Qt Sanity Bot Reviewed-by: Aaron Kennedy --- diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp index 5d7710f..3f283bd 100644 --- a/src/declarative/qml/qdeclarativeengine.cpp +++ b/src/declarative/qml/qdeclarativeengine.cpp @@ -71,26 +71,12 @@ #include "qdeclarativeincubator.h" #include -#include -#include #include -#include -#include -#include #include #include -#include -#include -#include -#include -#include -#include -#include #include #include #include -#include -#include #include #include @@ -98,7 +84,6 @@ #include #include #include -#include #ifdef Q_OS_WIN // for %APPDATA% #include diff --git a/src/declarative/qml/qdeclarativemetatype.cpp b/src/declarative/qml/qdeclarativemetatype.cpp index ebe9808..0590b2c 100644 --- a/src/declarative/qml/qdeclarativemetatype.cpp +++ b/src/declarative/qml/qdeclarativemetatype.cpp @@ -63,7 +63,6 @@ #include #include #include -#include #include #include diff --git a/src/declarative/util/qdeclarativeutilmodule.cpp b/src/declarative/util/qdeclarativeutilmodule.cpp index 980a8b1..9012769 100644 --- a/src/declarative/util/qdeclarativeutilmodule.cpp +++ b/src/declarative/util/qdeclarativeutilmodule.cpp @@ -49,22 +49,15 @@ #include "private/qdeclarativefontloader_p.h" #include "private/qdeclarativelistaccessor_p.h" #include "private/qdeclarativelistmodel_p.h" -#include "private/qdeclarativenullablevalue_p_p.h" -#include "private/qdeclarativeopenmetaobject_p.h" #include "private/qdeclarativepackage_p.h" -#include "private/qdeclarativepixmapcache_p.h" #include "private/qdeclarativepropertychanges_p.h" -#include "qdeclarativepropertymap.h" #include "private/qdeclarativespringanimation_p.h" #include "private/qdeclarativestategroup_p.h" #include "private/qdeclarativestateoperations_p.h" #include "private/qdeclarativestate_p.h" #include "private/qdeclarativestate_p_p.h" -#include "private/qdeclarativestyledtext_p.h" #include "private/qdeclarativesystempalette_p.h" -#include "private/qdeclarativetimeline_p_p.h" #include "private/qdeclarativetimer_p.h" -#include "private/qdeclarativetransitionmanager_p_p.h" #include "private/qdeclarativetransition_p.h" #include "private/qdeclarativeapplication_p.h" #include "qdeclarativeinfo.h" @@ -72,6 +65,7 @@ #ifndef QT_NO_XMLPATTERNS #include "private/qdeclarativexmllistmodel_p.h" #endif +#include void QDeclarativeUtilModule::registerBaseTypes(const char *uri, int versionMajor, int versionMinor) {