kdecore Library API Documentation

Debug message generators


Compounds

class  kdbgstream
 kdbgstream is a text stream that allows you to print debug messages. More...

class  kndbgstream
 kndbgstream is a dummy variant of kdbgstream. More...


Functions

kndbgstreamendl (kndbgstream &s)
kndbgstreamflush (kndbgstream &s)
kndbgstream kndDebug (int area=0)
kdbgstreamendl (kdbgstream &s)
kdbgstreamflush (kdbgstream &s)
kdbgstream kdDebug (int area=0)
QString kdBacktrace ()
QString kdBacktrace (int levels)
kdbgstream kdWarning (int area=0)
kdbgstream kdError (int area=0)
kdbgstream kdFatal (int area=0)
void kdClearDebugConfig ()

Detailed Description

KDE debug message streams let you and the user control just how many debug messages you see.

Function Documentation

kndbgstream& endl kndbgstream   s [inline]
 

Does nothing.

Parameters:
s  a stream
Returns:
the given s

Definition at line 492 of file kdebug.h.

Referenced by KExtendedSocket::accept(), KWin::WindowInfo::actionSupported(), KVMAllocator::allocate(), KIconLoader::alphaBlending(), KApplication::checkRecoverFile(), KExtendedSocket::connect(), KAccel::connectItem(), KCalendarSystemFactory::create(), KIconLoader::currentSize(), KCalendarSystemJalali::day(), KWin::WindowInfo::desktop(), KAccel::emitKeycodeChanged(), KLibrary::factory(), KLibLoader::findLibrary(), KStandardDirs::findResource(), KStandardDirs::findResourceDir(), KWin::WindowInfo::frameGeometry(), KVMAllocator::free(), KWin::WindowInfo::geometry(), KLibLoader::globalLibrary(), KWin::WindowInfo::groupLeader(), KConfigDialogManager::hasChanged(), KWin::WindowInfo::iconName(), KIconLoader::iconPath(), KShortcut::init(), KKeySequence::init(), KKey::init(), KApplication::invokeBrowser(), KApplication::invokeHelp(), KApplication::invokeHTMLHelp(), KApplication::invokeMailer(), KWin::WindowInfo::isOnDesktop(), KAccel::KAccel(), KConfigSkeleton::KConfigSkeleton(), KGlobalAccel::KGlobalAccel(), KProcIO::KProcIO(), KLocale::langLookup(), KExtendedSocket::listen(), KIconLoader::loadAnimated(), KIconLoader::loadIcon(), KIconLoader::loadIconSet(), KWin::WindowInfo::mappingState(), KCalendarSystemJalali::month(), KIconLoader::moviePath(), KWin::WindowInfo::name(), KWin::WindowInfo::onAllDesktops(), KPty::open(), KConfigDialogManager::parseChildren(), KIconLoader::queryIcons(), KIconLoader::queryIconsByContext(), KConfigSkeleton::readConfig(), KShortcutList::readSettings(), KStandardDirs::resourceDirs(), KAccel::setShortcut(), KProcess::setupCommunication(), KProcess::slotSendData(), KUniqueApplication::start(), KProcess::start(), KWin::WindowInfo::state(), KWin::WindowInfo::strut(), KLibrary::symbol(), KApplication::tempSaveName(), KWin::WindowInfo::transientFor(), KLocale::translate(), KLocale::translateQt(), KIconLoader::unknown(), KMD5::update(), KConfigDialogManager::updateSettings(), KConfigDialogManager::updateWidgets(), KWin::WindowInfo::visibleIconName(), KWin::WindowInfo::visibleName(), KWin::WindowInfo::windowType(), KConfigSkeleton::writeConfig(), KShortcutList::writeSettings(), KCalendarSystemJalali::year(), and KLibLoader::~KLibLoader().

kndbgstream& flush kndbgstream   s [inline]
 

Does nothing.

Parameters:
s  a stream
Returns:
the given s

Definition at line 498 of file kdebug.h.

kndbgstream kndDebug int    area = 0 [inline]
 

Returns a dummy debug stream.

The stream does not print anything.

Parameters:
area  an id to identify the output, 0 for default
See also:
kdDebug()

Definition at line 529 of file kdebug.h.

References kndDebug().

Referenced by kndDebug().

kdbgstream & endl kdbgstream   s [related, inherited]
 

Prints an "
".

Parameters:
s  the debug stream to write to
Returns:
the debug stream (s)

Definition at line 359 of file kdebug.h.

kdbgstream & flush kdbgstream   s [related, inherited]
 

Flushes the stream.

Parameters:
s  the debug stream to write to
Returns:
the debug stream (s)

Definition at line 367 of file kdebug.h.

References kdbgstream::flush().

kdbgstream kdDebug int    area = 0 [related, inherited]
 

Returns a debug stream.

You can use it to print debug information.

Parameters:
area  an id to identify the output, 0 for default
See also:
kndDebug()

Definition at line 322 of file kdebug.cpp.

QString kdBacktrace   [related, inherited]
 

Returns a backtrace.

Returns:
a backtrace

Definition at line 538 of file kdebug.cpp.

QString kdBacktrace int    levels [related, inherited]
 

Returns a backtrace.

Parameters:
levels  the number of levels of the backtrace
Returns:
a backtrace
Since:
3.1

Definition at line 513 of file kdebug.cpp.

References QString::fromLatin1(), and QString::number().

kdbgstream kdWarning int    area = 0 [related, inherited]
 

Returns a warning stream.

You can use it to print warning information.

Parameters:
area  an id to identify the output, 0 for default

Definition at line 327 of file kdebug.cpp.

kdbgstream kdError int    area = 0 [related, inherited]
 

Returns an error stream.

You can use it to print error information.

Parameters:
area  an id to identify the output, 0 for default

Definition at line 325 of file kdebug.cpp.

kdbgstream kdFatal int    area = 0 [related, inherited]
 

Returns a fatal error stream.

You can use it to print fatal error information.

Parameters:
area  an id to identify the output, 0 for default

Definition at line 329 of file kdebug.cpp.

void kdClearDebugConfig   [related, inherited]
 

Deletes the kdebugrc cache and therefore forces KDebug to reread the config file.

Definition at line 543 of file kdebug.cpp.

KDE Logo
This file is part of the documentation for kdecore Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 22 14:23:10 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003