#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() [1/4]
|
inline |
◆ kdbgstream() [2/4]
|
inline |
◆ kdbgstream() [3/4]
kdbgstream::kdbgstream | ( | kdbgstream & | str | ) |
Copy constructor.
Definition at line 381 of file kdebug.cpp.
◆ kdbgstream() [4/4]
|
inline |
◆ ~kdbgstream()
kdbgstream::~kdbgstream | ( | ) |
Definition at line 405 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/34]
|
inline |
◆ operator<<() [2/34]
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/34]
|
inline |
◆ operator<<() [4/34]
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/34]
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/34]
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/34]
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/34]
|
inline |
◆ operator<<() [9/34]
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/34]
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/34]
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/34]
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/34]
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/34]
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/34]
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/34]
|
inline |
◆ operator<<() [17/34]
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/34]
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/34]
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/34]
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/34]
|
inline |
◆ operator<<() [22/34]
|
inline |
◆ operator<<() [23/34]
|
inline |
◆ operator<<() [24/34]
|
inline |
◆ operator<<() [25/34]
|
inline |
◆ operator<<() [26/34]
|
inline |
◆ operator<<() [27/34]
|
inline |
◆ operator<<() [28/34]
|
inline |
◆ operator<<() [29/34]
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/34]
kdbgstream & kdbgstream::operator<< | ( | TQWidget * | widget | ) |
Definition at line 440 of file kdebug.cpp.
◆ operator<<() [31/34]
|
inline |
◆ operator<<() [32/34]
|
inline |
◆ operator<<() [33/34]
|
inline |
◆ operator<<() [34/34]
|
inline |
The documentation for this class was generated from the following files: