Qt 4.8
Public Functions | Public Variables | List of all members
QDebug::Stream Struct Reference

Public Functions

 Stream (QIODevice *device)
 
 Stream (QString *string)
 
 Stream (QtMsgType t)
 

Public Variables

QString buffer
 
bool message_output
 
int ref
 
bool space
 
QTextStream ts
 
QtMsgType type
 

Detailed Description

Definition at line 64 of file qdebug.h.

Constructors and Destructors

◆ Stream() [1/3]

QDebug::Stream::Stream ( QIODevice device)
inline

Definition at line 65 of file qdebug.h.

65 : ts(device), ref(1), type(QtDebugMsg), space(true), message_output(false) {}
bool space
Definition: qdebug.h:72
QtMsgType type
Definition: qdebug.h:71
bool message_output
Definition: qdebug.h:73
QTextStream ts
Definition: qdebug.h:68

◆ Stream() [2/3]

QDebug::Stream::Stream ( QString string)
inline

Definition at line 66 of file qdebug.h.

66 : ts(string, QIODevice::WriteOnly), ref(1), type(QtDebugMsg), space(true), message_output(false) {}
bool space
Definition: qdebug.h:72
QtMsgType type
Definition: qdebug.h:71
bool message_output
Definition: qdebug.h:73
QTextStream ts
Definition: qdebug.h:68

◆ Stream() [3/3]

QDebug::Stream::Stream ( QtMsgType  t)
inline

Definition at line 67 of file qdebug.h.

67 : ts(&buffer, QIODevice::WriteOnly), ref(1), type(t), space(true), message_output(true) {}
QString buffer
Definition: qdebug.h:69
bool space
Definition: qdebug.h:72
QtMsgType type
Definition: qdebug.h:71
bool message_output
Definition: qdebug.h:73
QTextStream ts
Definition: qdebug.h:68

Properties

◆ buffer

QString QDebug::Stream::buffer

Definition at line 69 of file qdebug.h.

◆ message_output

bool QDebug::Stream::message_output

Definition at line 73 of file qdebug.h.

◆ ref

int QDebug::Stream::ref

Definition at line 70 of file qdebug.h.

◆ space

bool QDebug::Stream::space

Definition at line 72 of file qdebug.h.

◆ ts

QTextStream QDebug::Stream::ts

Definition at line 68 of file qdebug.h.

◆ type

QtMsgType QDebug::Stream::type

Definition at line 71 of file qdebug.h.


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