summaryrefslogtreecommitdiffstats
path: root/libkmime/kmime_util.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 /libkmime/kmime_util.cpp
parent339bb51ad3721e188a57c529828a55400213ff70 (diff)
downloadtdepim-6dea9442526e5ebacf313ad387c7dff4b87a53bf.tar.gz
tdepim-6dea9442526e5ebacf313ad387c7dff4b87a53bf.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'libkmime/kmime_util.cpp')
-rw-r--r--libkmime/kmime_util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkmime/kmime_util.cpp b/libkmime/kmime_util.cpp
index 601401814..38f282752 100644
--- a/libkmime/kmime_util.cpp
+++ b/libkmime/kmime_util.cpp
@@ -636,7 +636,7 @@ DateFormatter::qdateToTimeT(const TQDateTime& dt) const
TQString
DateFormatter::fancy(time_t otime) const
{
- KLocale *locale = TDEGlobal::locale();
+ TDELocale *locale = TDEGlobal::locale();
if ( otime <= 0 )
return i18n( "unknown" );
@@ -691,13 +691,13 @@ DateFormatter::localized(time_t otime, bool shortFormat, bool includeSecs,
{
TQDateTime tmp;
TQString ret;
- KLocale *locale = TDEGlobal::locale();
+ TDELocale *locale = TDEGlobal::locale();
tmp.setTime_t( otime );
if ( !localeLanguage.isEmpty() ) {
- locale=new KLocale(localeLanguage);
+ locale=new TDELocale(localeLanguage);
locale->setLanguage(localeLanguage);
locale->setCountry(localeLanguage);
ret = locale->formatDateTime( tmp, shortFormat, includeSecs );