summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorgeneraltodo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeditorgeneraltodo.cpp')
-rw-r--r--korganizer/koeditorgeneraltodo.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/korganizer/koeditorgeneraltodo.cpp b/korganizer/koeditorgeneraltodo.cpp
index d5856dd63..af001503f 100644
--- a/korganizer/koeditorgeneraltodo.cpp
+++ b/korganizer/koeditorgeneraltodo.cpp
@@ -105,59 +105,59 @@ void KOEditorGeneralTodo::initTime(TQWidget *tqparent,TQBoxLayout *topLayout)
i18n("Sets options for due and start dates and times "
"for this to-do.") );
- TQGridLayout *tqlayoutTimeBox = new TQGridLayout(timeBoxFrame,1,1);
- tqlayoutTimeBox->setSpacing(topLayout->spacing());
+ TQGridLayout *layoutTimeBox = new TQGridLayout(timeBoxFrame,1,1);
+ layoutTimeBox->setSpacing(topLayout->spacing());
TQString whatsThis = i18n("Sets the start date for this to-do");
mStartCheck = new TQCheckBox(i18n("Sta&rt:"),timeBoxFrame);
TQWhatsThis::add( mStartCheck, whatsThis );
- tqlayoutTimeBox->addWidget(mStartCheck,0,0);
+ layoutTimeBox->addWidget(mStartCheck,0,0);
connect(mStartCheck,TQT_SIGNAL(toggled(bool)),TQT_SLOT(enableStartEdit(bool)));
connect(mStartCheck,TQT_SIGNAL(toggled(bool)),TQT_SLOT(startDateModified()));
mStartDateEdit = new KDateEdit(timeBoxFrame);
TQWhatsThis::add( mStartDateEdit, whatsThis );
- tqlayoutTimeBox->addWidget(mStartDateEdit,0,1);
+ layoutTimeBox->addWidget(mStartDateEdit,0,1);
connect(mStartDateEdit,TQT_SIGNAL(dateChanged(const TQDate&)),TQT_SLOT(startDateModified()));
mStartTimeEdit = new KTimeEdit(timeBoxFrame);
TQWhatsThis::add( mStartTimeEdit,
i18n("Sets the start time for this to-do.") );
- tqlayoutTimeBox->addWidget(mStartTimeEdit,0,2);
+ layoutTimeBox->addWidget(mStartTimeEdit,0,2);
connect(mStartTimeEdit,TQT_SIGNAL(timeChanged(TQTime)),TQT_SLOT(startDateModified()));
whatsThis = i18n("Sets the due date for this to-do.");
mDueCheck = new TQCheckBox(i18n("&Due:"),timeBoxFrame);
TQWhatsThis::add( mDueCheck, whatsThis );
- tqlayoutTimeBox->addWidget(mDueCheck,1,0);
+ layoutTimeBox->addWidget(mDueCheck,1,0);
connect(mDueCheck,TQT_SIGNAL(toggled(bool)),TQT_SLOT(enableDueEdit(bool)));
connect(mDueCheck,TQT_SIGNAL(toggled(bool)),TQT_SIGNAL(dueDateEditToggle(bool)));
connect(mDueCheck,TQT_SIGNAL(toggled(bool)),TQT_SLOT(dateChanged()));
mDueDateEdit = new KDateEdit(timeBoxFrame);
TQWhatsThis::add( mDueDateEdit, whatsThis );
- tqlayoutTimeBox->addWidget(mDueDateEdit,1,1);
+ layoutTimeBox->addWidget(mDueDateEdit,1,1);
connect(mDueDateEdit,TQT_SIGNAL(dateChanged(const TQDate&)),TQT_SLOT(dateChanged()));
mDueTimeEdit = new KTimeEdit(timeBoxFrame);
TQWhatsThis::add( mDueTimeEdit,
i18n("Sets the due time for this to-do.") );
- tqlayoutTimeBox->addWidget(mDueTimeEdit,1,2);
+ layoutTimeBox->addWidget(mDueTimeEdit,1,2);
connect(mDueTimeEdit,TQT_SIGNAL(timeChanged( TQTime )),TQT_SLOT(dateChanged()));
mTimeButton = new TQCheckBox(i18n("Ti&me associated"),timeBoxFrame);
TQWhatsThis::add( mTimeButton,
i18n("Sets whether or not this to-do's start and due dates "
"have times associated with them.") );
- tqlayoutTimeBox->addWidget( mTimeButton, 0, 3 );
+ layoutTimeBox->addWidget( mTimeButton, 0, 3 );
connect(mTimeButton,TQT_SIGNAL(toggled(bool)),TQT_SLOT(enableTimeEdits(bool)));
connect(mTimeButton,TQT_SIGNAL(toggled(bool)),TQT_SLOT(dateChanged()));
TQLabel *label = new TQLabel( i18n( "Recurrence:" ), timeBoxFrame );
- tqlayoutTimeBox->addWidget( label, 3, 0 );
+ layoutTimeBox->addWidget( label, 3, 0 );
TQBoxLayout *recLayout = new TQHBoxLayout();
- tqlayoutTimeBox->addMultiCellLayout( recLayout, 3, 3, 1, 4 );
+ layoutTimeBox->addMultiCellLayout( recLayout, 3, 3, 1, 4 );
mRecEditButton = new TQPushButton( timeBoxFrame );
mRecEditButton->setIconSet( KOGlobals::self()->smallIconSet( "recur", 16 ) );
recLayout->addWidget( mRecEditButton );
@@ -167,17 +167,17 @@ void KOEditorGeneralTodo::initTime(TQWidget *tqparent,TQBoxLayout *topLayout)
recLayout->addStretch( 1 );
label = new TQLabel( i18n("Reminder:"), timeBoxFrame );
- tqlayoutTimeBox->addWidget( label, 4, 0 );
+ layoutTimeBox->addWidget( label, 4, 0 );
TQBoxLayout *alarmLineLayout = new TQHBoxLayout();
- tqlayoutTimeBox->addMultiCellLayout( alarmLineLayout, 4, 4, 1, 4 );
+ layoutTimeBox->addMultiCellLayout( alarmLineLayout, 4, 4, 1, 4 );
initAlarm( timeBoxFrame, alarmLineLayout );
alarmLineLayout->addStretch( 1 );
- // some more tqlayouting
- tqlayoutTimeBox->setColStretch( 3, 1 );
+ // some more layouting
+ layoutTimeBox->setColStretch( 3, 1 );
TQBoxLayout *secLayout = new TQHBoxLayout();
- tqlayoutTimeBox->addLayout( secLayout, 0, 4 );
+ layoutTimeBox->addLayout( secLayout, 0, 4 );
initSecrecy( timeBoxFrame, secLayout );
}