summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qioswindow.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>2012-12-19 10:46:22 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 23:55:58 +0100
commitbbb8db9bdb503f4f2c558e5f081c201c09d33d77 (patch)
treeec325c055d4807adeefa293fd787371e8d2a062d /src/plugins/platforms/ios/qioswindow.h
parent2dea9fdc3a04ccc9759427c6450e88cb78003381 (diff)
iOS: make EAGLView private in QIOSWindow
Not the biggest gain, but since all the members of EAGLView are declared private, we might as well move the whole interface into the source file. We can then make the members public without caring about interface readability. We will make use of this in a following patch. Change-Id: I144fb5748573ca6faf257d72597907b5c17b1e05 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qioswindow.h')
-rw-r--r--src/plugins/platforms/ios/qioswindow.h29
1 files changed, 2 insertions, 27 deletions
diff --git a/src/plugins/platforms/ios/qioswindow.h b/src/plugins/platforms/ios/qioswindow.h
index cb2854d60e..d0df791cf0 100644
--- a/src/plugins/platforms/ios/qioswindow.h
+++ b/src/plugins/platforms/ios/qioswindow.h
@@ -49,31 +49,6 @@
class QIOSContext;
class QIOSWindow;
-@interface EAGLView : UIView <UIKeyInput>
-{
- UITextAutocapitalizationType autocapitalizationType;
- UITextAutocorrectionType autocorrectionType;
- BOOL enablesReturnKeyAutomatically;
- UIKeyboardAppearance keyboardAppearance;
- UIKeyboardType keyboardType;
- UIReturnKeyType returnKeyType;
- BOOL secureTextEntry;
- QIOSWindow *m_qioswindow;
-}
-
-- (id)initWithQIOSWindow:(QIOSWindow *)qioswindow;
-- (void)sendMouseEventForTouches:(NSSet *)touches withEvent:(UIEvent *)event fakeButtons:(Qt::MouseButtons)buttons;
-
-@property(nonatomic) UITextAutocapitalizationType autocapitalizationType;
-@property(nonatomic) UITextAutocorrectionType autocorrectionType;
-@property(nonatomic) BOOL enablesReturnKeyAutomatically;
-@property(nonatomic) UIKeyboardAppearance keyboardAppearance;
-@property(nonatomic) UIKeyboardType keyboardType;
-@property(nonatomic) UIReturnKeyType returnKeyType;
-@property(nonatomic, getter=isSecureTextEntry) BOOL secureTextEntry;
-
-@end
-
QT_BEGIN_NAMESPACE
class QIOSWindow : public QPlatformWindow
@@ -92,10 +67,10 @@ public:
GLuint colorRenderbuffer(const QIOSContext &context) const;
qreal devicePixelRatio() const;
- EAGLView *nativeView() const { return m_view; }
+ UIView *nativeView() const { return m_view; }
private:
- EAGLView *m_view;
+ UIView *m_view;
QRect m_requestedGeometry;
mutable struct GLData {