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 --- libtdepim/ktimeedit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libtdepim/ktimeedit.cpp') 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 "<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 ); -- cgit v1.2.1