summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorgeneraltodo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeditorgeneraltodo.cpp')
-rw-r--r--korganizer/koeditorgeneraltodo.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/korganizer/koeditorgeneraltodo.cpp b/korganizer/koeditorgeneraltodo.cpp
index af001503f..8fbca6e1a 100644
--- a/korganizer/koeditorgeneraltodo.cpp
+++ b/korganizer/koeditorgeneraltodo.cpp
@@ -56,8 +56,8 @@
#include "koeditorgeneraltodo.h"
#include "koeditorgeneraltodo.moc"
-KOEditorGeneralTodo::KOEditorGeneralTodo( TQObject *tqparent, const char *name )
- : KOEditorGeneral( tqparent, name )
+KOEditorGeneralTodo::KOEditorGeneralTodo( TQObject *parent, const char *name )
+ : KOEditorGeneral( parent, name )
{
setType( "Todo" );
}
@@ -91,13 +91,13 @@ void KOEditorGeneralTodo::finishSetup()
mSummaryEdit->setFocus();
}
-void KOEditorGeneralTodo::initTime(TQWidget *tqparent,TQBoxLayout *topLayout)
+void KOEditorGeneralTodo::initTime(TQWidget *parent,TQBoxLayout *topLayout)
{
kdDebug(5850) << k_funcinfo << endl;
TQBoxLayout *timeLayout = new TQVBoxLayout(topLayout);
TQGroupBox *timeGroupBox = new TQGroupBox(1,Qt::Horizontal,
- i18n("Date && Time"),tqparent);
+ i18n("Date && Time"),parent);
timeLayout->addWidget(timeGroupBox);
TQFrame *timeBoxFrame = new TQFrame(timeGroupBox);
@@ -182,14 +182,14 @@ void KOEditorGeneralTodo::initTime(TQWidget *tqparent,TQBoxLayout *topLayout)
}
-void KOEditorGeneralTodo::initCompletion( TQWidget *tqparent, TQBoxLayout *topLayout )
+void KOEditorGeneralTodo::initCompletion( TQWidget *parent, TQBoxLayout *topLayout )
{
TQHBoxLayout *completionLayout = new TQHBoxLayout( topLayout );
- TQLabel *label = new TQLabel( i18n( "&Completed:" ), tqparent );
+ TQLabel *label = new TQLabel( i18n( "&Completed:" ), parent );
completionLayout->addWidget( label );
- mCompletedToggle = new TQCheckBox( tqparent );
+ mCompletedToggle = new TQCheckBox( parent );
TQToolTip::add( mCompletedToggle,
i18n( "Toggle between 0% and 100% complete" ) );
TQWhatsThis::add( mCompletedToggle,
@@ -199,7 +199,7 @@ void KOEditorGeneralTodo::initCompletion( TQWidget *tqparent, TQBoxLayout *topLa
completionLayout->addWidget( mCompletedToggle );
label->setBuddy( mCompletedToggle );
- mCompletedCombo = new TQComboBox( tqparent );
+ mCompletedCombo = new TQComboBox( parent );
TQToolTip::add( mCompletedCombo,
i18n( "Select the completed percentage" ) );
TQWhatsThis::add( mCompletedCombo,
@@ -212,25 +212,25 @@ void KOEditorGeneralTodo::initCompletion( TQWidget *tqparent, TQBoxLayout *topLa
connect( mCompletedCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(completedChanged(int)) );
completionLayout->addWidget( mCompletedCombo );
- mCompletedLabel = new TQLabel( i18n( "completed on", "on" ), tqparent );
+ mCompletedLabel = new TQLabel( i18n( "completed on", "on" ), parent );
mCompletedLabel->hide();
completionLayout->addWidget( mCompletedLabel );
- mCompletionDateEdit = new KDateEdit( tqparent );
+ mCompletionDateEdit = new KDateEdit( parent );
mCompletionDateEdit->hide();
completionLayout->addWidget( mCompletionDateEdit );
- mCompletionTimeEdit = new KTimeEdit( tqparent, TQTime() );
+ mCompletionTimeEdit = new KTimeEdit( parent, TQTime() );
mCompletionTimeEdit->hide();
completionLayout->addWidget( mCompletionTimeEdit );
}
-void KOEditorGeneralTodo::initPriority(TQWidget *tqparent, TQBoxLayout *topLayout)
+void KOEditorGeneralTodo::initPriority(TQWidget *parent, TQBoxLayout *topLayout)
{
- TQLabel *priorityLabel = new TQLabel( i18n( "&Priority:" ), tqparent );
+ TQLabel *priorityLabel = new TQLabel( i18n( "&Priority:" ), parent );
topLayout->addWidget( priorityLabel );
- mPriorityCombo = new TQComboBox( tqparent );
+ mPriorityCombo = new TQComboBox( parent );
TQToolTip::add( mPriorityCombo,
i18n( "Set the priority of the to-do" ) );
TQWhatsThis::add( mPriorityCombo,
@@ -252,15 +252,15 @@ void KOEditorGeneralTodo::initPriority(TQWidget *tqparent, TQBoxLayout *topLayou
priorityLabel->setBuddy( mPriorityCombo );
}
-void KOEditorGeneralTodo::initqStatus(TQWidget *tqparent,TQBoxLayout *topLayout)
+void KOEditorGeneralTodo::initqStatus(TQWidget *parent,TQBoxLayout *topLayout)
{
TQBoxLayout *statusLayout = new TQHBoxLayout(topLayout);
- initCompletion( tqparent, statusLayout );
+ initCompletion( parent, statusLayout );
statusLayout->addStretch( 1 );
- initPriority( tqparent, statusLayout );
+ initPriority( parent, statusLayout );
}
void KOEditorGeneralTodo::setDefaults( const TQDateTime &due, bool allDay )