summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@gmail.com>2009-07-01 08:38:51 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-01 08:38:51 (GMT)
commit728430d16fd62de001ba8eaccabae41feef790f2 (patch)
treec1a4594a8fa0a81bcdee447449f5cc0dfd9a5c9f /src/gui/graphicsview/qgraphicsscene.h
parent9cb231d773db6deb8fb145eb40aa949a2758d002 (diff)
downloadQt-728430d16fd62de001ba8eaccabae41feef790f2.zip
Qt-728430d16fd62de001ba8eaccabae41feef790f2.tar.gz
Qt-728430d16fd62de001ba8eaccabae41feef790f2.tar.bz2
Added QGraphicsScene::sendEvent().
Merge-request: 787 Reviewed-by: Bjørn Erik Nilsen <bjorn.nilsen@nokia.com>
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.h')
-rw-r--r--src/gui/graphicsview/qgraphicsscene.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.h b/src/gui/graphicsview/qgraphicsscene.h
index 4d65b91..c8b147f 100644
--- a/src/gui/graphicsview/qgraphicsscene.h
+++ b/src/gui/graphicsview/qgraphicsscene.h
@@ -229,6 +229,8 @@ public:
QGraphicsWidget *activeWindow() const;
void setActiveWindow(QGraphicsWidget *widget);
+ bool sendEvent(QGraphicsItem *item, QEvent *event);
+
public Q_SLOTS:
void update(const QRectF &rect = QRectF());
void invalidate(const QRectF &rect = QRectF(), SceneLayers layers = AllLayers);