diff options
author | Morten Sorvig <morten.sorvig@nokia.com> | 2011-10-26 10:00:26 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-27 09:37:29 +0200 |
commit | db44fdf4d65493706dc9a0aaf5e58729dc7867f9 (patch) | |
tree | 430231ce03f1ccc9720836714db2dda8a572a5b8 /src/plugins/platforms/cocoa/qcocoahelpers.h | |
parent | af8795c2b5305cf92df3249c6bd3cc6292415d8f (diff) |
Cocoa: Implement propagateSizeHints.
Change-Id: Idc1244ffbf975972f01d9ee48092500a72739d37
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoahelpers.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoahelpers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoahelpers.h b/src/plugins/platforms/cocoa/qcocoahelpers.h index 78904bc7a7..3c1c0655f8 100644 --- a/src/plugins/platforms/cocoa/qcocoahelpers.h +++ b/src/plugins/platforms/cocoa/qcocoahelpers.h @@ -77,6 +77,8 @@ CGImageRef qt_mac_image_to_cgimage(const QImage &image); NSImage *qt_mac_cgimage_to_nsimage(CGImageRef iamge); NSImage *qt_mac_create_nsimage(const QPixmap &pm); +NSSize qt_mac_toNSSize(const QSize &qtSize); + QChar qt_mac_qtKey2CocoaKey(Qt::Key key); Qt::Key qt_mac_cocoaKey2QtKey(QChar keyCode); |