From 6dea9442526e5ebacf313ad387c7dff4b87a53bf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 08:19:44 -0600 Subject: Rename KLocale to enhance compatibility with KDE4 --- kmail/templateparser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmail/templateparser.cpp') 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 ); } -- cgit v1.2.3