summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformwindow.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-03-22 15:08:10 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-04-17 12:55:06 +0000
commit49b4433adf254b81f8b7727fbcf88ce2a48100ba (patch)
treeb7981f3364ee345f9d46131ce50c0bd5d6a6ea8d /src/gui/kernel/qplatformwindow.h
parent8e2a9705669e11a1510bca37121fc27cddd13007 (diff)
Provide QPlatformWindow::hasPendingUpdateRequest() helper function
So that platform plugins don't need to dive into QWindowPrivate. Change-Id: Ia2d94b3e9236e4a68857e6afe7af063f1b0d0aeb Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformwindow.h')
-rw-r--r--src/gui/kernel/qplatformwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformwindow.h b/src/gui/kernel/qplatformwindow.h
index 2fe8ad94e6..2b353959c7 100644
--- a/src/gui/kernel/qplatformwindow.h
+++ b/src/gui/kernel/qplatformwindow.h
@@ -144,6 +144,7 @@ public:
const QRect &initialGeometry, int defaultWidth, int defaultHeight);
virtual void requestUpdate();
+ bool hasPendingUpdateRequest() const;
virtual void deliverUpdateRequest();
// Window property accessors. Platform plugins should use these