Qt 4.8
Public Functions | Public Variables | List of all members
QDeclarativeDebugData Struct Reference

#include <qdeclarativedebugtrace_p.h>

Public Functions

QByteArray toByteArray () const
 

Public Variables

QString detailData
 
int detailType
 
int line
 
int messageType
 
qint64 time
 

Detailed Description

Definition at line 52 of file qdeclarativedebugtrace_p.h.

Functions

◆ toByteArray()

QByteArray QDeclarativeDebugData::toByteArray ( ) const

Definition at line 113 of file qdeclarativedebugtrace.cpp.

Referenced by QDeclarativeDebugTrace::processMessage(), and QDeclarativeDebugTrace::sendMessages().

114 {
116  //### using QDataStream is relatively expensive
118  ds << time << messageType << detailType;
120  ds << detailData;
122  ds << detailData << line;
123  return data;
124 }
The QByteArray class provides an array of bytes.
Definition: qbytearray.h:135
static const char * data(const QByteArray &arr)
The QDataStream class provides serialization of binary data to a QIODevice.
Definition: qdatastream.h:71

Properties

◆ detailData

QString QDeclarativeDebugData::detailData

Definition at line 59 of file qdeclarativedebugtrace_p.h.

◆ detailType

int QDeclarativeDebugData::detailType

Definition at line 56 of file qdeclarativedebugtrace_p.h.

◆ line

int QDeclarativeDebugData::line

Definition at line 60 of file qdeclarativedebugtrace_p.h.

◆ messageType

int QDeclarativeDebugData::messageType

Definition at line 55 of file qdeclarativedebugtrace_p.h.

◆ time

qint64 QDeclarativeDebugData::time

Definition at line 54 of file qdeclarativedebugtrace_p.h.


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