Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmlpropertyvalueinterceptor_p.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
// Qt-Security score:significant
4
5
#
ifndef
QQMLPROPERTYVALUEINTERCEPTOR_P_H
6
#
define
QQMLPROPERTYVALUEINTERCEPTOR_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
private
/
qtqmlglobal_p
.
h
>
20
#
include
<
private
/
qqmlpropertyindex_p
.
h
>
21
#
include
<
QtCore
/
qobject
.
h
>
22
#
include
<
QtCore
/
qproperty
.
h
>
23
24
QT_BEGIN_NAMESPACE
25
26
class
QQmlProperty;
27
class
Q_QML_EXPORT
QQmlPropertyValueInterceptor
28
{
29
public
:
30
QQmlPropertyValueInterceptor();
31
virtual
~QQmlPropertyValueInterceptor();
32
virtual
void
setTarget(
const
QQmlProperty &property) = 0;
33
virtual
void
write(
const
QVariant &value) = 0;
34
virtual
bool
bindable(QUntypedBindable *bindable, QUntypedBindable target);
35
36
private
:
37
friend
class
QQmlInterceptorMetaObject;
38
39
QQmlPropertyIndex m_propertyIndex;
40
QQmlPropertyValueInterceptor *m_next;
41
};
42
43
#
define
QQmlPropertyValueInterceptor_iid
"org.qt-project.Qt.QQmlPropertyValueInterceptor"
44
45
Q_DECLARE_INTERFACE
(
QQmlPropertyValueInterceptor
,
QQmlPropertyValueInterceptor_iid
)
46
47
QT_END_NAMESPACE
48
49
#
endif
// QQMLPROPERTYVALUEINTERCEPTOR_P_H
QQmlPropertyValueInterceptor
The QQmlPropertyValueInterceptor class is inherited by property interceptors such as Behavior.
Definition
qqmlpropertyvalueinterceptor_p.h:28
Q_DECLARE_INTERFACE
Q_DECLARE_INTERFACE(QNetworkAccessBackendFactory, QNetworkAccessBackendFactory_iid)
QQmlPropertyValueInterceptor_iid
#define QQmlPropertyValueInterceptor_iid
Definition
qqmlpropertyvalueinterceptor_p.h:43
qtdeclarative
src
qml
qml
qqmlpropertyvalueinterceptor_p.h
Generated on
for Qt by
1.18.0