summaryrefslogtreecommitdiffstats
path: root/kdecore/tests/ktimezonestest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/tests/ktimezonestest.cpp')
-rw-r--r--kdecore/tests/ktimezonestest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/tests/ktimezonestest.cpp b/kdecore/tests/ktimezonestest.cpp
index 650cc0512..69ea7c8a1 100644
--- a/kdecore/tests/ktimezonestest.cpp
+++ b/kdecore/tests/ktimezonestest.cpp
@@ -17,7 +17,7 @@ int main(int argc, char *argv[])
// Find the current offset of the UTC timezone.
timezone = timezones.zone("UTC");
- printf( "UTC timezone offset should be 0: %d\n", timezone->offset(TQDateTime::currentDateTime()) );
+ printf( "UTC timezone offset should be 0: %d\n", timezone->offset(TQDateTime::tqcurrentDateTime()) );
// Find some offsets for Europe/London.
char *london = "Europe/London";