summaryrefslogtreecommitdiffstats
path: root/libtdepim/kdateedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/kdateedit.cpp')
-rw-r--r--libtdepim/kdateedit.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libtdepim/kdateedit.cpp b/libtdepim/kdateedit.cpp
index df2b98c94..73f0586a6 100644
--- a/libtdepim/kdateedit.cpp
+++ b/libtdepim/kdateedit.cpp
@@ -53,7 +53,7 @@ class DateValidator : public TQValidator
return Acceptable;
bool ok = false;
- KGlobal::locale()->readDate( str, &ok );
+ TDEGlobal::locale()->readDate( str, &ok );
if ( ok )
return Acceptable;
else
@@ -73,7 +73,7 @@ KDateEdit::KDateEdit( TQWidget *parent, const char *name )
setMaxCount( 1 );
mDate = TQDate::currentDate();
- TQString today = KGlobal::locale()->formatDate( mDate, true );
+ TQString today = TDEGlobal::locale()->formatDate( mDate, true );
insertItem( today );
setCurrentItem( 0 );
@@ -134,7 +134,7 @@ void KDateEdit::popup()
if ( mReadOnly )
return;
- TQRect desk = KGlobalSettings::desktopGeometry( this );
+ TQRect desk = TDEGlobalSettings::desktopGeometry( this );
TQPoint popupPoint = mapToGlobal( TQPoint( 0,0 ) );
@@ -238,7 +238,7 @@ TQDate KDateEdit::parseDate( bool *replaced ) const
if ( replaced )
(*replaced) = true;
} else {
- result = KGlobal::locale()->readDate( text );
+ result = TDEGlobal::locale()->readDate( text );
}
return result;
@@ -335,7 +335,7 @@ void KDateEdit::setupKeywords()
TQString dayName;
for ( int i = 1; i <= 7; ++i ) {
- dayName = KGlobal::locale()->calendar()->weekDayName( i ).lower();
+ dayName = TDEGlobal::locale()->calendar()->weekDayName( i ).lower();
mKeywordMap.insert( dayName, i + 100 );
}
}
@@ -351,7 +351,7 @@ void KDateEdit::updateView()
{
TQString dateString;
if ( mDate.isValid() )
- dateString = KGlobal::locale()->formatDate( mDate, true );
+ dateString = TDEGlobal::locale()->formatDate( mDate, true );
// We do not want to generate a signal here,
// since we explicitly setting the date