macOS: Namespace FullScreenProperty category on NSWindow

Change-Id: I48e1bf91ebcfe10bd8b6a2df510c8b6a3e19e1d9
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
Tor Arne Vestbø 2018-01-09 18:26:18 +01:00 committed by Jani Heikkinen
parent 841542225b
commit 0c5953fd4e

View File

@ -89,6 +89,11 @@ static void qt_closePopups()
}
}
// @compatibility_alias doesn't work with categories or their methods
#define FullScreenProperty QT_MANGLE_NAMESPACE(FullScreenProperty)
#define qt_fullScreen QT_MANGLE_NAMESPACE(qt_fullScreen)
@interface NSWindow (FullScreenProperty)
@property(readonly) BOOL qt_fullScreen;
@end