summaryrefslogtreecommitdiff
path: root/src/mobile/util/findqmlobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mobile/util/findqmlobject.h')
-rw-r--r--src/mobile/util/findqmlobject.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mobile/util/findqmlobject.h b/src/mobile/util/findqmlobject.h
new file mode 100644
index 0000000..bfbbcac
--- /dev/null
+++ b/src/mobile/util/findqmlobject.h
@@ -0,0 +1,28 @@
+/*********
+*
+* In the name of the Father, and of the Son, and of the Holy Spirit.
+*
+* This file is part of BibleTime's source code, http://www.bibletime.info/.
+*
+* Copyright 1999-2014 by the BibleTime developers.
+* The BibleTime source code is licensed under the GNU General Public License
+* version 2.0.
+*
+**********/
+
+#ifndef FIND_QML_OBJECT
+#define FIND_QML_OBJECT
+
+#include <QString>
+
+class QQuickItem;
+
+namespace btm {
+
+// Finds the named QML object that is located at the
+// top level of the QML objects.
+QQuickItem* findQmlObject(const QString& objectName);
+
+}
+
+#endif