diff options
Diffstat (limited to 'src/plugins/platforms/ios/quiview.h')
-rw-r--r-- | src/plugins/platforms/ios/quiview.h | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/src/plugins/platforms/ios/quiview.h b/src/plugins/platforms/ios/quiview.h index 122e7c604b..99c710ffee 100644 --- a/src/plugins/platforms/ios/quiview.h +++ b/src/plugins/platforms/ios/quiview.h @@ -40,11 +40,23 @@ ****************************************************************************/ #import <UIKit/UIKit.h> -#include "qioswindow.h" + +#include <qhash.h> +#include <qstring.h> + +#include <qpa/qwindowsysteminterface.h> + +class QIOSWindow; @interface QUIView : UIView { -@public + @public + QIOSWindow *m_qioswindow; + @private + QHash<UITouch *, QWindowSystemInterface::TouchPoint> m_activeTouches; + int m_nextTouchId; + + @public UITextAutocapitalizationType autocapitalizationType; UITextAutocorrectionType autocorrectionType; BOOL enablesReturnKeyAutomatically; @@ -52,11 +64,11 @@ UIKeyboardType keyboardType; UIReturnKeyType returnKeyType; BOOL secureTextEntry; - QIOSWindow *m_qioswindow; - QHash<UITouch *, QWindowSystemInterface::TouchPoint> m_activeTouches; - int m_nextTouchId; QString m_markedText; BOOL m_inSendEventToFocusObject; + + @private + NSMutableArray *m_accessibleElements; } @property(nonatomic, assign) id<UITextInputDelegate> inputDelegate; @@ -69,6 +81,8 @@ @property(nonatomic) UIReturnKeyType returnKeyType; @property(nonatomic, getter=isSecureTextEntry) BOOL secureTextEntry; +- (id)initWithQIOSWindow:(QIOSWindow *)window; +- (void)sendUpdatedExposeEvent; @end @interface QUIView (TextInput) <UITextInput> @@ -77,3 +91,7 @@ - (void)commit; + (bool)inUpdateKeyboardLayout; @end + +@interface QUIView (Accessibility) +- (void)clearAccessibleCache; +@end |