diff options
author | Debao Zhang <hello@debao.me> | 2013-03-04 10:10:53 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-04 09:32:37 +0100 |
commit | d409946aafa4a8bfa1ceeddc3eddf0e12158c7c1 (patch) | |
tree | 561c5edd1437a21a9c2d813171c08e2acb335a63 /src/private | |
parent | 99af56f0ab50c4619baa0ab9852bfabbf1193fe2 (diff) | |
download | qtquickcontrols-d409946aafa4a8bfa1ceeddc3eddf0e12158c7c1.tar.gz |
QStyleItem: Cleanup header include statements
Change-Id: I323a0b23052d389e955b424208677875a886808f
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/private')
-rw-r--r-- | src/private/qstyleitem.cpp | 20 | ||||
-rw-r--r-- | src/private/qstyleitem_p.h | 7 |
2 files changed, 12 insertions, 15 deletions
diff --git a/src/private/qstyleitem.cpp b/src/private/qstyleitem.cpp index 7b7a997d..86027e5e 100644 --- a/src/private/qstyleitem.cpp +++ b/src/private/qstyleitem.cpp @@ -41,18 +41,14 @@ #include "qstyleitem_p.h" -#include <QtGui/QPainter> -#include <QtWidgets/QStyle> -#include <QtWidgets/QStyleOption> -#include <QtWidgets/QApplication> -#include <QtWidgets/QMainWindow> -#include <QtWidgets/QGroupBox> -#include <QtWidgets/QToolBar> -#include <QtWidgets/QMenu> -#include <QtWidgets/QtWidgets> -#include <QtCore/QStringBuilder> -#include <QtQuick/QSGSimpleTextureNode> -#include <QtQuick/QQuickWindow> +#include <qstringbuilder.h> +#include <qpainter.h> +#include <qpixmapcache.h> +#include <qstyle.h> +#include <qstyleoption.h> +#include <qapplication.h> +#include <qsgsimpletexturenode.h> +#include <qquickwindow.h> QT_BEGIN_NAMESPACE diff --git a/src/private/qstyleitem_p.h b/src/private/qstyleitem_p.h index 7f239ca5..28111588 100644 --- a/src/private/qstyleitem_p.h +++ b/src/private/qstyleitem_p.h @@ -42,13 +42,14 @@ #ifndef QSTYLEITEM_P_H #define QSTYLEITEM_P_H +#include <QtGui/qimage.h> #include <QtQuick/qquickitem.h> -#include <QtWidgets/QStyle> -#include <QtGui/QImage> -#include <QEvent> QT_BEGIN_NAMESPACE +class QWidget; +class QStyleOption; + class QStyleItem: public QQuickItem { Q_OBJECT |