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
qqmlwatcher.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
QQMLWATCHER_H
6
#
define
QQMLWATCHER_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
<
QtCore
/
qobject
.
h
>
20
#
include
<
QtCore
/
qlist
.
h
>
21
#
include
<
QtCore
/
qhash
.
h
>
22
#
include
<
QtCore
/
qset
.
h
>
23
#
include
<
QtCore
/
qpointer
.
h
>
24
25
QT_BEGIN_NAMESPACE
26
27
class
QQmlWatchProxy
;
28
class
QQmlExpression;
29
class
QQmlContext;
30
class
QMetaProperty;
31
32
class
QQmlWatcher
:
public
QObject
33
{
34
Q_OBJECT
35
public
:
36
QQmlWatcher
(
QObject
* =
nullptr
);
37
38
bool
addWatch
(
int
id, quint32 objectId);
39
bool
addWatch
(
int
id, quint32 objectId,
const
QByteArray &property);
40
bool
addWatch
(
int
id, quint32 objectId,
const
QString &expr);
41
42
bool
removeWatch
(
int
id);
43
44
Q_SIGNALS
:
45
void
propertyChanged
(
int
id
,
int
objectId
,
const
QMetaProperty
&
property
,
const
QVariant
&
value
);
46
47
private
:
48
friend
class
QQmlWatchProxy
;
49
void
addPropertyWatch(
int
id, QObject *object, quint32 objectId,
const
QMetaProperty &property);
50
51
QHash<
int
, QList<QPointer<QQmlWatchProxy> > > m_proxies;
52
};
53
54
QT_END_NAMESPACE
55
56
#
endif
// QQMLWATCHER_H
NullDevice
Definition
qqmlenginedebugservice.cpp:38
NullDevice::writeData
qint64 writeData(const char *data, qint64 len) final
Writes up to maxSize bytes from data to the device.
Definition
qqmlenginedebugservice.cpp:53
NullDevice::NullDevice
NullDevice()
Definition
qqmlenginedebugservice.cpp:40
NullDevice::readData
qint64 readData(char *data, qint64 maxlen) final
Reads up to maxSize bytes from the device into data, and returns the number of bytes read or -1 if an...
Definition
qqmlenginedebugservice.cpp:47
QQmlEngineDebugServiceImpl
Definition
qqmlenginedebugservice.h:35
QQmlEngineDebugServiceImpl::engineAboutToBeAdded
void engineAboutToBeAdded(QJSEngine *) override
Definition
qqmlenginedebugservice.cpp:791
QQmlEngineDebugServiceImpl::messageReceived
void messageReceived(const QByteArray &) override
Definition
qqmlenginedebugservice.cpp:422
QQmlEngineDebugServiceImpl::~QQmlEngineDebugServiceImpl
~QQmlEngineDebugServiceImpl()
Definition
qqmlenginedebugservice.cpp:82
QQmlEngineDebugServiceImpl::engineAboutToBeRemoved
void engineAboutToBeRemoved(QJSEngine *) override
Definition
qqmlenginedebugservice.cpp:800
QQmlEngineDebugServiceImpl::statesDelegate
QQmlDebugStatesDelegate * statesDelegate()
Definition
qqmlenginedebugservice.h:67
QQmlProperty
The QQmlProperty class abstracts accessing properties on objects created from QML.
Definition
qqmlproperty.h:24
QQmlWatchProxy
Definition
qqmlwatcher.cpp:22
QQmlWatcher
Definition
qqmlwatcher.h:33
QQmlWatcher::removeWatch
bool removeWatch(int id)
Definition
qqmlwatcher.cpp:137
QQmlWatcher::addWatch
bool addWatch(int id, quint32 objectId)
Definition
qqmlwatcher.cpp:96
QQmlWatcher::addWatch
bool addWatch(int id, quint32 objectId, const QByteArray &property)
Definition
qqmlwatcher.cpp:108
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
isSaveable
static bool isSaveable(const QVariant &value)
Definition
qqmlenginedebugservice.cpp:61
hasValidSignal
static bool hasValidSignal(QObject *object, const QString &propertyName)
Definition
qqmlenginedebugservice.cpp:124
operator>>
QDataStream & operator>>(QDataStream &, QQmlEngineDebugServiceImpl::QQmlObjectProperty &)
Definition
qqmlenginedebugservice.cpp:114
operator>>
QDataStream & operator>>(QDataStream &, QQmlEngineDebugServiceImpl::QQmlObjectData &)
Definition
qqmlenginedebugservice.cpp:96
QQmlEngineDebugServiceImpl::QQmlObjectData
Definition
qqmlenginedebugservice.h:41
QQmlEngineDebugServiceImpl::QQmlObjectData::lineNumber
int lineNumber
Definition
qqmlenginedebugservice.h:43
QQmlEngineDebugServiceImpl::QQmlObjectData::objectId
int objectId
Definition
qqmlenginedebugservice.h:48
QQmlEngineDebugServiceImpl::QQmlObjectData::columnNumber
int columnNumber
Definition
qqmlenginedebugservice.h:44
QQmlEngineDebugServiceImpl::QQmlObjectData::parentId
int parentId
Definition
qqmlenginedebugservice.h:50
QQmlEngineDebugServiceImpl::QQmlObjectData::contextId
int contextId
Definition
qqmlenginedebugservice.h:49
QQmlEngineDebugServiceImpl::QQmlObjectProperty
Definition
qqmlenginedebugservice.h:53
QQmlEngineDebugServiceImpl::QQmlObjectProperty::type
Type type
Definition
qqmlenginedebugservice.h:55
QQmlEngineDebugServiceImpl::QQmlObjectProperty::Type
Type
Definition
qqmlenginedebugservice.h:54
QQmlEngineDebugServiceImpl::QQmlObjectProperty::Unknown
@ Unknown
Definition
qqmlenginedebugservice.h:54
QQmlEngineDebugServiceImpl::QQmlObjectProperty::Object
@ Object
Definition
qqmlenginedebugservice.h:54
QQmlEngineDebugServiceImpl::QQmlObjectProperty::List
@ List
Definition
qqmlenginedebugservice.h:54
QQmlEngineDebugServiceImpl::QQmlObjectProperty::SignalProperty
@ SignalProperty
Definition
qqmlenginedebugservice.h:54
QQmlEngineDebugServiceImpl::QQmlObjectProperty::Variant
@ Variant
Definition
qqmlenginedebugservice.h:54
QQmlEngineDebugServiceImpl::QQmlObjectProperty::Basic
@ Basic
Definition
qqmlenginedebugservice.h:54
QQmlEngineDebugServiceImpl::QQmlObjectProperty::hasNotifySignal
bool hasNotifySignal
Definition
qqmlenginedebugservice.h:60
qtdeclarative
src
plugins
qmltooling
qmldbg_debugger
qqmlwatcher.h
Generated on
for Qt by
1.18.0