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
QQmlNativeDebugConnector Class Reference

#include <qqmlnativedebugconnector.h>

+ Inheritance diagram for QQmlNativeDebugConnector:
+ Collaboration diagram for QQmlNativeDebugConnector:

Public Member Functions

 QQmlNativeDebugConnector ()
 
 ~QQmlNativeDebugConnector () override
 
bool blockingMode () const override
 
QQmlDebugServiceservice (const QString &name) const override
 
void addEngine (QJSEngine *engine) override
 
void removeEngine (QJSEngine *engine) override
 
bool hasEngine (QJSEngine *engine) const override
 
bool addService (const QString &name, QQmlDebugService *service) override
 
bool removeService (const QString &name) override
 
bool open (const QVariantHash &configuration) override
 
- Public Member Functions inherited from QQmlDebugConnector
bool hasEngine (QJSEngine *) const
 
void addEngine (QJSEngine *)
 
void removeEngine (QJSEngine *)
 
bool open (const QVariantHash &configuration=QVariantHash())
 

Static Public Member Functions

static void setDataStreamVersion (int version)
 
- Static Public Member Functions inherited from QQmlDebugConnector
static QQmlDebugConnectorinstance ()
 
template<class Service >
static Service * service ()
 

Detailed Description

Definition at line 12 of file qqmlnativedebugconnector.h.

Constructor & Destructor Documentation

◆ QQmlNativeDebugConnector()

QT_BEGIN_NAMESPACE QQmlNativeDebugConnector::QQmlNativeDebugConnector ( )

Definition at line 149 of file qqmlnativedebugconnector.cpp.

References args, qWarning, services, and Qt::SkipEmptyParts.

◆ ~QQmlNativeDebugConnector()

QQmlNativeDebugConnector::~QQmlNativeDebugConnector ( )
override

Definition at line 173 of file qqmlnativedebugconnector.cpp.

References QQmlDebugService::NotConnected, and QQmlDebugConnector::service().

+ Here is the call graph for this function:

Member Function Documentation

◆ addEngine()

void QQmlNativeDebugConnector::addEngine ( QJSEngine * engine)
override

Definition at line 197 of file qqmlnativedebugconnector.cpp.

References engine, Q_ASSERT, QQmlDebugConnector::service(), and TRACE_PROTOCOL.

+ Here is the call graph for this function:

◆ addService()

bool QQmlNativeDebugConnector::addService ( const QString & name,
QQmlDebugService * service )
override

Definition at line 253 of file qqmlnativedebugconnector.cpp.

References connect(), it, QQmlDebugService::messagesToClient(), QQmlDebugService::messageToClient(), qPrintable, QQmlDebugConnector::service(), TRACE_PROTOCOL, and QQmlDebugService::Unavailable.

+ Here is the call graph for this function:

◆ blockingMode()

bool QQmlNativeDebugConnector::blockingMode ( ) const
override

Definition at line 182 of file qqmlnativedebugconnector.cpp.

◆ hasEngine()

bool QQmlNativeDebugConnector::hasEngine ( QJSEngine * engine) const
override

Definition at line 229 of file qqmlnativedebugconnector.cpp.

References engine.

◆ open()

bool QQmlNativeDebugConnector::open ( const QVariantHash & configuration)
override

Definition at line 291 of file qqmlnativedebugconnector.cpp.

References QStringLiteral, qt_qmlDebugConnectionBlocker, qt_qmlDebugConnectorOpen(), QVariant::toBool(), and QHash< Key, T >::value().

+ Here is the call graph for this function:

◆ removeEngine()

void QQmlNativeDebugConnector::removeEngine ( QJSEngine * engine)
override

Definition at line 213 of file qqmlnativedebugconnector.cpp.

References engine, Q_ASSERT, QQmlDebugConnector::service(), and TRACE_PROTOCOL.

+ Here is the call graph for this function:

◆ removeService()

bool QQmlNativeDebugConnector::removeService ( const QString & name)
override

Definition at line 272 of file qqmlnativedebugconnector.cpp.

References disconnect(), i, QQmlDebugService::messagesToClient(), QQmlDebugService::messageToClient(), QQmlDebugService::NotConnected, and QQmlDebugConnector::service().

+ Here is the call graph for this function:

◆ service()

QQmlDebugService * QQmlNativeDebugConnector::service ( const QString & name) const
override

Definition at line 187 of file qqmlnativedebugconnector.cpp.

References i.

◆ setDataStreamVersion()

void QQmlNativeDebugConnector::setDataStreamVersion ( int version)
static

Definition at line 299 of file qqmlnativedebugconnector.cpp.

References Q_ASSERT.

Referenced by qt_qmlDebugSetStreamVersion().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: