• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdecore
 

kdecore

Classes | Macros | Typedefs | Functions
Debug message generators

Classes

class  kdbgstream
 
class  kndbgstream
 

Macros

#define k_funcinfo   "[" << __FILE__ << ":" << __LINE__ << "] "
 
#define k_lineinfo   "[" << __FILE__ << ":" << __LINE__ << "] "
 

Typedefs

typedef kdbgstream &(* KDBGFUNC )(kdbgstream &)
 
typedef kndbgstream &(* KNDBGFUNC )(kndbgstream &)
 

Functions

kdbgstream & perror (kdbgstream &s)
 
kndbgstream & endl (kndbgstream &s)
 
kndbgstream & flush (kndbgstream &s)
 
kndbgstream & perror (kndbgstream &s)
 
kdbgstream kdDebug (bool cond, int area=0)
 
kndbgstream kndDebug (int area=0)
 
kndbgstream kndDebug (bool, int=0)
 
TQString kndBacktrace ()
 
TQString kndBacktrace (int)
 
kdbgstream kdWarning (bool cond, int area=0)
 
kdbgstream kdError (bool cond, int area=0)
 
kdbgstream kdFatal (bool cond, int area=0)
 
template<class T >
kdbgstream & kdbgstream::operator<< (const TQValueList< T > &list)
 
kdbgstream & endl (kdbgstream &s)
 
kdbgstream & flush (kdbgstream &s)
 
kdbgstream kdDebug (int area=0)
 
TQString kdBacktrace ()
 
TQString 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

kdbgstream & endl ( kdbgstream &  s)
related

Prints an "\n".

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

Definition at line 430 of file kdebug.h.

kndbgstream& endl ( kndbgstream &  s)
inline

Does nothing.

Parameters
sa stream
Returns
the given s

Definition at line 583 of file kdebug.h.

kdbgstream & flush ( kdbgstream &  s)
related

Flushes the stream.

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

Definition at line 438 of file kdebug.h.

kndbgstream& flush ( kndbgstream &  s)
inline

Does nothing.

Parameters
sa stream
Returns
the given s

Definition at line 589 of file kdebug.h.

TQString kdBacktrace ( )
related

Returns a backtrace.

Returns
a backtrace

Definition at line 582 of file kdebug.cpp.

TQString kdBacktrace ( int  levels)
related

Returns a backtrace.

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

Definition at line 557 of file kdebug.cpp.

void kdClearDebugConfig ( )
related

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

Definition at line 587 of file kdebug.cpp.

kdbgstream kdDebug ( int  area = 0)
related

Returns a debug stream. You can use it to print debug information.

Parameters
areaan id to identify the output, 0 for default
See Also
kndDebug()

Definition at line 318 of file kdebug.cpp.

kdbgstream kdError ( int  area = 0)
related

Returns an error stream. You can use it to print error information.

Parameters
areaan id to identify the output, 0 for default

Definition at line 321 of file kdebug.cpp.

kdbgstream kdFatal ( int  area = 0)
related

Returns a fatal error stream. You can use it to print fatal error information.

Parameters
areaan id to identify the output, 0 for default

Definition at line 325 of file kdebug.cpp.

kdbgstream kdWarning ( int  area = 0)
related

Returns a warning stream. You can use it to print warning information.

Parameters
areaan id to identify the output, 0 for default

Definition at line 323 of file kdebug.cpp.

kndbgstream kndDebug ( int  area = 0)
inline

Returns a dummy debug stream.

The stream does not print anything.

Parameters
areaan id to identify the output, 0 for default
See Also
kdDebug()

Definition at line 620 of file kdebug.h.

template<class T >
kdbgstream & kdbgstream::operator<< ( const TQValueList< T > &  list)

Prints the given value.

Parameters
listthe list to print
Returns
this stream
Since
3.3

Definition at line 410 of file kdebug.h.

kdecore

Skip menu "kdecore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdecore

Skip menu "kdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdecore by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |