Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_qml_qqmlparserstatus.cpp
Go to the documentation of this file.
1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4#include <QtCore/qobject.h>
5#include <QtQml/qqmlparserstatus.h>
6
7//! [0]
8class MyObject : public QObject, public QQmlParserStatus
9{
10 Q_OBJECT
11 Q_INTERFACES(QQmlParserStatus)
12
13public:
14 MyObject(QObject *parent = nullptr);
15 // ...
18};
19//! [0]
void classBegin() override
Invoked after class creation, but before any properties have been set.
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.