diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2012-12-18 09:50:28 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2013-02-27 23:55:57 +0100 |
commit | 31796ca8abb8878165c7099145b08abfdf8bf1e3 (patch) | |
tree | 9a48bbe00ee83432fdb2b8d3bba9f5ddaa0dfb61 /src/plugins/platforms/ios/qiosglobal.h | |
parent | b960424195634c00673d499e4719ccb4f8704ad0 (diff) |
iOS: report changes to keyboard rect back to Qt
QInputContext expects us to report whenever the
input panel changes geometry. This patch implements
this.
Change-Id: I9162f0d48da6925274a7489c9bcb6adab9afae82
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qiosglobal.h')
-rw-r--r-- | src/plugins/platforms/ios/qiosglobal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiosglobal.h b/src/plugins/platforms/ios/qiosglobal.h index 7a23a2a485..849d9bce37 100644 --- a/src/plugins/platforms/ios/qiosglobal.h +++ b/src/plugins/platforms/ios/qiosglobal.h @@ -54,6 +54,7 @@ CGRect toCGRect(const QRect &rect); QRect fromCGRect(const CGRect &rect); Qt::ScreenOrientation toQtScreenOrientation(UIDeviceOrientation uiDeviceOrientation); UIDeviceOrientation fromQtScreenOrientation(Qt::ScreenOrientation qtOrientation); +QRect fromPortraitToPrimary(const QRect &rect); QT_END_NAMESPACE |