summaryrefslogtreecommitdiffstats
path: root/kmail/templateparser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:19:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:19:44 -0600
commit6dea9442526e5ebacf313ad387c7dff4b87a53bf (patch)
treed400e34cbe644bd98c7f0d08e2e83b43597dd3ee /kmail/templateparser.cpp
parent339bb51ad3721e188a57c529828a55400213ff70 (diff)
downloadtdepim-6dea9442526e5ebacf313ad387c7dff4b87a53bf.tar.gz
tdepim-6dea9442526e5ebacf313ad387c7dff4b87a53bf.zip
Rename KLocale to enhance compatibility with KDE4
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 9f9a80cd..2ff9f56a 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 );
}