#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 & | str | ) |
Copy constructor.
Definition at line 379 of file kdebug.cpp.
Member Function Documentation
void kdbgstream::flush | ( | ) |
Flushes the output.
Definition at line 385 of file kdebug.cpp.
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 392 of file kdebug.cpp.
|
inline |
|
inline |
|
inline |
kdbgstream & kdbgstream::operator<< | ( | char | ch | ) |
Prints the given value.
- Parameters
-
ch the char to print
- Returns
- this stream
Definition at line 414 of file kdebug.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
kdbgstream & kdbgstream::operator<< | ( | TQChar | ch | ) |
Prints the given value.
- Parameters
-
ch the char to print
- Returns
- this stream
- Since
- 3.3
Definition at line 426 of file kdebug.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
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 443 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const TQDateTime & | dateTime | ) |
Prints the given value.
- Parameters
-
dateTime the datetime to print
- Returns
- this stream
Definition at line 483 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const TQDate & | date | ) |
Prints the given value.
- Parameters
-
date the date to print
- Returns
- this stream
Definition at line 487 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const TQTime & | time | ) |
Prints the given value.
- Parameters
-
time the time to print
- Returns
- this stream
Definition at line 492 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const TQPoint & | point | ) |
Prints the given value.
- Parameters
-
point the point to print
- Returns
- this stream
Definition at line 496 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const TQSize & | size | ) |
Prints the given value.
- Parameters
-
size the TQSize to print
- Returns
- this stream
Definition at line 500 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const TQRect & | rect | ) |
Prints the given value.
- Parameters
-
rect the TQRect to print
- Returns
- this stream
Definition at line 504 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const TQRegion & | region | ) |
Prints the given value.
- Parameters
-
region the TQRegion to print
- Returns
- this stream
Definition at line 508 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 518 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const TQStringList & | list | ) |
Prints the given value.
- Parameters
-
list the stringlist to print
- Returns
- this stream
Definition at line 522 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const TQColor & | color | ) |
Prints the given value.
- Parameters
-
color the color to print
- Returns
- this stream
Definition at line 529 of file kdebug.cpp.
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 536 of file kdebug.cpp.
kdbgstream & kdbgstream::operator<< | ( | const TQBrush & | brush | ) |
Prints the given value.
- Parameters
-
brush the brush to print
- Returns
- this stream
Definition at line 560 of file kdebug.cpp.
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 581 of file kdebug.cpp.
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 592 of file kdebug.cpp.
The documentation for this class was generated from the following files: