summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene_bsp_p.h
diff options
context:
space:
mode:
authorAriya Hidayat <ariya.hidayat@trolltech.com>2009-03-18 15:33:03 (GMT)
committerAlexis Menard <alexis.menard@trolltech.com>2009-04-07 18:22:08 (GMT)
commit76b8d22cee1d0a12de30f2c9d49ead5625b5122f (patch)
treea782ae78a76acc3ce46347638d836744a07134e3 /src/gui/graphicsview/qgraphicsscene_bsp_p.h
parent875d5f41b1a796d91a4a8edac6c23a7965395470 (diff)
downloadQt-76b8d22cee1d0a12de30f2c9d49ead5625b5122f.zip
Qt-76b8d22cee1d0a12de30f2c9d49ead5625b5122f.tar.gz
Qt-76b8d22cee1d0a12de30f2c9d49ead5625b5122f.tar.bz2
Fixes: QGraphicsSceneIndex now inherits from QObject
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene_bsp_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsscene_bsp_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene_bsp_p.h b/src/gui/graphicsview/qgraphicsscene_bsp_p.h
index ed207ea..8b7d753 100644
--- a/src/gui/graphicsview/qgraphicsscene_bsp_p.h
+++ b/src/gui/graphicsview/qgraphicsscene_bsp_p.h
@@ -72,6 +72,8 @@ class QGraphicsSceneFindItemBspTreeVisitor;
class Q_AUTOTEST_EXPORT QGraphicsSceneBspTree : public QGraphicsSceneIndex
{
+ Q_OBJECT
+
public:
struct Node
{
@@ -83,7 +85,7 @@ public:
Type type;
};
- QGraphicsSceneBspTree();
+ QGraphicsSceneBspTree(QObject *parent = 0);
~QGraphicsSceneBspTree();
void initialize(const QRectF &rect, int depth);