diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-26 10:03:45 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-26 10:03:45 (GMT) |
commit | 0015e9ba53ab0e6a7005b18823513aec63df6939 (patch) | |
tree | fb9e0172be5525b18214d365eaefca0e2861e58b /src/gui/graphicsview | |
parent | a5af8ab70d67f74811bb932ab2ed7459eb3e0f8e (diff) | |
download | Qt-0015e9ba53ab0e6a7005b18823513aec63df6939.zip Qt-0015e9ba53ab0e6a7005b18823513aec63df6939.tar.gz Qt-0015e9ba53ab0e6a7005b18823513aec63df6939.tar.bz2 |
Cleanup includes in public headers.
We don't want to pull in too much if we can avoid it.
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.cpp | 1 | ||||
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.h | 3 | ||||
-rw-r--r-- | src/gui/graphicsview/qgraphicssceneevent.cpp | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp index fb3a01c..0dc77cc 100644 --- a/src/gui/graphicsview/qgraphicsscene.cpp +++ b/src/gui/graphicsview/qgraphicsscene.cpp @@ -241,6 +241,7 @@ #include <QtGui/qstyleoption.h> #include <QtGui/qtooltip.h> #include <QtGui/qtransform.h> +#include <QtGui/qgesture.h> #include <private/qapplication_p.h> #include <private/qobject_p.h> #ifdef Q_WS_X11 diff --git a/src/gui/graphicsview/qgraphicsscene.h b/src/gui/graphicsview/qgraphicsscene.h index aa9fd5d..4d65b91 100644 --- a/src/gui/graphicsview/qgraphicsscene.h +++ b/src/gui/graphicsview/qgraphicsscene.h @@ -50,7 +50,6 @@ #include <QtGui/qtransform.h> #include <QtGui/qmatrix.h> #include <QtGui/qpen.h> -#include <QtGui/qevent.h> QT_BEGIN_HEADER @@ -191,7 +190,7 @@ public: inline QGraphicsRectItem *addRect(qreal x, qreal y, qreal w, qreal h, const QPen &pen = QPen(), const QBrush &brush = QBrush()) { return addRect(QRectF(x, y, w, h), pen, brush); } void removeItem(QGraphicsItem *item); - + QGraphicsItem *focusItem() const; void setFocusItem(QGraphicsItem *item, Qt::FocusReason focusReason = Qt::OtherFocusReason); bool hasFocus() const; diff --git a/src/gui/graphicsview/qgraphicssceneevent.cpp b/src/gui/graphicsview/qgraphicssceneevent.cpp index ec4f5f8..7906fb8 100644 --- a/src/gui/graphicsview/qgraphicssceneevent.cpp +++ b/src/gui/graphicsview/qgraphicssceneevent.cpp @@ -270,6 +270,7 @@ #include <QtCore/qstring.h> #include "qgraphicsview.h" #include "qgraphicsitem.h" +#include <QtGui/qgesture.h> #include <private/qevent_p.h> QT_BEGIN_NAMESPACE |