diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-07-29 03:45:15 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-07-29 06:43:36 (GMT) |
commit | 8334e6f6590d801971a3ec9fe64ff087c750c26a (patch) | |
tree | c52c19a5164139132ac33c6098347ee115ff4ecf /src/gui/graphicsview/qgraphicsitem_p.h | |
parent | 0eccc0f9ee9579883a829c373cfc1c072704bca0 (diff) | |
download | Qt-8334e6f6590d801971a3ec9fe64ff087c750c26a.zip Qt-8334e6f6590d801971a3ec9fe64ff087c750c26a.tar.gz Qt-8334e6f6590d801971a3ec9fe64ff087c750c26a.tar.bz2 |
Add support for updating the source when bounding rect changes.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h index de8b0a5..8a2dae9 100644 --- a/src/gui/graphicsview/qgraphicsitem_p.h +++ b/src/gui/graphicsview/qgraphicsitem_p.h @@ -543,6 +543,9 @@ public: inline const QGraphicsItem *graphicsItem() const { return item; } + inline void update() + { item->update(); } + inline const QStyleOption *styleOption() const { return info ? info->option : 0; } |