diff options
Diffstat (limited to 'korganizer/datenavigator.cpp')
-rw-r--r-- | korganizer/datenavigator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/datenavigator.cpp b/korganizer/datenavigator.cpp index 4baaf9b86..a792b8416 100644 --- a/korganizer/datenavigator.cpp +++ b/korganizer/datenavigator.cpp @@ -34,8 +34,8 @@ using namespace KCal; -DateNavigator::DateNavigator( TQObject *tqparent, const char *name ) - : TQObject( tqparent, name ) +DateNavigator::DateNavigator( TQObject *parent, const char *name ) + : TQObject( parent, name ) { mSelectedDates.append( TQDate::tqcurrentDate() ); } @@ -150,10 +150,10 @@ void DateNavigator::selectWorkWeek( const TQDate &d ) } mSelectedDates.clear(); - int tqmask = KOGlobals::self()->getWorkWeekMask(); + int mask = KOGlobals::self()->getWorkWeekMask(); for ( int i = 0; i < 7; ++i ) { - if( (1<< ((i + weekStart + 6) % 7)) & (tqmask) ) { + if( (1<< ((i + weekStart + 6) % 7)) & (mask) ) { mSelectedDates.append( tqcurrentDate.addDays(i) ); } } |