kdbgstream Class Reference
[Debug message generators]
kdbgstream is a text stream that allows you to print debug messages.  
More...
#include <kdebug.h>
Collaboration diagram for kdbgstream:

| 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 i) | 
| kdbgstream & | operator<< (unsigned char i) | 
| kdbgstream & | operator<< (int i) | 
| kdbgstream & | operator<< (unsigned int i) | 
| kdbgstream & | operator<< (long i) | 
| kdbgstream & | operator<< (unsigned long i) | 
| void | flush () | 
| kdbgstream & | operator<< (const QString &string) | 
| kdbgstream & | operator<< (const char *string) | 
| kdbgstream & | operator<< (const QCString &string) | 
| kdbgstream & | operator<< (const void *p) | 
| kdbgstream & | operator<< (KDBGFUNC f) | 
| kdbgstream & | operator<< (double d) | 
| kdbgstream & | form (const char *format,...) | 
| kdbgstream & | operator<< (const QWidget *widget) | 
| kdbgstream & | operator<< (QWidget *widget) | 
| kdbgstream & | operator<< (const QDateTime &dateTime) | 
| kdbgstream & | operator<< (const QDate &date) | 
| kdbgstream & | operator<< (const QTime &time) | 
| kdbgstream & | operator<< (const QPoint &point) | 
| kdbgstream & | operator<< (const QSize &size) | 
| kdbgstream & | operator<< (const QRect &rect) | 
| kdbgstream & | operator<< (const QRegion ®ion) | 
| kdbgstream & | operator<< (const KURL &url) | 
| kdbgstream & | operator<< (const QStringList &list) | 
| kdbgstream & | operator<< (const QColor &color) | 
| kdbgstream & | operator<< (const QPen &pen) | 
| kdbgstream & | operator<< (const QBrush &brush) | 
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:
int i = 5; kdDebug() << "The value of i is " << i << endl;
- See also:
- kndbgstream
Definition at line 76 of file kdebug.h.
Constructor & Destructor Documentation
| 
 | 
| Copy constructor. 
 | 
Member Function Documentation
| 
 | 
| Prints the given value. 
 
 
 Definition at line 96 of file kdebug.h. References QString::fromLatin1(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 106 of file kdebug.h. References QString::setNum(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 116 of file kdebug.h. References QString::setNum(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 358 of file kdebug.cpp. References flush(), and QString::number(). | 
| 
 | 
| Prints the given value. 
 
 
 | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 140 of file kdebug.h. References QString::setNum(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 150 of file kdebug.h. References QString::setNum(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 160 of file kdebug.h. References QString::setNum(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 170 of file kdebug.h. References QString::setNum(). | 
| 
 | 
| Flushes the output. 
 Definition at line 332 of file kdebug.cpp. References QString::isEmpty(), and QString::local8Bit(). Referenced by KGlobal::flush(), and operator<<(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 185 of file kdebug.h. References QString::at(), flush(), and QString::length(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 197 of file kdebug.h. References QString::at(), flush(), QString::fromUtf8(), and QString::length(). | 
| 
 | 
| Prints the given value. 
 
 
 | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 218 of file kdebug.h. References form(). | 
| 
 | 
| Invokes the given function. 
 
 
 | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 236 of file kdebug.h. References QString::setNum(). | 
| 
 | ||||||||||||
| 
Prints the string  
 
 
 Definition at line 339 of file kdebug.cpp. Referenced by operator<<(). | 
| 
 | 
| Operator to print out basic information about a QWidget. Output of class names only works if the class is moc'ified. 
 
 Definition at line 375 of file kdebug.cpp. References QString::at(), flush(), QString::length(), and QString::setNum(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 415 of file kdebug.cpp. References QDateTime::toString(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 419 of file kdebug.cpp. References QDate::toString(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 424 of file kdebug.cpp. References QTime::toString(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 428 of file kdebug.cpp. References QPoint::x(), and QPoint::y(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 432 of file kdebug.cpp. References QSize::height(), and QSize::width(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 436 of file kdebug.cpp. References QRect::height(), QRect::width(), QRect::x(), and QRect::y(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 440 of file kdebug.cpp. References QRegion::rects(), and QMemArray::size(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 450 of file kdebug.cpp. References KURL::prettyURL(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 454 of file kdebug.cpp. References QStringList::join(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 461 of file kdebug.cpp. References QColor::isValid(), and QColor::name(). | 
| 
 | 
| Prints the given value. 
 
 
 
 Definition at line 468 of file kdebug.cpp. References QPen::capStyle(), QPen::color(), QPen::style(), and QPen::width(). | 
| 
 | 
| Prints the given value. 
 
 
 Definition at line 492 of file kdebug.cpp. References QBrush::color(), QBrush::pixmap(), and QBrush::style(). | 
The documentation for this class was generated from the following files:

