Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmlenginedebugservice.cpp File Reference
#include "qqmlenginedebugservice.h"
#include "qqmlwatcher.h"
#include <private/qqmldebugstatesdelegate_p.h>
#include <private/qqmlboundsignal_p.h>
#include <qqmlengine.h>
#include <private/qqmlmetatype_p.h>
#include <qqmlproperty.h>
#include <private/qqmlproperty_p.h>
#include <private/qqmlbinding_p.h>
#include <private/qqmlcontext_p.h>
#include <private/qqmlvaluetype_p.h>
#include <private/qqmlvmemetaobject_p.h>
#include <private/qqmlexpression_p.h>
#include <QtCore/qdebug.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qjsonvalue.h>
#include <QtCore/qjsonobject.h>
#include <QtCore/qjsonarray.h>
#include <QtCore/qjsondocument.h>
#include <private/qmetaobject_p.h>
#include <private/qqmldebugconnector_p.h>
#include <private/qversionedpacket_p.h>
#include "moc_qqmlenginedebugservice.cpp"
+ Include dependency graph for qqmlenginedebugservice.cpp:

Go to the source code of this file.

Classes

class  NullDevice
 

Typedefs

using QQmlDebugPacket = QVersionedPacket< QQmlDebugConnector >
 

Functions

static bool isSaveable (const QVariant &value)
 
QDataStreamoperator<< (QDataStream &ds, const QQmlEngineDebugServiceImpl::QQmlObjectData &data)
 
QDataStreamoperator>> (QDataStream &ds, QQmlEngineDebugServiceImpl::QQmlObjectData &data)
 
QDataStreamoperator<< (QDataStream &ds, const QQmlEngineDebugServiceImpl::QQmlObjectProperty &data)
 
QDataStreamoperator>> (QDataStream &ds, QQmlEngineDebugServiceImpl::QQmlObjectProperty &data)
 
static bool isSignalPropertyName (const QString &signalName)
 
static bool hasValidSignal (QObject *object, const QString &propertyName)
 

Typedef Documentation

◆ QQmlDebugPacket

Function Documentation

◆ hasValidSignal()

static bool hasValidSignal ( QObject object,
const QString propertyName 
)
static

Definition at line 129 of file qqmlenginedebugservice.cpp.

References QString::at(), QQmlPropertyPrivate::findSignalByName(), isSignalPropertyName(), QMetaMethod::methodIndex(), QString::mid(), QString::toLatin1(), and QChar::toLower().

+ Here is the call graph for this function:

◆ isSaveable()

static bool isSaveable ( const QVariant value)
static

Definition at line 59 of file qqmlenginedebugservice.cpp.

References QMetaType::save(), and QMetaType::User.

Referenced by operator<<().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isSignalPropertyName()

static bool isSignalPropertyName ( const QString signalName)
inlinestatic

Definition at line 122 of file qqmlenginedebugservice.cpp.

References QString::at(), QChar::isLetter(), QChar::isUpper(), QString::size(), and QString::startsWith().

Referenced by hasValidSignal().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator<<() [1/2]

QDataStream & operator<< ( QDataStream ds,
const QQmlEngineDebugServiceImpl::QQmlObjectData data 
)

Definition at line 85 of file qqmlenginedebugservice.cpp.

◆ operator<<() [2/2]

QDataStream & operator<< ( QDataStream ds,
const QQmlEngineDebugServiceImpl::QQmlObjectProperty data 
)

Definition at line 103 of file qqmlenginedebugservice.cpp.

References isSaveable().

+ Here is the call graph for this function:

◆ operator>>() [1/2]

Definition at line 94 of file qqmlenginedebugservice.cpp.

◆ operator>>() [2/2]

Definition at line 112 of file qqmlenginedebugservice.cpp.