summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorrecurrence.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:49:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:49:30 -0600
commita9bde819f2b421dcc44741156e75eca4bb5fb4f4 (patch)
treed087071b1e8fcf79698938efec19f8e48bab0799 /korganizer/koeditorrecurrence.cpp
parent5c4a80ead2b1fe57dc6a8c29d0368792344cd61e (diff)
downloadtdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.tar.gz
tdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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();