summaryrefslogtreecommitdiffstats
path: root/arts/knotify/knotify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/knotify/knotify.cpp')
-rw-r--r--arts/knotify/knotify.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/arts/knotify/knotify.cpp b/arts/knotify/knotify.cpp
index 047b3bf63..b8d5b8d26 100644
--- a/arts/knotify/knotify.cpp
+++ b/arts/knotify/knotify.cpp
@@ -40,7 +40,7 @@
#include <tqfile.h>
#include <tqfileinfo.h>
#include <tqstringlist.h>
-#include <textstream.h>
+#include <tqtextstream.h>
// KDE headers
#include <dcopclient.h>
@@ -642,7 +642,7 @@ bool KNotify::notifyByLogfile(const TQString &text, const TQString &file)
// append msg
TQTextStream strm( &logFile );
- strm << "- KNotify " << TQDateTime::currentDateTime().toString() << ": ";
+ strm << "- KNotify " << TQDateTime::tqcurrentDateTime().toString() << ": ";
strm << text << endl;
// close file
@@ -660,7 +660,7 @@ bool KNotify::notifyByStderr(const TQString &text)
TQTextStream strm( stderr, IO_WriteOnly );
// output msg
- strm << "KNotify " << TQDateTime::currentDateTime().toString() << ": ";
+ strm << "KNotify " << TQDateTime::tqcurrentDateTime().toString() << ": ";
strm << text << endl;
return true;