diff options
author | Ariya Hidayat <ariya.hidayat@trolltech.com> | 2009-03-18 15:33:03 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@trolltech.com> | 2009-04-07 18:22:08 (GMT) |
commit | 76b8d22cee1d0a12de30f2c9d49ead5625b5122f (patch) | |
tree | a782ae78a76acc3ce46347638d836744a07134e3 /src/gui/graphicsview/qgraphicssceneindex.h | |
parent | 875d5f41b1a796d91a4a8edac6c23a7965395470 (diff) | |
download | Qt-76b8d22cee1d0a12de30f2c9d49ead5625b5122f.zip Qt-76b8d22cee1d0a12de30f2c9d49ead5625b5122f.tar.gz Qt-76b8d22cee1d0a12de30f2c9d49ead5625b5122f.tar.bz2 |
Fixes: QGraphicsSceneIndex now inherits from QObject
Diffstat (limited to 'src/gui/graphicsview/qgraphicssceneindex.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicssceneindex.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneindex.h b/src/gui/graphicsview/qgraphicssceneindex.h index f78672f..d3b6c9f 100644 --- a/src/gui/graphicsview/qgraphicssceneindex.h +++ b/src/gui/graphicsview/qgraphicssceneindex.h @@ -43,6 +43,7 @@ #define QGRAPHICSSCENEINDEX_H #include <QtCore/qnamespace.h> +#include <QtCore/qobject.h> QT_BEGIN_HEADER @@ -58,10 +59,12 @@ class QRectF; class QPointF; template<typename T> class QList; -class Q_GUI_EXPORT QGraphicsSceneIndex +class Q_GUI_EXPORT QGraphicsSceneIndex: public QObject { + Q_OBJECT + public: - QGraphicsSceneIndex(); + QGraphicsSceneIndex(QObject *parent = 0); virtual ~QGraphicsSceneIndex(); virtual void setRect(const QRectF &rect) = 0; |