Detailed Description
Definition at line 62 of file qdebug.h.
#include <qdebug.h>
List of all
members.
Constructor & Destructor Documentation
Definition at line 76 of file qdebug.h.
: stream(new Stream(device)) {}
Definition at line 77 of file qdebug.h.
: stream(new Stream(string)) {}
| QDebug |
( |
QtMsgType |
t |
) |
[inline] |
Definition at line 78 of file qdebug.h.
: stream(new Stream(t)) {}
Definition at line 79 of file qdebug.h.
:stream(o.stream) { ++stream->ref; }
Definition at line 81 of file qdebug.h.
{
if (!--stream->ref) {
if(stream->message_output) {
QT_TRY {
qt_message_output(stream->type, stream->buffer.toLocal8Bit().data());
} QT_CATCH(std::bad_alloc&) { }
}
delete stream;
}
}
Member Function Documentation
Definition at line 148 of file qdebug.h.
{
if (this != &other) {
QDebug copy(other);
qSwap(stream, copy.stream);
}
return *this;
}
Definition at line 91 of file qdebug.h.
{ stream->space = true; stream->ts << ' '; return *this; }
Definition at line 92 of file qdebug.h.
{ stream->space = false; return *this; }
| QDebug& maybeSpace |
( |
|
) |
[inline] |
Definition at line 93 of file qdebug.h.
{ if (stream->space) stream->ts << ' '; return *this; }
| QDebug& operator<< |
( |
QBool |
t |
) |
[inline] |
Definition at line 96 of file qdebug.h.
{ stream->ts << (bool(t != 0) ? "true" : "false"); return maybeSpace(); }
| QDebug& operator<< |
( |
bool |
t |
) |
[inline] |
Definition at line 97 of file qdebug.h.
{ stream->ts << (t ? "true" : "false"); return maybeSpace(); }
| QDebug& operator<< |
( |
char |
t |
) |
[inline] |
| QDebug& operator<< |
( |
signed short |
t |
) |
[inline] |
| QDebug& operator<< |
( |
unsigned short |
t |
) |
[inline] |
| QDebug& operator<< |
( |
signed int |
t |
) |
[inline] |
| QDebug& operator<< |
( |
unsigned int |
t |
) |
[inline] |
| QDebug& operator<< |
( |
signed long |
t |
) |
[inline] |
| QDebug& operator<< |
( |
unsigned long |
t |
) |
[inline] |
| QDebug& operator<< |
( |
float |
t |
) |
[inline] |
| QDebug& operator<< |
( |
double |
t |
) |
[inline] |
| QDebug& operator<< |
( |
const char * |
t |
) |
[inline] |
| QDebug& operator<< |
( |
const void * |
t |
) |
[inline] |
Definition at line 117 of file qdebug.h.
{
stream->ts << f;
return *this;
}
Definition at line 122 of file qdebug.h.
{ stream->ts << m; return *this; }
The documentation for this class was generated from the following
file: