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.cpp File Reference

(c2d490a2385ea6f389340a296acaac0fa198c8b9)

#include "qqmlnativedebugconnector.h"
#include <private/qhooks_p.h>
#include <private/qversionedpacket_p.h>
#include <QtQml/qjsengine.h>
#include <QtCore/qdebug.h>
#include <QtCore/qjsonarray.h>
#include <QtCore/qjsondocument.h>
#include <QtCore/qjsonobject.h>
#include <QtCore/qjsonvalue.h>
#include <QtCore/qpointer.h>
#include <QtCore/qvector.h>
#include "moc_qqmlnativedebugconnector.cpp"
+ Include dependency graph for qqmlnativedebugconnector.cpp:

Go to the source code of this file.

Macros

#define TRACE_PROTOCOL(s)
 

Functions

Q_DECL_EXPORT void qt_qmlDebugConnectorOpen ()
 
Q_DECL_EXPORT void qt_qmlDebugSetStreamVersion (int version)
 
Q_DECL_EXPORT void qt_qmlDebugMessageAvailable ()
 
Q_DECL_EXPORT void qt_qmlDebugObjectAvailable ()
 
Q_DECL_EXPORT void qt_qmlDebugClearBuffer ()
 
Q_DECL_EXPORT bool qt_qmlDebugSendDataToService (const char *serviceName, const char *hexData)
 
Q_DECL_EXPORT bool qt_qmlDebugEnableService (const char *data)
 
Q_DECL_EXPORT bool qt_qmlDebugDisableService (const char *data)
 

Variables

static QT_USE_NAMESPACE bool expectSyncronousResponse = false
 
Q_DECL_EXPORT const char * qt_qmlDebugMessageBuffer
 
Q_DECL_EXPORT int qt_qmlDebugMessageLength
 
Q_DECL_EXPORT bool qt_qmlDebugConnectionBlocker
 
quintptr qt_qmlDebugTestHooks []
 

Macro Definition Documentation

◆ TRACE_PROTOCOL

#define TRACE_PROTOCOL ( s)

Function Documentation

◆ qt_qmlDebugClearBuffer()

Q_DECL_EXPORT void qt_qmlDebugClearBuffer ( )

◆ qt_qmlDebugConnectorOpen()

Q_DECL_EXPORT void qt_qmlDebugConnectorOpen ( )

Definition at line 131 of file qqmlnativedebugconnector.cpp.

References qt_qmlDebugConnectionBlocker, qt_qmlDebugTestHooks, qtHookData, QHooks::Startup, and TRACE_PROTOCOL.

Referenced by QQmlNativeDebugConnector::open().

+ Here is the caller graph for this function:

◆ qt_qmlDebugDisableService()

Q_DECL_EXPORT bool qt_qmlDebugDisableService ( const char * data)

Definition at line 101 of file qqmlnativedebugconnector.cpp.

References QString::fromLatin1(), QQmlDebugConnector::instance(), QQmlDebugConnector::service(), and QQmlDebugService::Unavailable.

+ Here is the call graph for this function:

◆ qt_qmlDebugEnableService()

Q_DECL_EXPORT bool qt_qmlDebugEnableService ( const char * data)

Definition at line 84 of file qqmlnativedebugconnector.cpp.

References QQmlDebugService::Enabled, QString::fromLatin1(), QQmlDebugConnector::instance(), and QQmlDebugConnector::service().

+ Here is the call graph for this function:

◆ qt_qmlDebugMessageAvailable()

Q_DECL_EXPORT void qt_qmlDebugMessageAvailable ( )

Definition at line 44 of file qqmlnativedebugconnector.cpp.

◆ qt_qmlDebugObjectAvailable()

Q_DECL_EXPORT void qt_qmlDebugObjectAvailable ( )

Definition at line 51 of file qqmlnativedebugconnector.cpp.

◆ qt_qmlDebugSendDataToService()

Q_DECL_EXPORT bool qt_qmlDebugSendDataToService ( const char * serviceName,
const char * hexData )

Definition at line 63 of file qqmlnativedebugconnector.cpp.

References expectSyncronousResponse, QByteArray::fromHex(), QQmlDebugConnector::instance(), QQmlDebugConnector::service(), and TRACE_PROTOCOL.

+ Here is the call graph for this function:

◆ qt_qmlDebugSetStreamVersion()

Q_DECL_EXPORT void qt_qmlDebugSetStreamVersion ( int version)

Definition at line 37 of file qqmlnativedebugconnector.cpp.

References QQmlNativeDebugConnector::setDataStreamVersion().

+ Here is the call graph for this function:

Variable Documentation

◆ expectSyncronousResponse

QT_USE_NAMESPACE bool expectSyncronousResponse = false
static

Definition at line 23 of file qqmlnativedebugconnector.cpp.

Referenced by qt_qmlDebugSendDataToService().

◆ qt_qmlDebugConnectionBlocker

Q_DECL_EXPORT bool qt_qmlDebugConnectionBlocker

◆ qt_qmlDebugMessageBuffer

Q_DECL_EXPORT const char* qt_qmlDebugMessageBuffer

Definition at line 28 of file qqmlnativedebugconnector.cpp.

Referenced by qt_qmlDebugClearBuffer().

◆ qt_qmlDebugMessageLength

Q_DECL_EXPORT int qt_qmlDebugMessageLength

Definition at line 29 of file qqmlnativedebugconnector.cpp.

Referenced by qt_qmlDebugClearBuffer().

◆ qt_qmlDebugTestHooks

quintptr qt_qmlDebugTestHooks[]
Initial value:
= {
quintptr(1),
quintptr(6),
}
Q_DECL_EXPORT int qt_qmlDebugMessageLength
Q_DECL_EXPORT void qt_qmlDebugClearBuffer()
Q_DECL_EXPORT bool qt_qmlDebugEnableService(const char *data)
Q_DECL_EXPORT bool qt_qmlDebugDisableService(const char *data)
Q_DECL_EXPORT bool qt_qmlDebugSendDataToService(const char *serviceName, const char *hexData)
Q_DECL_EXPORT void qt_qmlDebugObjectAvailable()
Q_DECL_EXPORT const char * qt_qmlDebugMessageBuffer
size_t quintptr
Definition qtypes.h:167

Definition at line 118 of file qqmlnativedebugconnector.cpp.

Referenced by qt_qmlDebugConnectorOpen().