diff options
author | Ariya Hidayat <ariya.hidayat@trolltech.com> | 2009-03-17 11:06:44 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@trolltech.com> | 2009-04-07 18:17:24 (GMT) |
commit | ff2f96de0c71f53cc71902e8119c84aed9967226 (patch) | |
tree | 24680c686c31464dc25502c65d83481f7477c602 /src/gui/graphicsview/qgraphicssceneindex.h | |
parent | 79257690c8fe8802e75a642138a2b466a0f54e65 (diff) | |
download | Qt-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.h | 2 |
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; |