summaryrefslogtreecommitdiffstats
path: root/kmail/templateparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/templateparser.cpp')
-rw-r--r--kmail/templateparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/templateparser.cpp b/kmail/templateparser.cpp
index 9f9a80cd2..2ff9f56a9 100644
--- a/kmail/templateparser.cpp
+++ b/kmail/templateparser.cpp
@@ -694,7 +694,7 @@ void TemplateParser::processWithTemplate( const TQString &tmpl )
kdDebug() << "Command: DATEEN" << endl;
i += strlen( "DATEEN" );
TQDateTime date = TQDateTime::currentDateTime();
- KLocale locale( "C" );
+ TDELocale locale( "C" );
TQString str = locale.formatDate( date.date(), false );
body.append( str );
@@ -723,7 +723,7 @@ void TemplateParser::processWithTemplate( const TQString &tmpl )
kdDebug() << "Command: TIMELONGEN" << endl;
i += strlen( "TIMELONGEN" );
TQDateTime date = TQDateTime::currentDateTime();
- KLocale locale( "C");
+ TDELocale locale( "C");
TQString str = locale.formatTime( date.time(), true );
body.append( str );
@@ -747,7 +747,7 @@ void TemplateParser::processWithTemplate( const TQString &tmpl )
if ( mOrigMsg ) {
TQDateTime date;
date.setTime_t( mOrigMsg->date() );
- KLocale locale( "C");
+ TDELocale locale( "C");
TQString str = locale.formatDate( date.date(), false );
body.append( str );
}
@@ -788,7 +788,7 @@ void TemplateParser::processWithTemplate( const TQString &tmpl )
if ( mOrigMsg ) {
TQDateTime date;
date.setTime_t( mOrigMsg->date() );
- KLocale locale( "C");
+ TDELocale locale( "C");
TQString str = locale.formatTime( date.time(), true );
body.append( str );
}