summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qplatformwindow.cpp')
-rw-r--r--src/gui/kernel/qplatformwindow.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformwindow.cpp b/src/gui/kernel/qplatformwindow.cpp
index d79884a1db..748a7825b6 100644
--- a/src/gui/kernel/qplatformwindow.cpp
+++ b/src/gui/kernel/qplatformwindow.cpp
@@ -175,6 +175,19 @@ bool QPlatformWindow::isActive() const
}
/*!
+ Returns true if the window is a descendant of an embedded non-Qt window.
+ Example of an embedded non-Qt window is the parent window of an in-process QAxServer.
+
+ If \a parentWindow is nonzero, only check if the window is embedded in the
+ specified \a parentWindow.
+*/
+bool QPlatformWindow::isEmbedded(const QPlatformWindow *parentWindow) const
+{
+ Q_UNUSED(parentWindow);
+ return false;
+}
+
+/*!
Requests setting the window state of this surface
to \a type. Returns the actual state set.