diff options
Diffstat (limited to 'libtdeedu/extdate/extdatepicker.cpp')
-rw-r--r-- | libtdeedu/extdate/extdatepicker.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libtdeedu/extdate/extdatepicker.cpp b/libtdeedu/extdate/extdatepicker.cpp index 7d167a98..e9f2f4fe 100644 --- a/libtdeedu/extdate/extdatepicker.cpp +++ b/libtdeedu/extdate/extdatepicker.cpp @@ -60,7 +60,7 @@ void ExtDatePicker::fillWeeksCombo(const ExtDate &date) // every year can have a different number of weeks //must remain commented unless ExtDate stuff gets added to tdelibs -// const ExtCalendarSystem * calendar = KGlobal::locale()->calendar(); +// const ExtCalendarSystem * calendar = TDEGlobal::locale()->calendar(); // it could be that we had 53,1..52 and now 1..53 which is the same number but different // so always fill with new values @@ -139,9 +139,9 @@ void ExtDatePicker::init( const ExtDate &dt ) line = new KLineEdit(this); val = new ExtDateValidator(this); table = new ExtDateTable(this); - fontsize = KGlobalSettings::generalFont().pointSize(); + fontsize = TDEGlobalSettings::generalFont().pointSize(); if (fontsize == -1) - fontsize = TQFontInfo(KGlobalSettings::generalFont()).pointSize(); + fontsize = TQFontInfo(TDEGlobalSettings::generalFont()).pointSize(); fontsize++; // Make a little bigger @@ -240,10 +240,10 @@ ExtDatePicker::dateChangedSlot(const ExtDate &date) //must remain commented unless ExtDate gets added to tdelibs -// const ExtCalendarSystem * calendar = KGlobal::locale()->calendar(); +// const ExtCalendarSystem * calendar = TDEGlobal::locale()->calendar(); -// line->setText(KGlobal::locale()->formatDate(date, true)); - line->setText( date.toString( KGlobal::locale()->dateFormatShort() ) ); +// line->setText(TDEGlobal::locale()->formatDate(date, true)); + line->setText( date.toString( TDEGlobal::locale()->dateFormatShort() ) ); selectMonth->setText(d->calendar->monthName(date, false)); fillWeeksCombo(date); @@ -295,7 +295,7 @@ void ExtDatePicker::monthForwardClicked() { ExtDate temp; -// temp = KGlobal::locale()->calendar()->addMonths( table->getDate(), 1 ); +// temp = TDEGlobal::locale()->calendar()->addMonths( table->getDate(), 1 ); temp = d->calendar->addMonths( table->getDate(), 1 ); setDate( temp ); } @@ -304,7 +304,7 @@ void ExtDatePicker::monthBackwardClicked() { ExtDate temp; -// temp = KGlobal::locale()->calendar()->addMonths( table->getDate(), -1 ); +// temp = TDEGlobal::locale()->calendar()->addMonths( table->getDate(), -1 ); temp = d->calendar->addMonths( table->getDate(), -1 ); setDate( temp ); } @@ -313,7 +313,7 @@ void ExtDatePicker::yearForwardClicked() { ExtDate temp; -// temp = KGlobal::locale()->calendar()->addYears( table->getDate(), 1 ); +// temp = TDEGlobal::locale()->calendar()->addYears( table->getDate(), 1 ); temp = d->calendar->addYears( table->getDate(), 1 ); setDate( temp ); } @@ -322,7 +322,7 @@ void ExtDatePicker::yearBackwardClicked() { ExtDate temp; -// temp = KGlobal::locale()->calendar()->addYears( table->getDate(), -1 ); +// temp = TDEGlobal::locale()->calendar()->addYears( table->getDate(), -1 ); temp = d->calendar->addYears( table->getDate(), -1 ); setDate( temp ); } @@ -332,7 +332,7 @@ void ExtDatePicker::selectWeekClicked() {} // ### in 3.2 obsolete; kept for bin void ExtDatePicker::weekSelected(int week) { -// const ExtCalendarSystem * calendar = KGlobal::locale()->calendar(); +// const ExtCalendarSystem * calendar = TDEGlobal::locale()->calendar(); ExtDate date = table->getDate(); int year = d->calendar->year(date); @@ -349,7 +349,7 @@ void ExtDatePicker::selectMonthClicked() { // every year can have different month names (in some calendar systems) -// const ExtCalendarSystem * calendar = KGlobal::locale()->calendar(); +// const ExtCalendarSystem * calendar = TDEGlobal::locale()->calendar(); ExtDate date = table->getDate(); int i, month, months = d->calendar->monthsInYear(date); @@ -375,7 +375,7 @@ ExtDatePicker::selectMonthClicked() void ExtDatePicker::selectYearClicked() { -// const ExtCalendarSystem * calendar = KGlobal::locale()->calendar(); +// const ExtCalendarSystem * calendar = TDEGlobal::locale()->calendar(); if (selectYear->state() == TQButton::Off) { |