\section{class class class class class class class class class class class class class class class class class Debug message generators}
\label{group__kdebug}\index{class class class class class class class class class class class class class class class class class Debug message generators@{class class class class class class class class class class class class class class class class class Debug message generators}}
\subsection*{Classes}
\begin{CompactItemize}
\item 
class {\bf kdbgstream}
\begin{CompactList}\small\item\em kdbgstream is a text stream that allows you to print debug messages. \item\end{CompactList}\item 
class {\bf kdbgstream}
\begin{CompactList}\small\item\em kdbgstream is a text stream that allows you to print debug messages. \item\end{CompactList}\item 
class {\bf kndbgstream}
\begin{CompactList}\small\item\em kndbgstream is a dummy variant of kdbgstream. \item\end{CompactList}\end{CompactItemize}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf k\_\-funcinfo}~\char`\"{}[\char`\"{} $<$$<$ \_\-\_\-FILE\_\-\_\- $<$$<$ \char`\"{}:\char`\"{} $<$$<$ \_\-\_\-LINE\_\-\_\- $<$$<$ \char`\"{}] \char`\"{}\label{group__kdebug_ga14}

\item 
\#define {\bf k\_\-lineinfo}~\char`\"{}[\char`\"{} $<$$<$ \_\-\_\-FILE\_\-\_\- $<$$<$ \char`\"{}:\char`\"{} $<$$<$ \_\-\_\-LINE\_\-\_\- $<$$<$ \char`\"{}] \char`\"{}\label{group__kdebug_ga15}

\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef {\bf kdbgstream} \&($\ast$ {\bf KDBGFUNC} )({\bf kdbgstream} \&)\label{group__kdebug_ga0}

\item 
typedef {\bf kndbgstream} \&($\ast$ {\bf KNDBGFUNC} )({\bf kndbgstream} \&)\label{group__kdebug_ga1}

\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
KDECORE\_\-EXPORT {\bf kdbgstream} \& {\bf perror} ({\bf kdbgstream} \&s)\label{group__kdebug_ga2}

\item 
{\bf kndbgstream} \& {\bf endl} ({\bf kndbgstream} \&s)
\item 
{\bf kndbgstream} \& {\bf flush} ({\bf kndbgstream} \&s)
\item 
{\bf kndbgstream} \& {\bf perror} ({\bf kndbgstream} \&s)\label{group__kdebug_ga5}

\item 
KDECORE\_\-EXPORT {\bf kdbgstream} {\bf kd\-Debug} (bool cond, int area=0)\label{group__kdebug_ga6}

\item 
{\bf kndbgstream} {\bf knd\-Debug} (int area=0)
\item 
{\bf kndbgstream} {\bf knd\-Debug} (bool, int=0)\label{group__kdebug_ga8}

\item 
{\bf QString} {\bf knd\-Backtrace} ()\label{group__kdebug_ga9}

\item 
{\bf QString} {\bf knd\-Backtrace} (int)\label{group__kdebug_ga10}

\item 
KDECORE\_\-EXPORT {\bf kdbgstream} {\bf kd\-Warning} (bool cond, int area=0)\label{group__kdebug_ga11}

\item 
KDECORE\_\-EXPORT {\bf kdbgstream} {\bf kd\-Error} (bool cond, int area=0)\label{group__kdebug_ga12}

\item 
KDECORE\_\-EXPORT {\bf kdbgstream} {\bf kd\-Fatal} (bool cond, int area=0)\label{group__kdebug_ga13}

\item 
template$<$class T$>$ {\bf kdbgstream} \& {\bf kdbgstream::operator$<$$<$} (const {\bf QValue\-List}$<$ T $>$ \&list)
\item 
{\bf kdbgstream} \& {\bf KGlobal::endl} ({\bf kdbgstream} \&s)
\item 
{\bf kdbgstream} \& {\bf KGlobal::flush} ({\bf kdbgstream} \&s)
\item 
KDECORE\_\-EXPORT {\bf kdbgstream} {\bf KGlobal::kd\-Debug} (int area=0)
\item 
KDECORE\_\-EXPORT {\bf QString} {\bf KGlobal::kd\-Backtrace} ()
\item 
KDECORE\_\-EXPORT {\bf QString} {\bf KGlobal::kd\-Backtrace} (int levels)
\item 
KDECORE\_\-EXPORT {\bf kdbgstream} {\bf KGlobal::kd\-Warning} (int area=0)
\item 
KDECORE\_\-EXPORT {\bf kdbgstream} {\bf KGlobal::kd\-Error} (int area=0)
\item 
KDECORE\_\-EXPORT {\bf kdbgstream} {\bf KGlobal::kd\-Fatal} (int area=0)
\item 
KDECORE\_\-EXPORT void {\bf KGlobal::kd\-Clear\-Debug\-Config} ()
\end{CompactItemize}


\subsection{Detailed Description}
{\bf KDE}{\rm (p.\,\pageref{namespaceKDE})} debug message streams let you and the user control just how many debug messages you see. 

\subsection{Function Documentation}
\index{kdebug@{kdebug}!endl@{endl}}
\index{endl@{endl}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf kndbgstream}\& endl ({\bf kndbgstream} \& {\em s})\hspace{0.3cm}{\tt  [inline]}}\label{group__kdebug_ga3}


Does nothing. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em s}]a stream \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the given {\tt s} \end{Desc}


Definition at line 583 of file kdebug.h.

Referenced by KVMAllocator::allocate(), KIcon\-Loader::alpha\-Blending(), KApplication::check\-Recover\-File(), KAccel::connect\-Item(), KTemp\-Dir::create(), KCalendar\-System\-Factory::create(), KStartup\-Info::create\-New\-Startup\-Id(), KIcon\-Loader::current\-Size(), KCalendar\-System\-Jalali::day(), KAccel::emit\-Keycode\-Changed(), KLibrary::factory(), KLib\-Loader::find\-Library(), KStandard\-Dirs::find\-Resource(), KStandard\-Dirs::find\-Resource\-Dir(), KVMAllocator::free(), KLib\-Loader::global\-Library(), KConfig\-Dialog\-Manager::has\-Changed(), KIcon\-Loader::icon\-Path(), KShortcut::init(), KKey\-Sequence::init(), KKey::init(), KKey\-Native::init(), KKey\-Server::initialize\-Mods(), KStartup\-Info\-Id::init\-Id(), KKey\-Server::Sym::init\-Qt(), KApplication::invoke\-Browser(), KApplication::invoke\-Help(), KApplication::invoke\-HTMLHelp(), KApplication::invoke\-Mailer(), KDesktop\-File::is\-Authorized\-Desktop\-File(), KAccel::KAccel(), KConfig\-Skeleton::KConfig\-Skeleton(), KGlobal\-Accel::KGlobal\-Accel(), KProc\-IO::KProc\-IO(), KLocale::lang\-Lookup(), KLib\-Loader::library(), KIcon\-Loader::load\-Animated(), KIcon\-Loader::load\-Icon(), KIcon\-Loader::load\-Icon\-Set(), KKey\-Server::mod\-To\-Mod\-X(), KCalendar\-System\-Jalali::month(), KIcon\-Loader::movie\-Path(), KConfig\-Dialog\-Manager::parse\-Children(), KIcon\-Loader::query\-Icons(), KIcon\-Loader::query\-Icons\-By\-Context(), KConfig\-Skeleton::read\-Config(), KShortcut\-List::read\-Settings(), KStandard\-Dirs::resource\-Dirs(), KStandard\-Dirs::save\-Location(), KStartup\-Info::send\-Change(), KStartup\-Info::send\-Change\-X(), KStartup\-Info::send\-Finish(), KStartup\-Info::send\-Finish\-X(), KStartup\-Info::send\-Startup(), KStartup\-Info::send\-Startup\-X(), KAccel::set\-Shortcut(), KProcess::setup\-Communication(), KProcess::slot\-Send\-Data(), KUnique\-Application::start(), KProcess::start(), KLibrary::symbol(), KApplication::temp\-Save\-Name(), KLocale::translate(), KLocale::translate\-Qt(), KIcon\-Loader::unknown(), KMD4::update(), KMD5::update(), KConfig\-Dialog\-Manager::update\-Settings(), KConfig\-Dialog\-Manager::update\-Widgets(), KConfig\-Skeleton::write\-Config(), KShortcut\-List::write\-Settings(), KCalendar\-System\-Jalali::year(), and KLib\-Loader::$\sim$KLib\-Loader().\index{kdebug@{kdebug}!flush@{flush}}
\index{flush@{flush}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf kndbgstream}\& flush ({\bf kndbgstream} \& {\em s})\hspace{0.3cm}{\tt  [inline]}}\label{group__kdebug_ga4}


Does nothing. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em s}]a stream \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the given {\tt s} \end{Desc}


Definition at line 589 of file kdebug.h.

Referenced by kdbgstream::operator$<$$<$().\index{kdebug@{kdebug}!kndDebug@{kndDebug}}
\index{kndDebug@{kndDebug}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf kndbgstream} knd\-Debug (int {\em area} = {\tt 0})\hspace{0.3cm}{\tt  [inline]}}\label{group__kdebug_ga7}


Returns a dummy debug stream. 

The stream does not print anything. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em area}]an id to identify the output, 0 for default \end{description}
\end{Desc}
\begin{Desc}
\item[See also:]kd\-Debug() \end{Desc}


Definition at line 620 of file kdebug.h.\index{kdebug@{kdebug}!operator<<@{operator$<$$<$}}
\index{operator<<@{operator$<$$<$}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf kdbgstream} \& kdbgstream::operator$<$$<$ (const {\bf QValue\-List}$<$ T $>$ \& {\em list})\hspace{0.3cm}{\tt  [inherited]}}\label{group__kdebug_ga16}


Prints the given value. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em list}]the list to print \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]this stream \end{Desc}
\begin{Desc}
\item[Since:]3.3 \end{Desc}


Definition at line 410 of file kdebug.h.

References QValue\-List::end().\index{kdebug@{kdebug}!endl@{endl}}
\index{endl@{endl}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf kdbgstream} \& endl ({\bf kdbgstream} \& {\em s})\hspace{0.3cm}{\tt  [related, inherited]}}\label{group__kdebug_ga17}


Prints an \char`\"{}$\backslash$n\char`\"{}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em s}]the debug stream to write to \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the debug stream ({\tt s}) \end{Desc}


Definition at line 430 of file kdebug.h.\index{kdebug@{kdebug}!flush@{flush}}
\index{flush@{flush}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf kdbgstream} \& flush ({\bf kdbgstream} \& {\em s})\hspace{0.3cm}{\tt  [related, inherited]}}\label{group__kdebug_ga18}


Flushes the stream. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em s}]the debug stream to write to \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the debug stream ({\tt s}) \end{Desc}


Definition at line 438 of file kdebug.h.

References kndbgstream::flush().\index{kdebug@{kdebug}!kdDebug@{kdDebug}}
\index{kdDebug@{kdDebug}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KDECORE\_\-EXPORT {\bf kdbgstream} kd\-Debug (int {\em area} = {\tt 0})\hspace{0.3cm}{\tt  [related, inherited]}}\label{group__kdebug_ga19}


Returns a debug stream. 

You can use it to print debug information. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em area}]an id to identify the output, 0 for default \end{description}
\end{Desc}
\begin{Desc}
\item[See also:]{\bf knd\-Debug()}{\rm (p.\,\pageref{group__kdebug_ga7})} \end{Desc}


Definition at line 317 of file kdebug.cpp.\index{kdebug@{kdebug}!kdBacktrace@{kdBacktrace}}
\index{kdBacktrace@{kdBacktrace}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KDECORE\_\-EXPORT {\bf QString} kd\-Backtrace ()\hspace{0.3cm}{\tt  [related, inherited]}}\label{group__kdebug_ga20}


Returns a backtrace. 

\begin{Desc}
\item[Returns:]a backtrace \end{Desc}


Definition at line 578 of file kdebug.cpp.\index{kdebug@{kdebug}!kdBacktrace@{kdBacktrace}}
\index{kdBacktrace@{kdBacktrace}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KDECORE\_\-EXPORT {\bf QString} kd\-Backtrace (int {\em levels})\hspace{0.3cm}{\tt  [related, inherited]}}\label{group__kdebug_ga21}


Returns a backtrace. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em levels}]the number of levels of the backtrace \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]a backtrace \end{Desc}
\begin{Desc}
\item[Since:]3.1 \end{Desc}


Definition at line 553 of file kdebug.cpp.

References QString::from\-Latin1(), and QString::number().\index{kdebug@{kdebug}!kdWarning@{kdWarning}}
\index{kdWarning@{kdWarning}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KDECORE\_\-EXPORT {\bf kdbgstream} kd\-Warning (int {\em area} = {\tt 0})\hspace{0.3cm}{\tt  [related, inherited]}}\label{group__kdebug_ga22}


Returns a warning stream. 

You can use it to print warning information. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em area}]an id to identify the output, 0 for default \end{description}
\end{Desc}


Definition at line 322 of file kdebug.cpp.\index{kdebug@{kdebug}!kdError@{kdError}}
\index{kdError@{kdError}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KDECORE\_\-EXPORT {\bf kdbgstream} kd\-Error (int {\em area} = {\tt 0})\hspace{0.3cm}{\tt  [related, inherited]}}\label{group__kdebug_ga23}


Returns an error stream. 

You can use it to print error information. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em area}]an id to identify the output, 0 for default \end{description}
\end{Desc}


Definition at line 320 of file kdebug.cpp.\index{kdebug@{kdebug}!kdFatal@{kdFatal}}
\index{kdFatal@{kdFatal}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KDECORE\_\-EXPORT {\bf kdbgstream} kd\-Fatal (int {\em area} = {\tt 0})\hspace{0.3cm}{\tt  [related, inherited]}}\label{group__kdebug_ga24}


Returns a fatal error stream. 

You can use it to print fatal error information. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em area}]an id to identify the output, 0 for default \end{description}
\end{Desc}


Definition at line 324 of file kdebug.cpp.\index{kdebug@{kdebug}!kdClearDebugConfig@{kdClearDebugConfig}}
\index{kdClearDebugConfig@{kdClearDebugConfig}!kdebug@{kdebug}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KDECORE\_\-EXPORT void kd\-Clear\-Debug\-Config ()\hspace{0.3cm}{\tt  [related, inherited]}}\label{group__kdebug_ga25}


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



Definition at line 583 of file kdebug.cpp.