#include <kdebug.h>
Public Member Functions | |
kdbgstream (unsigned int _area, unsigned int _level, bool _print=true) | |
kdbgstream (const char *initialString, unsigned int _area, unsigned int _level, bool _print=true) | |
kdbgstream (kdbgstream &str) | |
kdbgstream (const kdbgstream &str) | |
kdbgstream & | operator<< (bool i) |
kdbgstream & | operator<< (short i) |
kdbgstream & | operator<< (unsigned short i) |
kdbgstream & | operator<< (char ch) |
kdbgstream & | operator<< (unsigned char ch) |
kdbgstream & | operator<< (int i) |
kdbgstream & | operator<< (unsigned int i) |
kdbgstream & | operator<< (long i) |
kdbgstream & | operator<< (unsigned long i) |
kdbgstream & | operator<< (TQ_LLONG i) |
kdbgstream & | operator<< (TQ_ULLONG i) |
void | flush () |
kdbgstream & | operator<< (TQChar ch) |
kdbgstream & | operator<< (const TQString &string) |
kdbgstream & | operator<< (const char *string) |
kdbgstream & | operator<< (const TQCString &string) |
kdbgstream & | operator<< (const void *p) |
kdbgstream & | operator<< (KDBGFUNC f) |
kdbgstream & | operator<< (double d) |
kdbgstream & | form (const char *format,...) |
kdbgstream & | operator<< (const TQWidget *widget) |
kdbgstream & | operator<< (TQWidget *widget) |
kdbgstream & | operator<< (const TQDateTime &dateTime) |
kdbgstream & | operator<< (const TQDate &date) |
kdbgstream & | operator<< (const TQTime &time) |
kdbgstream & | operator<< (const TQPoint &point) |
kdbgstream & | operator<< (const TQSize &size) |
kdbgstream & | operator<< (const TQRect &rect) |
kdbgstream & | operator<< (const TQRegion ®ion) |
kdbgstream & | operator<< (const KURL &url) |
kdbgstream & | operator<< (const TQStringList &list) |
kdbgstream & | operator<< (const TQColor &color) |
kdbgstream & | operator<< (const TQPen &pen) |
kdbgstream & | operator<< (const TQBrush &brush) |
kdbgstream & | operator<< (const TQVariant &variant) |
kdbgstream & | operator<< (const TQByteArray &data) |
template<class T > | |
kdbgstream & | operator<< (const TQValueList< T > &list) |
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
Constructor & Destructor Documentation
◆ kdbgstream()
kdbgstream::kdbgstream | ( | kdbgstream & | str | ) |
Copy constructor.
Definition at line 381 of file kdebug.cpp.
Member Function Documentation
◆ flush()
void kdbgstream::flush | ( | ) |
Flushes the output.
Definition at line 387 of file kdebug.cpp.
◆ form()
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 394 of file kdebug.cpp.
◆ operator<<() [1/33]
|
inline |
◆ operator<<() [2/33]
kdbgstream & kdbgstream::operator<< | ( | char | ch | ) |
Prints the given value.
- Parameters
-
ch the char to print
- Returns
- this stream
Definition at line 416 of file kdebug.cpp.
◆ operator<<() [3/33]
|
inline |
◆ operator<<() [4/33]
kdbgstream & kdbgstream::operator<< | ( | const KURL & | url | ) |
Prints the given value.
- Parameters
-
url the url to print
- Returns
- this stream
Definition at line 520 of file kdebug.cpp.
◆ operator<<() [5/33]
kdbgstream & kdbgstream::operator<< | ( | const TQBrush & | brush | ) |
Prints the given value.
- Parameters
-
brush the brush to print
- Returns
- this stream
Definition at line 562 of file kdebug.cpp.
◆ operator<<() [6/33]
kdbgstream & kdbgstream::operator<< | ( | const TQByteArray & | data | ) |
Prints the given value.
- Parameters
-
data the byte array to print
- Returns
- this stream
- Since
- 3.3
Definition at line 594 of file kdebug.cpp.
◆ operator<<() [7/33]
kdbgstream & kdbgstream::operator<< | ( | const TQColor & | color | ) |
Prints the given value.
- Parameters
-
color the color to print
- Returns
- this stream
Definition at line 531 of file kdebug.cpp.
◆ operator<<() [8/33]
|
inline |
◆ operator<<() [9/33]
kdbgstream & kdbgstream::operator<< | ( | const TQDate & | date | ) |
Prints the given value.
- Parameters
-
date the date to print
- Returns
- this stream
Definition at line 489 of file kdebug.cpp.
◆ operator<<() [10/33]
kdbgstream & kdbgstream::operator<< | ( | const TQDateTime & | dateTime | ) |
Prints the given value.
- Parameters
-
dateTime the datetime to print
- Returns
- this stream
Definition at line 485 of file kdebug.cpp.
◆ operator<<() [11/33]
kdbgstream & kdbgstream::operator<< | ( | const TQPen & | pen | ) |
Prints the given value.
- Parameters
-
pen the pen to print
- Returns
- this stream
- Since
- 3.2
Definition at line 538 of file kdebug.cpp.
◆ operator<<() [12/33]
kdbgstream & kdbgstream::operator<< | ( | const TQPoint & | point | ) |
Prints the given value.
- Parameters
-
point the point to print
- Returns
- this stream
Definition at line 498 of file kdebug.cpp.
◆ operator<<() [13/33]
kdbgstream & kdbgstream::operator<< | ( | const TQRect & | rect | ) |
Prints the given value.
- Parameters
-
rect the TQRect to print
- Returns
- this stream
Definition at line 506 of file kdebug.cpp.
◆ operator<<() [14/33]
kdbgstream & kdbgstream::operator<< | ( | const TQRegion & | region | ) |
Prints the given value.
- Parameters
-
region the TQRegion to print
- Returns
- this stream
Definition at line 510 of file kdebug.cpp.
◆ operator<<() [15/33]
kdbgstream & kdbgstream::operator<< | ( | const TQSize & | size | ) |
Prints the given value.
- Parameters
-
size the TQSize to print
- Returns
- this stream
Definition at line 502 of file kdebug.cpp.
◆ operator<<() [16/33]
|
inline |
◆ operator<<() [17/33]
kdbgstream & kdbgstream::operator<< | ( | const TQStringList & | list | ) |
Prints the given value.
- Parameters
-
list the stringlist to print
- Returns
- this stream
Definition at line 524 of file kdebug.cpp.
◆ operator<<() [18/33]
kdbgstream & kdbgstream::operator<< | ( | const TQTime & | time | ) |
Prints the given value.
- Parameters
-
time the time to print
- Returns
- this stream
Definition at line 494 of file kdebug.cpp.
◆ operator<<() [19/33]
kdbgstream & kdbgstream::operator<< | ( | const TQVariant & | variant | ) |
Prints the given value.
- Parameters
-
variant the variant to print
- Returns
- this stream
- Since
- 3.3
Definition at line 583 of file kdebug.cpp.
◆ operator<<() [20/33]
kdbgstream & kdbgstream::operator<< | ( | const TQWidget * | widget | ) |
Operator to print out basic information about a TQWidget.
Output of class names only works if the class is moc'ified.
- Parameters
-
widget the widget to print
- Returns
- this stream
Definition at line 445 of file kdebug.cpp.
◆ operator<<() [21/33]
|
inline |
◆ operator<<() [22/33]
|
inline |
◆ operator<<() [23/33]
|
inline |
◆ operator<<() [24/33]
|
inline |
◆ operator<<() [25/33]
|
inline |
◆ operator<<() [26/33]
|
inline |
◆ operator<<() [27/33]
|
inline |
◆ operator<<() [28/33]
|
inline |
◆ operator<<() [29/33]
kdbgstream & kdbgstream::operator<< | ( | TQChar | ch | ) |
Prints the given value.
- Parameters
-
ch the char to print
- Returns
- this stream
- Since
- 3.3
Definition at line 428 of file kdebug.cpp.
◆ operator<<() [30/33]
|
inline |
◆ operator<<() [31/33]
|
inline |
◆ operator<<() [32/33]
|
inline |
◆ operator<<() [33/33]
|
inline |
The documentation for this class was generated from the following files: