diff options
Diffstat (limited to 'korganizer/datenavigator.cpp')
-rw-r--r-- | korganizer/datenavigator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/datenavigator.cpp b/korganizer/datenavigator.cpp index bb4206b0c..4d85a7a4d 100644 --- a/korganizer/datenavigator.cpp +++ b/korganizer/datenavigator.cpp @@ -104,7 +104,7 @@ void DateNavigator::selectDates( const TQDate &d, int count, const TQDate &prefe void DateNavigator::selectWeekByDay( int weekDay, const TQDate &d, const TQDate &preferredMonth ) { int dateCount = mSelectedDates.count(); - bool weekStart = ( weekDay == KGlobal::locale()->weekStartDay() ); + bool weekStart = ( weekDay == TDEGlobal::locale()->weekStartDay() ); if ( weekStart && dateCount == 7 ) { selectWeek( d, preferredMonth ); } else { @@ -121,7 +121,7 @@ void DateNavigator::selectWeek( const TQDate &d, const TQDate &preferredMonth ) { int dayOfWeek = KOGlobals::self()->calendarSystem()->dayOfWeek( d ); - int weekStart = KGlobal::locale()->weekStartDay(); + int weekStart = TDEGlobal::locale()->weekStartDay(); TQDate firstDate = d.addDays( weekStart - dayOfWeek ); @@ -139,7 +139,7 @@ void DateNavigator::selectWorkWeek() void DateNavigator::selectWorkWeek( const TQDate &d ) { - int weekStart = KGlobal::locale()->weekStartDay(); + int weekStart = TDEGlobal::locale()->weekStartDay(); int dayOfWeek = KOGlobals::self()->calendarSystem()->dayOfWeek( d ); |