summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcomponentjs_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlcomponentjs_p.h')
-rw-r--r--src/declarative/qml/qmlcomponentjs_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/qml/qmlcomponentjs_p.h b/src/declarative/qml/qmlcomponentjs_p.h
index 0f56766..3213929 100644
--- a/src/declarative/qml/qmlcomponentjs_p.h
+++ b/src/declarative/qml/qmlcomponentjs_p.h
@@ -69,14 +69,14 @@ class Q_DECLARATIVE_EXPORT QmlComponentJS : public QmlComponent
{
Q_OBJECT
Q_DECLARE_PRIVATE(QmlComponentJS)
- friend class QmlEngine;
-public:
- QmlComponentJS(QmlEngine *, const QUrl &url, QObject *parent = 0);
- QmlComponentJS(QmlEngine *, QObject *parent=0);
Q_PROPERTY(bool isNull READ isNull NOTIFY isNullChanged)
Q_PROPERTY(bool isReady READ isReady NOTIFY isReadyChanged)
Q_PROPERTY(bool isError READ isError NOTIFY isErrorChanged)
Q_PROPERTY(bool isLoading READ isLoading NOTIFY isLoadingChanged)
+ friend class QmlEngine;
+public:
+ QmlComponentJS(QmlEngine *, const QUrl &url, QObject *parent = 0);
+ QmlComponentJS(QmlEngine *, QObject *parent=0);
Q_INVOKABLE QScriptValue createObject();
Q_INVOKABLE QString errorsString() const;