diff options
Diffstat (limited to 'libtdepim')
-rw-r--r-- | libtdepim/broadcaststatus.cpp | 2 | ||||
-rw-r--r-- | libtdepim/ktimeedit.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libtdepim/broadcaststatus.cpp b/libtdepim/broadcaststatus.cpp index 45a7b51cc..d7a26944e 100644 --- a/libtdepim/broadcaststatus.cpp +++ b/libtdepim/broadcaststatus.cpp @@ -55,7 +55,7 @@ void BroadcastStatus::setStatusMsg( const TQString& message ) void BroadcastStatus::setStatusMsgWithTimestamp( const TQString& message ) { - KLocale* locale = TDEGlobal::locale(); + TDELocale* locale = TDEGlobal::locale(); setStatusMsg( i18n( "%1 is a time, %2 is a status message", "[%1] %2" ) .arg( locale->formatTime( TQTime::currentTime(), true /* with seconds */ ) ) diff --git a/libtdepim/ktimeedit.cpp b/libtdepim/ktimeedit.cpp index 2a58fc54c..2fe849c5f 100644 --- a/libtdepim/ktimeedit.cpp +++ b/libtdepim/ktimeedit.cpp @@ -53,7 +53,7 @@ public: return Intermediate; bool ok = false; - /*TQTime time =*/ TDEGlobal::locale()->readTime(str, KLocale::WithoutSeconds, &ok); + /*TQTime time =*/ TDEGlobal::locale()->readTime(str, TDELocale::WithoutSeconds, &ok); if ( ok ) return Acceptable; // kdDebug(5300)<<"Time "<<str<<" not directly acceptable, trying military format "<<endl; @@ -91,7 +91,7 @@ public: } virtual void fixup ( TQString & input ) const { bool ok = false; - TDEGlobal::locale()->readTime( input, KLocale::WithoutSeconds, &ok ); + TDEGlobal::locale()->readTime( input, TDELocale::WithoutSeconds, &ok ); if ( !ok ) { // Also try to accept times in "military format", i.e. no delimiter, like 1200 int tm = input.toInt( &ok ); @@ -149,9 +149,9 @@ bool KTimeEdit::hasTime() const TQTime KTimeEdit::getTime() const { //kdDebug(5300) << "KTimeEdit::getTime(), currentText() = " << currentText() << endl; - // TODO use KLocale::WithoutSeconds in HEAD + // TODO use TDELocale::WithoutSeconds in HEAD bool ok = false; - TQTime time = TDEGlobal::locale()->readTime( currentText(), KLocale::WithoutSeconds, &ok ); + TQTime time = TDEGlobal::locale()->readTime( currentText(), TDELocale::WithoutSeconds, &ok ); if ( !ok ) { // Also try to accept times in "military format", i.e. no delimiter, like 1200 int tm = currentText().toInt( &ok ); |