summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-06-16 11:45:36 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-06-16 11:45:36 (GMT)
commit0fa15d71015adfd8895ef41a082fb9479bf4bb3d (patch)
tree4a03833f250b8b417ed0d6ff2225808d41e8277d /src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
parent2ceb72068fbb9157a058a1788863b68a12d25646 (diff)
downloadQt-0fa15d71015adfd8895ef41a082fb9479bf4bb3d.zip
Qt-0fa15d71015adfd8895ef41a082fb9479bf4bb3d.tar.gz
Qt-0fa15d71015adfd8895ef41a082fb9479bf4bb3d.tar.bz2
Remove old legacy and fix documentation.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h b/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
index b1ea977..40b8f0b 100644
--- a/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
+++ b/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
@@ -60,6 +60,7 @@ class QGraphicsSceneBspTreeIndexPrivate;
class Q_AUTOTEST_EXPORT QGraphicsSceneBspTreeIndex : public QGraphicsSceneIndex
{
Q_OBJECT
+ Q_PROPERTY(int bspTreeDepth READ bspTreeDepth WRITE setBspTreeDepth)
public:
QGraphicsSceneBspTreeIndex(QGraphicsScene *scene = 0);
QRectF indexedRect() const;
@@ -68,8 +69,8 @@ public:
QList<QGraphicsItem *> items(Qt::SortOrder order = Qt::AscendingOrder) const;
- int bspDepth();
- void setBspDepth(int depth);
+ int bspTreeDepth();
+ void setBspTreeDepth(int depth);
protected:
bool event(QEvent *event);