summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorgeneraltodo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeditorgeneraltodo.cpp')
-rw-r--r--korganizer/koeditorgeneraltodo.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/koeditorgeneraltodo.cpp b/korganizer/koeditorgeneraltodo.cpp
index fe2fbe2b2..7f4684e10 100644
--- a/korganizer/koeditorgeneraltodo.cpp
+++ b/korganizer/koeditorgeneraltodo.cpp
@@ -252,7 +252,7 @@ void KOEditorGeneralTodo::initPriority(TQWidget *parent, TQBoxLayout *topLayout)
priorityLabel->setBuddy( mPriorityCombo );
}
-void KOEditorGeneralTodo::initqStatus(TQWidget *parent,TQBoxLayout *topLayout)
+void KOEditorGeneralTodo::iniStatus(TQWidget *parent,TQBoxLayout *topLayout)
{
TQBoxLayout *statusLayout = new TQHBoxLayout(topLayout);
@@ -284,12 +284,12 @@ void KOEditorGeneralTodo::setDefaults( const TQDateTime &due, bool allDay )
mDueTimeEdit->setTime( due.time() );
} else {
// Make it due tomorrow.
- mDueDateEdit->setDate( TQDate::tqcurrentDate().addDays(1) );
+ mDueDateEdit->setDate( TQDate::currentDate().addDays(1) );
mDueTimeEdit->setTime( TQTime::currentTime() );
}
- if ( !due.isValid() || (TQDateTime::tqcurrentDateTime() < due) ) {
- mStartDateEdit->setDate( TQDate::tqcurrentDate() );
+ if ( !due.isValid() || (TQDateTime::currentDateTime() < due) ) {
+ mStartDateEdit->setDate( TQDate::currentDate() );
mStartTimeEdit->setTime( TQTime::currentTime() );
} else {
mStartDateEdit->setDate( due.date().addDays( -1 ) );
@@ -322,7 +322,7 @@ void KOEditorGeneralTodo::readTodo(Todo *todo, Calendar *calendar, const TQDate
} else {
mDueDateEdit->setEnabled(false);
mDueTimeEdit->setEnabled(false);
- mDueDateEdit->setDate(TQDate::tqcurrentDate());
+ mDueDateEdit->setDate(TQDate::currentDate());
mDueTimeEdit->setTime(TQTime::currentTime());
mDueCheck->setChecked(false);
}
@@ -339,7 +339,7 @@ void KOEditorGeneralTodo::readTodo(Todo *todo, Calendar *calendar, const TQDate
} else {
mStartDateEdit->setEnabled(false);
mStartTimeEdit->setEnabled(false);
- mStartDateEdit->setDate(TQDate::tqcurrentDate());
+ mStartDateEdit->setDate(TQDate::currentDate());
mStartTimeEdit->setTime(TQTime::currentTime());
mStartCheck->setChecked(false);
}
@@ -545,7 +545,7 @@ void KOEditorGeneralTodo::completedChanged( int index )
{
if ( index == 10 ) {
mCompletedToggle->setChecked( true );
- mCompletedDateTime = TQDateTime::tqcurrentDateTime();
+ mCompletedDateTime = TQDateTime::currentDateTime();
} else {
mCompletedToggle->setChecked( false );
}
@@ -556,7 +556,7 @@ void KOEditorGeneralTodo::completedChanged()
{
if ( mCompletedToggle->isChecked() ) {
mCompletedCombo->setCurrentItem( 10 );
- mCompletedDateTime = TQDateTime::tqcurrentDateTime();
+ mCompletedDateTime = TQDateTime::currentDateTime();
} else {
mCompletedCombo->setCurrentItem( 0 );
}