diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-05-11 20:25:23 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-05-13 14:30:43 +0200 |
commit | c85603385130703f9a24dd4d80978c70888d3ad1 (patch) | |
tree | 704170e44ebac7e5fe2f75fb33856840053a9b62 /src/plugins/platforms/cocoa/qcocoanativeinterface.h | |
parent | 7cafcd4867ec1543d09fe071f99a5563cb54433c (diff) |
Remove QPlatformNativeInterface functions for CGImage conversion
QMacExtras no longer use them. Clients who need the functionality
should use QImage::toCGImage(), or qt_mac_toQImage() from QtGui's
private qcoregraphics_p.h, until we've made a public verion of it.
Task-number: QTBUG-83252
Change-Id: If74d05afe8f4ce6728d8c503bd97f7632583fbed
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoanativeinterface.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoanativeinterface.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoanativeinterface.h b/src/plugins/platforms/cocoa/qcocoanativeinterface.h index c78f1d5a7f..70d25e345a 100644 --- a/src/plugins/platforms/cocoa/qcocoanativeinterface.h +++ b/src/plugins/platforms/cocoa/qcocoanativeinterface.h @@ -118,10 +118,6 @@ private: // Function to return NSMenu * from QPlatformMenuBar static void *qMenuBarToNSMenu(QPlatformMenuBar *platformMenuBar); - // QImage <-> CGImage conversion functions - static CGImageRef qImageToCGImage(const QImage &image); - static QImage cgImageToQImage(CGImageRef image); - // Set a QWindow as a "guest" (subwindow) of a non-QWindow static void setEmbeddedInForeignView(QPlatformWindow *window, bool embedded); |