diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2012-07-06 13:39:31 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-03 19:35:35 +0200 |
commit | fac7c8570b50479b4841ffde9c4cef5931d854b6 (patch) | |
tree | aceccc6ff1b21e42f23edf34beb8b6fc77862d74 /src/plugins/platforms/cocoa/qcocoawindow.h | |
parent | cb8424b381e75ce0024ae48b7f844a19ac8da388 (diff) |
Cleaner support for window flags in QCocoaWindow
Window flags were not properly forwarded to the platform window
instance. Particularly in the use cases found in QtQuick desktop
components.
Change-Id: Ibeadfee7de95ba497e9c0f765acee77c84884466
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@nokia.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoawindow.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoawindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.h b/src/plugins/platforms/cocoa/qcocoawindow.h index 32d9044ff6..ef80616221 100644 --- a/src/plugins/platforms/cocoa/qcocoawindow.h +++ b/src/plugins/platforms/cocoa/qcocoawindow.h @@ -118,7 +118,10 @@ public: void windowDidMove(); void windowDidResize(); void windowWillClose(); - bool windowIsPopupType() const; + bool windowIsPopupType(Qt::WindowType type = Qt::Widget) const; + + NSInteger windowLevel(Qt::WindowFlags flags); + NSUInteger windowStyleMask(Qt::WindowFlags flags); void setCurrentContext(QCocoaGLContext *context); QCocoaGLContext *currentContext() const; |