diff options
Diffstat (limited to 'src/qmlcompiler/qqmljstypedescriptionreader_p.h')
-rw-r--r-- | src/qmlcompiler/qqmljstypedescriptionreader_p.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qmlcompiler/qqmljstypedescriptionreader_p.h b/src/qmlcompiler/qqmljstypedescriptionreader_p.h index 37dd388308..2bbae61fd6 100644 --- a/src/qmlcompiler/qqmljstypedescriptionreader_p.h +++ b/src/qmlcompiler/qqmljstypedescriptionreader_p.h @@ -4,7 +4,7 @@ #ifndef QQMLJSTYPEDESCRIPTIONREADER_P_H #define QQMLJSTYPEDESCRIPTIONREADER_P_H -#include <private/qtqmlcompilerexports_p.h> +#include <qtqmlcompilerexports.h> // // W A R N I N G @@ -25,7 +25,7 @@ QT_BEGIN_NAMESPACE -class Q_QMLCOMPILER_PRIVATE_EXPORT QQmlJSTypeDescriptionReader +class Q_QMLCOMPILER_EXPORT QQmlJSTypeDescriptionReader { Q_DECLARE_TR_FUNCTIONS(QQmlJSTypeDescriptionReader) public: @@ -55,6 +55,7 @@ private: QTypeRevision readNumericVersionBinding(QQmlJS::AST::UiScriptBinding *ast); int readIntBinding(QQmlJS::AST::UiScriptBinding *ast); QList<QQmlJSScope::Export> readExports(QQmlJS::AST::UiScriptBinding *ast); + void readAliases(QQmlJS::AST::UiScriptBinding *ast, const QQmlJSScope::Ptr &scope); void readInterfaces(QQmlJS::AST::UiScriptBinding *ast, const QQmlJSScope::Ptr &scope); void checkMetaObjectRevisions( QQmlJS::AST::UiScriptBinding *ast, QList<QQmlJSScope::Export> *exports); @@ -75,6 +76,7 @@ private: QString m_warningMessage; QList<QQmlJSExportedScope> *m_objects = nullptr; QStringList *m_dependencies = nullptr; + int m_currentCtorIndex = 0; }; QT_END_NAMESPACE |