summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorrecurrence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeditorrecurrence.cpp')
-rw-r--r--korganizer/koeditorrecurrence.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/koeditorrecurrence.cpp b/korganizer/koeditorrecurrence.cpp
index 4b5889a8a..3aceab473 100644
--- a/korganizer/koeditorrecurrence.cpp
+++ b/korganizer/koeditorrecurrence.cpp
@@ -183,7 +183,7 @@ RecurWeekly::RecurWeekly( TQWidget *parent, const char *name ) :
TQHBox *dayBox = new TQHBox( this );
topLayout->addWidget( dayBox, 1, AlignVCenter );
// Respect start of week setting
- int weekStart=KGlobal::locale()->weekStartDay();
+ int weekStart=TDEGlobal::locale()->weekStartDay();
for ( int i = 0; i < 7; ++i ) {
// i is the nr of the combobox, not the day of week!
// label=(i+weekStart+6)%7 + 1;
@@ -631,7 +631,7 @@ ExceptionsWidget::ExceptionsWidget( TQWidget *parent, const char *name ) :
void ExceptionsWidget::addException()
{
TQDate date = mExceptionDateEdit->date();
- TQString dateStr = KGlobal::locale()->formatDate( date );
+ TQString dateStr = TDEGlobal::locale()->formatDate( date );
if( !mExceptionList->findItem( dateStr ) ) {
mExceptionDates.append( date );
mExceptionList->insertItem( dateStr );
@@ -645,7 +645,7 @@ void ExceptionsWidget::changeException()
TQDate date = mExceptionDateEdit->date();
mExceptionDates[ pos ] = date;
- mExceptionList->changeItem( KGlobal::locale()->formatDate( date ), pos );
+ mExceptionList->changeItem( TDEGlobal::locale()->formatDate( date ), pos );
}
void ExceptionsWidget::deleteException()
@@ -663,7 +663,7 @@ void ExceptionsWidget::setDates( const DateList &dates )
mExceptionDates.clear();
DateList::ConstIterator dit;
for ( dit = dates.begin(); dit != dates.end(); ++dit ) {
- mExceptionList->insertItem( KGlobal::locale()->formatDate(* dit ) );
+ mExceptionList->insertItem( TDEGlobal::locale()->formatDate(* dit ) );
mExceptionDates.append( *dit );
}
}
@@ -824,7 +824,7 @@ void RecurrenceRangeWidget::setDateTimes( const TQDateTime &start,
const TQDateTime & )
{
mStartDateLabel->setText( i18n("Begins on: %1")
- .arg( KGlobal::locale()->formatDate( start.date() ) ) );
+ .arg( TDEGlobal::locale()->formatDate( start.date() ) ) );
}
///////////////////////// RecurrenceRangeDialog ///////////////////////////
@@ -1394,8 +1394,8 @@ bool KOEditorRecurrence::validateInput()
mEventStartDt.isValid() && ((mRecurrenceRange->endDate())<mEventStartDt.date()) ) {
KMessageBox::sorry( 0,
i18n("The end date '%1' of the recurrence must be after the start date '%2' of the event.")
- .arg( KGlobal::locale()->formatDate( mRecurrenceRange->endDate() ) )
- .arg( KGlobal::locale()->formatDate( mEventStartDt.date() ) ) );
+ .arg( TDEGlobal::locale()->formatDate( mRecurrenceRange->endDate() ) )
+ .arg( TDEGlobal::locale()->formatDate( mEventStartDt.date() ) ) );
return false;
}
int recurrenceType = mRecurrenceChooser->type();