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
qqmlcpponassignment_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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 QQMLCPPONASSIGNMENT_P_H
5#define QQMLCPPONASSIGNMENT_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <private/qqmlpropertyvalueinterceptor_p.h>
19#include <QtQml/qqmlpropertyvaluesource.h>
20
22
33struct Q_QML_EXPORT QQmlCppOnAssignmentHelper
34{
35 // TODO: in theory, this API might just accept QObject * and int that would
36 // give the QMetaProperty. using the meta property, one could create
37 // QQmlProperty with a call to QQmlProperty::restore() (if there's an
38 // overload that takes QMetaProperty instead of QQmlPropertyData - which is
39 // also possible to add by using QQmlPropertyData::load())
40 static void set(QQmlPropertyValueInterceptor *interceptor, const QQmlProperty &property);
41 static void set(QQmlPropertyValueSource *valueSource, const QQmlProperty &property);
42};
43
45
46#endif // QQMLCPPONASSIGNMENT_P_H
The QQmlPropertyValueInterceptor class is inherited by property interceptors such as Behavior.
The QQmlPropertyValueSource class is an interface for property value sources such as animations and b...
The QQmlProperty class abstracts accessing properties on objects created from QML.
Combined button and popup list for selecting options.
const char property[13]
Definition qwizard.cpp:101
QFuture< QSet< QChar > > set
[10]