summaryrefslogtreecommitdiffstats
path: root/tdecore/ktimezones.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/ktimezones.cpp')
-rw-r--r--tdecore/ktimezones.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/ktimezones.cpp b/tdecore/ktimezones.cpp
index dbd589d85..bc9b4b348 100644
--- a/tdecore/ktimezones.cpp
+++ b/tdecore/ktimezones.cpp
@@ -30,7 +30,7 @@
#include <tqfile.h>
#include <tqregexp.h>
#include <tqstringlist.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <cerrno>
#include <climits>
@@ -285,12 +285,12 @@ int KTimezone::offset(Qt::TimeSpec basisSpec) const
char *originalZone = ::getenv("TZ");
// Get the time in the current timezone.
- TQDateTime basisTime = TQDateTime::tqcurrentDateTime(basisSpec);
+ TQDateTime basisTime = TQDateTime::currentDateTime(basisSpec);
// Set the timezone and find out what time it is there compared to the basis.
::setenv("TZ", m_name.utf8(), 1);
tzset();
- TQDateTime remoteTime = TQDateTime::tqcurrentDateTime(Qt::LocalTime);
+ TQDateTime remoteTime = TQDateTime::currentDateTime(Qt::LocalTime);
int offset = remoteTime.secsTo(basisTime);
// Now restore things