summaryrefslogtreecommitdiffstats
path: root/kexi/main/printing/kexisimpleprintingengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main/printing/kexisimpleprintingengine.cpp')
-rw-r--r--kexi/main/printing/kexisimpleprintingengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/main/printing/kexisimpleprintingengine.cpp b/kexi/main/printing/kexisimpleprintingengine.cpp
index 45ab5892..ac829ce1 100644
--- a/kexi/main/printing/kexisimpleprintingengine.cpp
+++ b/kexi/main/printing/kexisimpleprintingengine.cpp
@@ -278,7 +278,7 @@ void KexiSimplePrintingEngine::paintPage(int pageNumber, TQPainter& painter, boo
}
painter.setFont(m_mainFont);
- m_dateTimeText = KGlobal::locale()->formatDateTime(TQDateTime::tqcurrentDateTime(),
+ m_dateTimeText = KGlobal::locale()->formatDateTime(TQDateTime::currentDateTime(),
true, false);
m_dateTimeWidth = painter.fontMetrics().width(m_dateTimeText+" ");
m_mainLineSpacing = painter.fontMetrics().lineSpacing();