.TH "class class class class class class class class class class class class class class class class class Debug message generators" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
class class class class class class class class class class class class class class class class class Debug message generators \- 
.SS "Classes"

.in +1c
.ti -1c
.RI "class \fBkdbgstream\fP"
.br
.RI "\fIkdbgstream is a text stream that allows you to print debug messages. \fP"
.ti -1c
.RI "class \fBkdbgstream\fP"
.br
.RI "\fIkdbgstream is a text stream that allows you to print debug messages. \fP"
.ti -1c
.RI "class \fBkndbgstream\fP"
.br
.RI "\fIkndbgstream is a dummy variant of kdbgstream. \fP"
.in -1c
.SS "Defines"

.in +1c
.ti -1c
.RI "#define \fBk_funcinfo\fP   '[' << __FILE__ << ':' << __LINE__ << '] '"
.br
.ti -1c
.RI "#define \fBk_lineinfo\fP   '[' << __FILE__ << ':' << __LINE__ << '] '"
.br
.in -1c
.SS "Typedefs"

.in +1c
.ti -1c
.RI "typedef \fBkdbgstream\fP &(* \fBKDBGFUNC\fP )(\fBkdbgstream\fP &)"
.br
.ti -1c
.RI "typedef \fBkndbgstream\fP &(* \fBKNDBGFUNC\fP )(\fBkndbgstream\fP &)"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "KDECORE_EXPORT \fBkdbgstream\fP & \fBperror\fP (\fBkdbgstream\fP &s)"
.br
.ti -1c
.RI "\fBkndbgstream\fP & \fBendl\fP (\fBkndbgstream\fP &s)"
.br
.ti -1c
.RI "\fBkndbgstream\fP & \fBflush\fP (\fBkndbgstream\fP &s)"
.br
.ti -1c
.RI "\fBkndbgstream\fP & \fBperror\fP (\fBkndbgstream\fP &s)"
.br
.ti -1c
.RI "KDECORE_EXPORT \fBkdbgstream\fP \fBkdDebug\fP (bool cond, int area=0)"
.br
.ti -1c
.RI "\fBkndbgstream\fP \fBkndDebug\fP (int area=0)"
.br
.ti -1c
.RI "\fBkndbgstream\fP \fBkndDebug\fP (bool, int=0)"
.br
.ti -1c
.RI "\fBQString\fP \fBkndBacktrace\fP ()"
.br
.ti -1c
.RI "\fBQString\fP \fBkndBacktrace\fP (int)"
.br
.ti -1c
.RI "KDECORE_EXPORT \fBkdbgstream\fP \fBkdWarning\fP (bool cond, int area=0)"
.br
.ti -1c
.RI "KDECORE_EXPORT \fBkdbgstream\fP \fBkdError\fP (bool cond, int area=0)"
.br
.ti -1c
.RI "KDECORE_EXPORT \fBkdbgstream\fP \fBkdFatal\fP (bool cond, int area=0)"
.br
.ti -1c
.RI "template<class T> \fBkdbgstream\fP & \fBkdbgstream::operator<<\fP (const \fBQValueList\fP< T > &list)"
.br
.ti -1c
.RI "\fBkdbgstream\fP & \fBKGlobal::endl\fP (\fBkdbgstream\fP &s)"
.br
.ti -1c
.RI "\fBkdbgstream\fP & \fBKGlobal::flush\fP (\fBkdbgstream\fP &s)"
.br
.ti -1c
.RI "KDECORE_EXPORT \fBkdbgstream\fP \fBKGlobal::kdDebug\fP (int area=0)"
.br
.ti -1c
.RI "KDECORE_EXPORT \fBQString\fP \fBKGlobal::kdBacktrace\fP ()"
.br
.ti -1c
.RI "KDECORE_EXPORT \fBQString\fP \fBKGlobal::kdBacktrace\fP (int levels)"
.br
.ti -1c
.RI "KDECORE_EXPORT \fBkdbgstream\fP \fBKGlobal::kdWarning\fP (int area=0)"
.br
.ti -1c
.RI "KDECORE_EXPORT \fBkdbgstream\fP \fBKGlobal::kdError\fP (int area=0)"
.br
.ti -1c
.RI "KDECORE_EXPORT \fBkdbgstream\fP \fBKGlobal::kdFatal\fP (int area=0)"
.br
.ti -1c
.RI "KDECORE_EXPORT void \fBKGlobal::kdClearDebugConfig\fP ()"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBKDE\fP debug message streams let you and the user control just how many debug messages you see. 
.SH "Function Documentation"
.PP 
.SS "\fBkndbgstream\fP& endl (\fBkndbgstream\fP & s)\fC [inline]\fP"
.PP
Does nothing. 
.PP
\fBParameters:\fP
.RS 4
\fIs\fP a stream 
.RE
.PP
\fBReturns:\fP
.RS 4
the given \fCs\fP 
.RE
.PP

.PP
Definition at line 583 of file kdebug.h.
.PP
Referenced by KVMAllocator::allocate(), KIconLoader::alphaBlending(), KApplication::checkRecoverFile(), KAccel::connectItem(), KTempDir::create(), KCalendarSystemFactory::create(), KStartupInfo::createNewStartupId(), KIconLoader::currentSize(), KCalendarSystemJalali::day(), KAccel::emitKeycodeChanged(), KLibrary::factory(), KLibLoader::findLibrary(), KStandardDirs::findResource(), KStandardDirs::findResourceDir(), KVMAllocator::free(), KLibLoader::globalLibrary(), KConfigDialogManager::hasChanged(), KIconLoader::iconPath(), KShortcut::init(), KKeySequence::init(), KKey::init(), KKeyNative::init(), KKeyServer::initializeMods(), KStartupInfoId::initId(), KKeyServer::Sym::initQt(), KApplication::invokeBrowser(), KApplication::invokeHelp(), KApplication::invokeHTMLHelp(), KApplication::invokeMailer(), KDesktopFile::isAuthorizedDesktopFile(), KAccel::KAccel(), KConfigSkeleton::KConfigSkeleton(), KGlobalAccel::KGlobalAccel(), KProcIO::KProcIO(), KLocale::langLookup(), KLibLoader::library(), KIconLoader::loadAnimated(), KIconLoader::loadIcon(), KIconLoader::loadIconSet(), KKeyServer::modToModX(), KCalendarSystemJalali::month(), KIconLoader::moviePath(), KConfigDialogManager::parseChildren(), KIconLoader::queryIcons(), KIconLoader::queryIconsByContext(), KConfigSkeleton::readConfig(), KShortcutList::readSettings(), KStandardDirs::resourceDirs(), KStandardDirs::saveLocation(), KStartupInfo::sendChange(), KStartupInfo::sendChangeX(), KStartupInfo::sendFinish(), KStartupInfo::sendFinishX(), KStartupInfo::sendStartup(), KStartupInfo::sendStartupX(), KAccel::setShortcut(), KProcess::setupCommunication(), KProcess::slotSendData(), KUniqueApplication::start(), KProcess::start(), KLibrary::symbol(), KApplication::tempSaveName(), KLocale::translate(), KLocale::translateQt(), KIconLoader::unknown(), KMD4::update(), KMD5::update(), KConfigDialogManager::updateSettings(), KConfigDialogManager::updateWidgets(), KConfigSkeleton::writeConfig(), KShortcutList::writeSettings(), KCalendarSystemJalali::year(), and KLibLoader::~KLibLoader().
.SS "\fBkndbgstream\fP& flush (\fBkndbgstream\fP & s)\fC [inline]\fP"
.PP
Does nothing. 
.PP
\fBParameters:\fP
.RS 4
\fIs\fP a stream 
.RE
.PP
\fBReturns:\fP
.RS 4
the given \fCs\fP 
.RE
.PP

.PP
Definition at line 589 of file kdebug.h.
.PP
Referenced by kdbgstream::operator<<().
.SS "\fBkndbgstream\fP kndDebug (int area = \fC0\fP)\fC [inline]\fP"
.PP
Returns a dummy debug stream. 
.PP
The stream does not print anything. 
.PP
\fBParameters:\fP
.RS 4
\fIarea\fP an id to identify the output, 0 for default 
.RE
.PP
\fBSee also:\fP
.RS 4
kdDebug() 
.RE
.PP

.PP
Definition at line 620 of file kdebug.h.
.SS "template<class T> \fBkdbgstream\fP & kdbgstream::operator<< (const \fBQValueList\fP< T > & list)\fC [inherited]\fP"
.PP
Prints the given value. 
.PP
\fBParameters:\fP
.RS 4
\fIlist\fP the list to print 
.RE
.PP
\fBReturns:\fP
.RS 4
this stream 
.RE
.PP
\fBSince:\fP
.RS 4
3.3 
.RE
.PP

.PP
Definition at line 410 of file kdebug.h.
.PP
References QValueList::end().
.SS "\fBkdbgstream\fP & endl (\fBkdbgstream\fP & s)\fC [related, inherited]\fP"
.PP
Prints an '\\n'. 
.PP
\fBParameters:\fP
.RS 4
\fIs\fP the debug stream to write to 
.RE
.PP
\fBReturns:\fP
.RS 4
the debug stream (\fCs\fP) 
.RE
.PP

.PP
Definition at line 430 of file kdebug.h.
.SS "\fBkdbgstream\fP & flush (\fBkdbgstream\fP & s)\fC [related, inherited]\fP"
.PP
Flushes the stream. 
.PP
\fBParameters:\fP
.RS 4
\fIs\fP the debug stream to write to 
.RE
.PP
\fBReturns:\fP
.RS 4
the debug stream (\fCs\fP) 
.RE
.PP

.PP
Definition at line 438 of file kdebug.h.
.PP
References kndbgstream::flush().
.SS "KDECORE_EXPORT \fBkdbgstream\fP kdDebug (int area = \fC0\fP)\fC [related, inherited]\fP"
.PP
Returns a debug stream. 
.PP
You can use it to print debug information. 
.PP
\fBParameters:\fP
.RS 4
\fIarea\fP an id to identify the output, 0 for default 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBkndDebug()\fP 
.RE
.PP

.PP
Definition at line 317 of file kdebug.cpp.
.SS "KDECORE_EXPORT \fBQString\fP kdBacktrace ()\fC [related, inherited]\fP"
.PP
Returns a backtrace. 
.PP
\fBReturns:\fP
.RS 4
a backtrace 
.RE
.PP

.PP
Definition at line 578 of file kdebug.cpp.
.SS "KDECORE_EXPORT \fBQString\fP kdBacktrace (int levels)\fC [related, inherited]\fP"
.PP
Returns a backtrace. 
.PP
\fBParameters:\fP
.RS 4
\fIlevels\fP the number of levels of the backtrace 
.RE
.PP
\fBReturns:\fP
.RS 4
a backtrace 
.RE
.PP
\fBSince:\fP
.RS 4
3.1 
.RE
.PP

.PP
Definition at line 553 of file kdebug.cpp.
.PP
References QString::fromLatin1(), and QString::number().
.SS "KDECORE_EXPORT \fBkdbgstream\fP kdWarning (int area = \fC0\fP)\fC [related, inherited]\fP"
.PP
Returns a warning stream. 
.PP
You can use it to print warning information. 
.PP
\fBParameters:\fP
.RS 4
\fIarea\fP an id to identify the output, 0 for default 
.RE
.PP

.PP
Definition at line 322 of file kdebug.cpp.
.SS "KDECORE_EXPORT \fBkdbgstream\fP kdError (int area = \fC0\fP)\fC [related, inherited]\fP"
.PP
Returns an error stream. 
.PP
You can use it to print error information. 
.PP
\fBParameters:\fP
.RS 4
\fIarea\fP an id to identify the output, 0 for default 
.RE
.PP

.PP
Definition at line 320 of file kdebug.cpp.
.SS "KDECORE_EXPORT \fBkdbgstream\fP kdFatal (int area = \fC0\fP)\fC [related, inherited]\fP"
.PP
Returns a fatal error stream. 
.PP
You can use it to print fatal error information. 
.PP
\fBParameters:\fP
.RS 4
\fIarea\fP an id to identify the output, 0 for default 
.RE
.PP

.PP
Definition at line 324 of file kdebug.cpp.
.SS "KDECORE_EXPORT void kdClearDebugConfig ()\fC [related, inherited]\fP"
.PP
Deletes the kdebugrc cache and therefore forces KDebug to reread the config file. 
.PP
Definition at line 583 of file kdebug.cpp.
