summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoawindow.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2016-10-24 17:02:16 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2016-10-28 05:23:02 +0000
commit87b32ba99034d64320e8c08e95e7bad74ae4b71c (patch)
treec00deedc20415a2ab138fac6d88249bca09d2dd3 /src/plugins/platforms/cocoa/qcocoawindow.h
parente3d21ef0bf11ea6ddb154490eec6b76b36df3e73 (diff)
macOS: Remove m_childWindows in favor of m_view.window.childWindows
Verified NSWindowChild use-case with windowchildgeometry manual test. Change-Id: If52abdcb87b3762182322a88d1935615a07cf162 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoawindow.h')
-rw-r--r--src/plugins/platforms/cocoa/qcocoawindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.h b/src/plugins/platforms/cocoa/qcocoawindow.h
index 7cf6621964..025ef29d1a 100644
--- a/src/plugins/platforms/cocoa/qcocoawindow.h
+++ b/src/plugins/platforms/cocoa/qcocoawindow.h
@@ -274,6 +274,8 @@ protected:
bool isChildNSWindow() const;
bool isContentView() const;
+ void foreachChildNSWindow(void (^block)(QCocoaWindow *));
+
void recreateWindowIfNeeded();
QCocoaNSWindow *createNSWindow(bool shouldBeChildNSWindow, bool shouldBePanel);
@@ -299,7 +301,6 @@ public: // for QNSView
bool m_viewIsToBeEmbedded; // true if the m_view is intended to be embedded in a "foreign" NSView hiearchy
QCocoaWindow *m_parentCocoaWindow;
- QList<QCocoaWindow *> m_childWindows;
Qt::WindowFlags m_windowFlags;
bool m_effectivelyMaximized;