diff options
Diffstat (limited to 'doc/html/logger_8cpp-source.html')
-rw-r--r-- | doc/html/logger_8cpp-source.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/logger_8cpp-source.html b/doc/html/logger_8cpp-source.html index d38f4a6..2c66eae 100644 --- a/doc/html/logger_8cpp-source.html +++ b/doc/html/logger_8cpp-source.html @@ -36,22 +36,22 @@ <a name="l00019"></a>00019 <span class="comment">// #include <kdebug.h></span> <a name="l00020"></a>00020 <span class="preprocessor">#include "logger.h"</span> <a name="l00021"></a>00021 -<a name="l00022"></a>00022 QTextStream* <a class="code" href="classLogger.html#47a8e9cb2143530a93993f288674ffaa">Logger::logstream</a> = NULL; -<a name="l00023"></a>00023 QFile <a class="code" href="classLogger.html#eb5105d72017f5c8ce07d4074f5e1d37">Logger::logfile</a>; +<a name="l00022"></a>00022 TQTextStream* <a class="code" href="classLogger.html#47a8e9cb2143530a93993f288674ffaa">Logger::logstream</a> = NULL; +<a name="l00023"></a>00023 TQFile <a class="code" href="classLogger.html#eb5105d72017f5c8ce07d4074f5e1d37">Logger::logfile</a>; <a name="l00024"></a>00024 <a name="l00025"></a><a class="code" href="classLogger.html#cb668a9e186a25fbaad2e4af6d1ed00a">00025</a> <a class="code" href="classLogger.html#cb668a9e186a25fbaad2e4af6d1ed00a">Logger::~Logger</a>() <a name="l00026"></a>00026 { <a name="l00027"></a>00027 <span class="keyword">delete</span> <a class="code" href="classLogger.html#47a8e9cb2143530a93993f288674ffaa">logstream</a>; <a name="l00028"></a>00028 } <a name="l00029"></a>00029 -<a name="l00030"></a>00030 QTextStream& <a class="code" href="classLogger.html">Logger</a> () +<a name="l00030"></a>00030 TQTextStream& <a class="code" href="classLogger.html">Logger</a> () <a name="l00031"></a>00031 { <a name="l00032"></a>00032 <span class="keywordflow">if</span> (<a class="code" href="classLogger.html#47a8e9cb2143530a93993f288674ffaa">Logger::logstream</a> == NULL) <a name="l00033"></a>00033 { -<a name="l00034"></a>00034 QString logfilename = locateLocal (<span class="stringliteral">"data"</span>, <span class="stringliteral">"kshowmail/kshowmail.log"</span>); +<a name="l00034"></a>00034 TQString logfilename = locateLocal (<span class="stringliteral">"data"</span>, <span class="stringliteral">"kshowmail/kshowmail.log"</span>); <a name="l00035"></a>00035 <a class="code" href="classLogger.html#eb5105d72017f5c8ce07d4074f5e1d37">Logger::logfile</a>.setName (logfilename); <a name="l00036"></a>00036 <a class="code" href="classLogger.html#eb5105d72017f5c8ce07d4074f5e1d37">Logger::logfile</a>.open (IO_WriteOnly | IO_Append); -<a name="l00037"></a>00037 <a class="code" href="classLogger.html#47a8e9cb2143530a93993f288674ffaa">Logger::logstream</a> = <span class="keyword">new</span> QTextStream (&<a class="code" href="classLogger.html#eb5105d72017f5c8ce07d4074f5e1d37">Logger::logfile</a>); +<a name="l00037"></a>00037 <a class="code" href="classLogger.html#47a8e9cb2143530a93993f288674ffaa">Logger::logstream</a> = <span class="keyword">new</span> TQTextStream (&<a class="code" href="classLogger.html#eb5105d72017f5c8ce07d4074f5e1d37">Logger::logfile</a>); <a name="l00038"></a>00038 } <a name="l00039"></a>00039 <span class="keywordflow">return</span> *<a class="code" href="classLogger.html#47a8e9cb2143530a93993f288674ffaa">Logger::logstream</a>; <a name="l00040"></a>00040 } |