summaryrefslogtreecommitdiffstats
path: root/korganizer/datenavigator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /korganizer/datenavigator.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'korganizer/datenavigator.cpp')
-rw-r--r--korganizer/datenavigator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/datenavigator.cpp b/korganizer/datenavigator.cpp
index bb4206b0c..a792b8416 100644
--- a/korganizer/datenavigator.cpp
+++ b/korganizer/datenavigator.cpp
@@ -37,7 +37,7 @@ using namespace KCal;
DateNavigator::DateNavigator( TQObject *parent, const char *name )
: TQObject( parent, name )
{
- mSelectedDates.append( TQDate::currentDate() );
+ mSelectedDates.append( TQDate::tqcurrentDate() );
}
DateNavigator::~DateNavigator()
@@ -69,7 +69,7 @@ void DateNavigator::selectDate( const TQDate &date )
if ( !d.isValid() ) {
kdDebug(5850) << "DateNavigator::selectDates(TQDate): an invalid date was passed as a parameter!" << endl;
- d = TQDate::currentDate();
+ d = TQDate::tqcurrentDate();
}
mSelectedDates.clear();
@@ -143,10 +143,10 @@ void DateNavigator::selectWorkWeek( const TQDate &d )
int dayOfWeek = KOGlobals::self()->calendarSystem()->dayOfWeek( d );
- TQDate currentDate = d.addDays( weekStart - dayOfWeek );
+ TQDate tqcurrentDate = d.addDays( weekStart - dayOfWeek );
if ( weekStart != 1 && dayOfWeek < weekStart ) {
- currentDate = currentDate.addDays( -7 );
+ tqcurrentDate = tqcurrentDate.addDays( -7 );
}
mSelectedDates.clear();
@@ -154,7 +154,7 @@ void DateNavigator::selectWorkWeek( const TQDate &d )
for ( int i = 0; i < 7; ++i ) {
if( (1<< ((i + weekStart + 6) % 7)) & (mask) ) {
- mSelectedDates.append( currentDate.addDays(i) );
+ mSelectedDates.append( tqcurrentDate.addDays(i) );
}
}
@@ -163,7 +163,7 @@ void DateNavigator::selectWorkWeek( const TQDate &d )
void DateNavigator::selectToday()
{
- TQDate d = TQDate::currentDate();
+ TQDate d = TQDate::tqcurrentDate();
int dateCount = mSelectedDates.count();