summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-06-26 13:54:04 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-06-26 14:56:38 (GMT)
commit7541247a025bf112716a752bc4d114303f2a77f8 (patch)
treed170ff340b8fe60f320eaab0f766784f0287912a /src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
parenteab949e2ec8f820a54826c1a837c8c8de07814ab (diff)
downloadQt-7541247a025bf112716a752bc4d114303f2a77f8.zip
Qt-7541247a025bf112716a752bc4d114303f2a77f8.tar.gz
Qt-7541247a025bf112716a752bc4d114303f2a77f8.tar.bz2
Proper handling of scene rect in QGraphicsScene(Index).
Reviewed-by: Andreas
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h b/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
index f2f958f..850cc3f 100644
--- a/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
+++ b/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
@@ -90,6 +90,9 @@ public:
int bspTreeDepth();
void setBspTreeDepth(int depth);
+protected Q_SLOTS:
+ void updateSceneRect(const QRectF &rect);
+
protected:
bool event(QEvent *event);
void clear();
@@ -98,7 +101,6 @@ protected:
void removeItem(QGraphicsItem *item);
void prepareBoundingRectChange(const QGraphicsItem *item);
- void sceneRectChanged();
void itemChange(const QGraphicsItem *item, QGraphicsItem::GraphicsItemChange change, const QVariant &value);
private :