diff options
Diffstat (limited to 'src/gui/kernel/qwindow.cpp')
-rw-r--r-- | src/gui/kernel/qwindow.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index 04098b44c8..80666b87d2 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -663,6 +663,15 @@ QAccessibleInterface *QWindow::accessibleRoot() const return 0; } +/*! + Returns the QObject that will be the final receiver of events tied focus, such + as key events. +*/ +QObject *QWindow::focusObject() const +{ + return const_cast<QWindow *>(this); +} + void QWindow::showMinimized() { |