summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qiosglobal.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2014-08-20 17:03:15 +0200
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2014-08-26 18:12:50 +0200
commitad120dbf13ddb7bff26e4489fbd0333facc1d38f (patch)
tree844f9ba7acd405150d25ad6592c5ebd6a3c0f67c /src/plugins/platforms/ios/qiosglobal.h
parent7a413fa40c85625562528fa4330a58eb9fe4cc05 (diff)
iOS: Add UIResponder helper to get current first responder
Change-Id: I422d45860a52861893d963fabbecd4ac30477272 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qiosglobal.h')
-rw-r--r--src/plugins/platforms/ios/qiosglobal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiosglobal.h b/src/plugins/platforms/ios/qiosglobal.h
index 17184dc21d..20bebb1f3b 100644
--- a/src/plugins/platforms/ios/qiosglobal.h
+++ b/src/plugins/platforms/ios/qiosglobal.h
@@ -65,4 +65,8 @@ int infoPlistValue(NSString* key, int defaultValue);
QT_END_NAMESPACE
+@interface UIResponder (QtFirstResponder)
++(id)currentFirstResponder;
+@end
+
#endif // QIOSGLOBAL_H