diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 08:19:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 08:19:44 -0600 |
commit | 6dea9442526e5ebacf313ad387c7dff4b87a53bf (patch) | |
tree | d400e34cbe644bd98c7f0d08e2e83b43597dd3ee /korganizer | |
parent | 339bb51ad3721e188a57c529828a55400213ff70 (diff) | |
download | tdepim-6dea9442526e5ebacf313ad387c7dff4b87a53bf.tar.gz tdepim-6dea9442526e5ebacf313ad387c7dff4b87a53bf.zip |
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'korganizer')
-rw-r--r-- | korganizer/koeditorgeneralevent.cpp | 2 | ||||
-rw-r--r-- | korganizer/koeditorgeneraltodo.cpp | 2 | ||||
-rw-r--r-- | korganizer/korgac/korgacmain.cpp | 2 | ||||
-rw-r--r-- | korganizer/plugins/printing/year/yearprint.cpp | 2 | ||||
-rw-r--r-- | korganizer/printing/calprintdefaultplugins.cpp | 4 | ||||
-rw-r--r-- | korganizer/printing/calprintpluginbase.cpp | 4 | ||||
-rw-r--r-- | korganizer/timezone.cpp | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/koeditorgeneralevent.cpp b/korganizer/koeditorgeneralevent.cpp index 67c0654b4..47cb603a8 100644 --- a/korganizer/koeditorgeneralevent.cpp +++ b/korganizer/koeditorgeneralevent.cpp @@ -468,7 +468,7 @@ void KOEditorGeneralEvent::setDuration() void KOEditorGeneralEvent::emitDateTimeStr() { - KLocale *l = TDEGlobal::locale(); + TDELocale *l = TDEGlobal::locale(); TQString from,to; if (mAlldayEventCheckbox->isChecked()) { diff --git a/korganizer/koeditorgeneraltodo.cpp b/korganizer/koeditorgeneraltodo.cpp index 22667c46e..132c32901 100644 --- a/korganizer/koeditorgeneraltodo.cpp +++ b/korganizer/koeditorgeneraltodo.cpp @@ -565,7 +565,7 @@ void KOEditorGeneralTodo::completedChanged() void KOEditorGeneralTodo::dateChanged() { - KLocale *l = TDEGlobal::locale(); + TDELocale *l = TDEGlobal::locale(); TQString dateTimeStr = ""; if ( mStartCheck->isChecked() ) { diff --git a/korganizer/korgac/korgacmain.cpp b/korganizer/korgac/korgacmain.cpp index afa7fe458..0db40fed1 100644 --- a/korganizer/korgac/korgacmain.cpp +++ b/korganizer/korgac/korgacmain.cpp @@ -61,7 +61,7 @@ static const KCmdLineOptions options[] = int main( int argc, char **argv ) { - KLocale::setMainCatalogue( "korganizer" ); + TDELocale::setMainCatalogue( "korganizer" ); TDEAboutData aboutData( "korgac", I18N_NOOP("KOrganizer Reminder Daemon"), korgacVersion, I18N_NOOP("KOrganizer Reminder Daemon"), TDEAboutData::License_GPL, diff --git a/korganizer/plugins/printing/year/yearprint.cpp b/korganizer/plugins/printing/year/yearprint.cpp index bf039d2d5..41d54c243 100644 --- a/korganizer/plugins/printing/year/yearprint.cpp +++ b/korganizer/plugins/printing/year/yearprint.cpp @@ -138,7 +138,7 @@ void CalPrintYear::setDateRange( const TQDate& from, const TQDate& to ) void CalPrintYear::print( TQPainter &p, int width, int height ) { const KCalendarSystem *calsys = calendarSystem(); - KLocale *locale = TDEGlobal::locale(); + TDELocale *locale = TDEGlobal::locale(); if ( !calsys || !locale ) return; TQRect headerBox( 0, 0, width, headerHeight() ); diff --git a/korganizer/printing/calprintdefaultplugins.cpp b/korganizer/printing/calprintdefaultplugins.cpp index 8ed37660c..6491e548b 100644 --- a/korganizer/printing/calprintdefaultplugins.cpp +++ b/korganizer/printing/calprintdefaultplugins.cpp @@ -705,7 +705,7 @@ void CalPrintDay::print( TQPainter &p, int width, int height ) TQRect footerBox( 0, height - footerHeight(), width, footerHeight() ); height -= footerHeight(); - KLocale *local = TDEGlobal::locale(); + TDELocale *local = TDEGlobal::locale(); do { TQTime curStartTime( mStartTime ); @@ -915,7 +915,7 @@ void CalPrintWeek::print( TQPainter &p, int width, int height ) toWeek = mToDate.addDays( 6 - weekdayCol ); curWeek = fromWeek.addDays( 6 ); - KLocale *local = TDEGlobal::locale(); + TDELocale *local = TDEGlobal::locale(); TQString line1, line2, title; TQRect headerBox( 0, 0, width, headerHeight() ); diff --git a/korganizer/printing/calprintpluginbase.cpp b/korganizer/printing/calprintpluginbase.cpp index f754e52df..9eecda396 100644 --- a/korganizer/printing/calprintpluginbase.cpp +++ b/korganizer/printing/calprintpluginbase.cpp @@ -927,7 +927,7 @@ void CalPrintPluginBase::drawDayBox( TQPainter &p, const TQDate &qd, bool fullDate, bool printRecurDaily, bool printRecurWeekly ) { TQString dayNumStr; - const KLocale*local = TDEGlobal::locale(); + const TDELocale*local = TDEGlobal::locale(); // This has to be localized if ( fullDate && mCalSys ) { @@ -1423,7 +1423,7 @@ void CalPrintPluginBase::drawTodo( int &count, Todo *todo, TQPainter &p, TodoParentStart *r ) { TQString outStr; - const KLocale *local = TDEGlobal::locale(); + const TDELocale *local = TDEGlobal::locale(); TQRect rect; TodoParentStart startpt; diff --git a/korganizer/timezone.cpp b/korganizer/timezone.cpp index 73891c2d6..69e0b4f0e 100644 --- a/korganizer/timezone.cpp +++ b/korganizer/timezone.cpp @@ -58,6 +58,6 @@ int main(int argc,char **argv) kdDebug(5850) << "TQDateTime::currentTime(): " << qtime.toString( TQt::ISODate ) << endl; - kdDebug(5850) << "KLocale::formatTime(): " + kdDebug(5850) << "TDELocale::formatTime(): " << TDEGlobal::locale()->formatTime( qtime ) << endl; } |