diff options
Diffstat (limited to 'korganizer/koeditorgeneraltodo.cpp')
-rw-r--r-- | korganizer/koeditorgeneraltodo.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/korganizer/koeditorgeneraltodo.cpp b/korganizer/koeditorgeneraltodo.cpp index 13ba5192d..93caec36f 100644 --- a/korganizer/koeditorgeneraltodo.cpp +++ b/korganizer/koeditorgeneraltodo.cpp @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include <tqtooltip.h> @@ -56,8 +56,8 @@ #include "koeditorgeneraltodo.h" #include "koeditorgeneraltodo.moc" -KOEditorGeneralTodo::KOEditorGeneralTodo( TQObject *parent, const char *name ) - : KOEditorGeneral( parent, name ) +KOEditorGeneralTodo::KOEditorGeneralTodo( TQObject *tqparent, const char *name ) + : KOEditorGeneral( tqparent, name ) { setType( "Todo" ); } @@ -91,13 +91,13 @@ void KOEditorGeneralTodo::finishSetup() mSummaryEdit->setFocus(); } -void KOEditorGeneralTodo::initTime(TQWidget *parent,TQBoxLayout *topLayout) +void KOEditorGeneralTodo::initTime(TQWidget *tqparent,TQBoxLayout *topLayout) { kdDebug(5850) << k_funcinfo << endl; TQBoxLayout *timeLayout = new TQVBoxLayout(topLayout); TQGroupBox *timeGroupBox = new TQGroupBox(1,TQGroupBox::Horizontal, - i18n("Date && Time"),parent); + i18n("Date && Time"),tqparent); timeLayout->addWidget(timeGroupBox); TQFrame *timeBoxFrame = new TQFrame(timeGroupBox); @@ -182,14 +182,14 @@ void KOEditorGeneralTodo::initTime(TQWidget *parent,TQBoxLayout *topLayout) } -void KOEditorGeneralTodo::initCompletion( TQWidget *parent, TQBoxLayout *topLayout ) +void KOEditorGeneralTodo::initCompletion( TQWidget *tqparent, TQBoxLayout *topLayout ) { TQHBoxLayout *completionLayout = new TQHBoxLayout( topLayout ); - TQLabel *label = new TQLabel( i18n( "&Completed:" ), parent ); + TQLabel *label = new TQLabel( i18n( "&Completed:" ), tqparent ); completionLayout->addWidget( label ); - mCompletedToggle = new TQCheckBox( parent ); + mCompletedToggle = new TQCheckBox( tqparent ); TQToolTip::add( mCompletedToggle, i18n( "Toggle between 0% and 100% complete" ) ); TQWhatsThis::add( mCompletedToggle, @@ -199,7 +199,7 @@ void KOEditorGeneralTodo::initCompletion( TQWidget *parent, TQBoxLayout *topLayo completionLayout->addWidget( mCompletedToggle ); label->setBuddy( mCompletedToggle ); - mCompletedCombo = new TQComboBox( parent ); + mCompletedCombo = new TQComboBox( tqparent ); TQToolTip::add( mCompletedCombo, i18n( "Select the completed percentage" ) ); TQWhatsThis::add( mCompletedCombo, @@ -212,25 +212,25 @@ void KOEditorGeneralTodo::initCompletion( TQWidget *parent, TQBoxLayout *topLayo connect( mCompletedCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(completedChanged(int)) ); completionLayout->addWidget( mCompletedCombo ); - mCompletedLabel = new TQLabel( i18n( "completed on", "on" ), parent ); + mCompletedLabel = new TQLabel( i18n( "completed on", "on" ), tqparent ); mCompletedLabel->hide(); completionLayout->addWidget( mCompletedLabel ); - mCompletionDateEdit = new KDateEdit( parent ); + mCompletionDateEdit = new KDateEdit( tqparent ); mCompletionDateEdit->hide(); completionLayout->addWidget( mCompletionDateEdit ); - mCompletionTimeEdit = new KTimeEdit( parent, TQTime() ); + mCompletionTimeEdit = new KTimeEdit( tqparent, TQTime() ); mCompletionTimeEdit->hide(); completionLayout->addWidget( mCompletionTimeEdit ); } -void KOEditorGeneralTodo::initPriority(TQWidget *parent, TQBoxLayout *topLayout) +void KOEditorGeneralTodo::initPriority(TQWidget *tqparent, TQBoxLayout *topLayout) { - TQLabel *priorityLabel = new TQLabel( i18n( "&Priority:" ), parent ); + TQLabel *priorityLabel = new TQLabel( i18n( "&Priority:" ), tqparent ); topLayout->addWidget( priorityLabel ); - mPriorityCombo = new TQComboBox( parent ); + mPriorityCombo = new TQComboBox( tqparent ); TQToolTip::add( mPriorityCombo, i18n( "Set the priority of the to-do" ) ); TQWhatsThis::add( mPriorityCombo, @@ -252,15 +252,15 @@ void KOEditorGeneralTodo::initPriority(TQWidget *parent, TQBoxLayout *topLayout) priorityLabel->setBuddy( mPriorityCombo ); } -void KOEditorGeneralTodo::iniStatus(TQWidget *parent,TQBoxLayout *topLayout) +void KOEditorGeneralTodo::initqStatus(TQWidget *tqparent,TQBoxLayout *topLayout) { TQBoxLayout *statusLayout = new TQHBoxLayout(topLayout); - initCompletion( parent, statusLayout ); + initCompletion( tqparent, statusLayout ); statusLayout->addStretch( 1 ); - initPriority( parent, statusLayout ); + initPriority( tqparent, statusLayout ); } void KOEditorGeneralTodo::setDefaults( const TQDateTime &due, bool allDay ) |