summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicssceneindex.h
diff options
context:
space:
mode:
authorAriya Hidayat <ariya.hidayat@trolltech.com>2009-03-17 11:06:44 (GMT)
committerAlexis Menard <alexis.menard@trolltech.com>2009-04-07 18:17:24 (GMT)
commitff2f96de0c71f53cc71902e8119c84aed9967226 (patch)
tree24680c686c31464dc25502c65d83481f7477c602 /src/gui/graphicsview/qgraphicssceneindex.h
parent79257690c8fe8802e75a642138a2b466a0f54e65 (diff)
downloadQt-ff2f96de0c71f53cc71902e8119c84aed9967226.zip
Qt-ff2f96de0c71f53cc71902e8119c84aed9967226.tar.gz
Qt-ff2f96de0c71f53cc71902e8119c84aed9967226.tar.bz2
Fixes: New updateItem(s) function with default implementation (of removing and inserting)
Diffstat (limited to 'src/gui/graphicsview/qgraphicssceneindex.h')
-rw-r--r--src/gui/graphicsview/qgraphicssceneindex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneindex.h b/src/gui/graphicsview/qgraphicssceneindex.h
index df398ae..6246753 100644
--- a/src/gui/graphicsview/qgraphicssceneindex.h
+++ b/src/gui/graphicsview/qgraphicssceneindex.h
@@ -70,9 +70,11 @@ public:
virtual void insertItem(QGraphicsItem *item) = 0;
virtual void removeItem(QGraphicsItem *item) = 0;
+ virtual void updateItem(QGraphicsItem *item);
virtual void insertItems(const QList<QGraphicsItem *> &items);
virtual void removeItems(const QList<QGraphicsItem *> &items);
+ virtual void updateItems(const QList<QGraphicsItem *> &items);
virtual QList<QGraphicsItem *> items(const QRectF &rect) = 0;