summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qiostextresponder.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2015-03-17 15:47:30 +0100
committerTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2015-03-18 13:07:34 +0000
commit64475cc6780515172a5f38428854b14f69da070d (patch)
treed739c7b913d710a5168e7193b207b031b587b9f4 /src/plugins/platforms/ios/qiostextresponder.h
parent0411240fdaada112d150f28f82973beb15478b1d (diff)
iOS: Leave it up to QIOSTextInputResponder to decide when to reconfigure
We need to store the IM state as part of the QIOSTextInputResponder, so that the text responder can decide at a later point if it can still be the text responder for the current (possibly changed) focus object. Change-Id: I4ec861c5479238edf6a0fc101fa8241958af2d32 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/ios/qiostextresponder.h')
-rw-r--r--src/plugins/platforms/ios/qiostextresponder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiostextresponder.h b/src/plugins/platforms/ios/qiostextresponder.h
index 4cb8a9c815..96d30ea89a 100644
--- a/src/plugins/platforms/ios/qiostextresponder.h
+++ b/src/plugins/platforms/ios/qiostextresponder.h
@@ -34,6 +34,7 @@
#import <UIKit/UIKit.h>
#include <QtCore/qstring.h>
+#include <QtGui/qevent.h>
class QIOSInputContext;
@@ -41,12 +42,15 @@ class QIOSInputContext;
{
@private
QIOSInputContext *m_inputContext;
+ QInputMethodQueryEvent *m_configuredImeState;
QString m_markedText;
BOOL m_inSendEventToFocusObject;
BOOL m_inSelectionChange;
}
- (id)initWithInputContext:(QIOSInputContext *)context;
+- (BOOL)needsKeyboardReconfigure:(Qt::InputMethodQueries)updatedProperties;
+
- (void)notifyInputDelegate:(Qt::InputMethodQueries)updatedProperties;
@property(readwrite, retain) UIView *inputView;