diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-07-05 14:12:42 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-07-09 10:02:55 +0000 |
commit | 920ba35397623a0743fe25e90094e4e86dd64822 (patch) | |
tree | 222f0a19b867fdfb70967fc4ebc2c674cfd30159 /src/plugins/platforms/cocoa/qcocoawindow.h | |
parent | 0e0034d93a88d1871bfea813cbe48a4deeafb7dd (diff) |
macOS: Use same naming for QPA event forwarding functions
Expose events and others will follow.
Change-Id: I8e11a133381a678517b54ad1872fe302515d4104
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoawindow.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoawindow.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.h b/src/plugins/platforms/cocoa/qcocoawindow.h index 533ad3444b..57e00e6bfe 100644 --- a/src/plugins/platforms/cocoa/qcocoawindow.h +++ b/src/plugins/platforms/cocoa/qcocoawindow.h @@ -149,8 +149,6 @@ public: bool windowShouldClose(); bool windowIsPopupType(Qt::WindowType type = Qt::Widget) const; - void reportCurrentWindowState(bool unconditionally = false); - NSInteger windowLevel(Qt::WindowFlags flags); NSUInteger windowStyleMask(Qt::WindowFlags flags); void setWindowZoomButton(Qt::WindowFlags flags); @@ -226,7 +224,13 @@ public: // for QNSView bool alwaysShowToolWindow() const; void removeMonitor(); + enum HandleFlags { + NoHandleFlags = 0, + HandleUnconditionally = 1 + }; + void handleGeometryChange(); + void handleWindowStateChanged(HandleFlags flags = NoHandleFlags); NSView *m_view; QCocoaNSWindow *m_nsWindow; |