summaryrefslogtreecommitdiffstats
path: root/kfilereplace/commandengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfilereplace/commandengine.cpp')
-rw-r--r--kfilereplace/commandengine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kfilereplace/commandengine.cpp b/kfilereplace/commandengine.cpp
index 6d4ef03a..e8955556 100644
--- a/kfilereplace/commandengine.cpp
+++ b/kfilereplace/commandengine.cpp
@@ -19,7 +19,7 @@
// QT
#include <tqdatetime.h>
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqdom.h>
// KDE
@@ -34,9 +34,9 @@ TQString CommandEngine::datetime(const TQString& opt, const TQString& arg)
{
Q_UNUSED(arg);
if(opt == "iso")
- return TQDateTime::currentDateTime(Qt::LocalTime).toString(Qt::ISODate);
+ return TQDateTime::tqcurrentDateTime(Qt::LocalTime).toString(Qt::ISODate);
if(opt == "local")
- return TQDateTime::currentDateTime(Qt::LocalTime).toString(Qt::LocalDate);
+ return TQDateTime::tqcurrentDateTime(Qt::LocalTime).toString(Qt::LocalDate);
return TQString();
}