kdbgstream Class Reference
[Debug message generators]
#include <kdebug.h>
Detailed Description
kdbgstream is a text stream that allows you to print debug messages.Using the overloaded "<<" operator you can send messages. Usually you do not create the kdbgstream yourself, but use kdDebug() kdWarning(), kdError() or kdFatal to obtain one.
Example:
- See also:
- kndbgstream
Definition at line 80 of file kdebug.h.
Constructor & Destructor Documentation
kdbgstream::kdbgstream | ( | kdbgstream & | str | ) |
Member Function Documentation
kdbgstream& kdbgstream::operator<< | ( | bool | i | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | short | i | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | unsigned short | i | ) | [inline] |
kdbgstream & kdbgstream::operator<< | ( | char | ch | ) |
Prints the given value.
- Parameters:
-
ch the char to print
- Returns:
- this stream
Definition at line 360 of file kdebug.cpp.
kdbgstream& kdbgstream::operator<< | ( | unsigned char | ch | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | int | i | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | unsigned int | i | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | long | i | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | unsigned long | i | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | Q_LLONG | i | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | Q_ULLONG | i | ) | [inline] |
void kdbgstream::flush | ( | ) |
kdbgstream & kdbgstream::operator<< | ( | QChar | ch | ) |
Prints the given value.
- Parameters:
-
ch the char to print
- Returns:
- this stream
- Since:
- 3.3
Definition at line 372 of file kdebug.cpp.
kdbgstream& kdbgstream::operator<< | ( | const QString & | string | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | const char * | string | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | const QCString & | string | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | const void * | p | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | KDBGFUNC | f | ) | [inline] |
kdbgstream& kdbgstream::operator<< | ( | double | d | ) | [inline] |
kdbgstream & kdbgstream::form | ( | const char * | format, | |
... | ||||
) |
Prints the string format
which can contain printf-style formatted values.
- Parameters:
-
format the printf-style format
- Returns:
- this stream
Definition at line 341 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QWidget * | widget | ) |
Operator to print out basic information about a QWidget.
Output of class names only works if the class is moc'ified.
- Parameters:
-
widget the widget to print
- Returns:
- this stream
Definition at line 389 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QDateTime & | dateTime | ) |
Prints the given value.
- Parameters:
-
dateTime the datetime to print
- Returns:
- this stream
Definition at line 429 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QDate & | date | ) |
Prints the given value.
- Parameters:
-
date the date to print
- Returns:
- this stream
Definition at line 433 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QTime & | time | ) |
Prints the given value.
- Parameters:
-
time the time to print
- Returns:
- this stream
Definition at line 438 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QPoint & | point | ) |
Prints the given value.
- Parameters:
-
point the point to print
- Returns:
- this stream
Definition at line 442 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QSize & | size | ) |
Prints the given value.
- Parameters:
-
size the QSize to print
- Returns:
- this stream
Definition at line 446 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QRect & | rect | ) |
Prints the given value.
- Parameters:
-
rect the QRect to print
- Returns:
- this stream
Definition at line 450 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QRegion & | region | ) |
Prints the given value.
- Parameters:
-
region the QRegion to print
- Returns:
- this stream
Definition at line 454 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const KURL & | url | ) |
Prints the given value.
- Parameters:
-
url the url to print
- Returns:
- this stream
Definition at line 464 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QStringList & | list | ) |
Prints the given value.
- Parameters:
-
list the stringlist to print
- Returns:
- this stream
Definition at line 468 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QColor & | color | ) |
Prints the given value.
- Parameters:
-
color the color to print
- Returns:
- this stream
Definition at line 475 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QPen & | pen | ) |
Prints the given value.
- Parameters:
-
pen the pen to print
- Returns:
- this stream
- Since:
- 3.2
Definition at line 482 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QBrush & | brush | ) |
Prints the given value.
- Parameters:
-
brush the brush to print
- Returns:
- this stream
Definition at line 506 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QVariant & | variant | ) |
Prints the given value.
- Parameters:
-
variant the variant to print
- Returns:
- this stream
- Since:
- 3.3
Definition at line 527 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const QByteArray & | data | ) |
Prints the given value.
- Parameters:
-
data the byte array to print
- Returns:
- this stream
- Since:
- 3.3
Definition at line 538 of file kdebug.cpp.
The documentation for this class was generated from the following files: