summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qgraphicssystem_p.h
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2009-11-19 10:43:20 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2009-11-19 10:43:20 (GMT)
commitc357ab6fbb673f75e9f2ccb2da5d3a938eaadf1f (patch)
tree7cd48b67a8452bb35d25cde2f63321358189b037 /src/gui/painting/qgraphicssystem_p.h
parent8fc2eec5b3282665f76f1e0313a03608bf4e7bc1 (diff)
downloadQt-c357ab6fbb673f75e9f2ccb2da5d3a938eaadf1f.zip
Qt-c357ab6fbb673f75e9f2ccb2da5d3a938eaadf1f.tar.gz
Qt-c357ab6fbb673f75e9f2ccb2da5d3a938eaadf1f.tar.bz2
added QGraphicsSystemScreen::topLevelAt(): find the window at a global position
This is used to determine which widget to send a pointer event to, and to implement QApplication::widgetAt().
Diffstat (limited to 'src/gui/painting/qgraphicssystem_p.h')
-rw-r--r--src/gui/painting/qgraphicssystem_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qgraphicssystem_p.h b/src/gui/painting/qgraphicssystem_p.h
index ddba22d..1bfca58 100644
--- a/src/gui/painting/qgraphicssystem_p.h
+++ b/src/gui/painting/qgraphicssystem_p.h
@@ -75,6 +75,7 @@ public:
virtual QSize physicalSize() const = 0;
virtual void setDirty(QRect) { }
virtual void pointerEvent(QMouseEvent &) { }
+ virtual QWidget *topLevelAt(const QPoint &point) const;
};
#endif // Q_WS_LITE