Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqmlparserstatus.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQMLPARSERSTATUS_H
5#define QQMLPARSERSTATUS_H
6
7#include <QtQml/qtqmlglobal.h>
8#include <QtCore/qobject.h>
9
11
12
13class Q_QML_EXPORT QQmlParserStatus
14{
15public:
17 virtual ~QQmlParserStatus();
18
19 virtual void classBegin()=0;
20 virtual void componentComplete()=0;
21
22private:
23 friend class QQmlComponent;
25 friend class QQmlEnginePrivate;
26 friend class QQmlObjectCreator;
28};
29
30#define QQmlParserStatus_iid "org.qt-project.Qt.QQmlParserStatus"
32
34
35#endif // QQMLPARSERSTATUS_H
The QQmlComponent class encapsulates a QML component definition.
The QQmlParserStatus class provides updates on the QML parser state.
virtual void classBegin()=0
Invoked after class creation, but before any properties have been set.
virtual void componentComplete()=0
Invoked after the root component that caused this instantiation has completed construction.
Combined button and popup list for selecting options.
#define Q_DECLARE_INTERFACE(IFace, IId)
Definition qobject.h:460
#define QQmlParserStatus_iid