summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorrecurrence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeditorrecurrence.cpp')
-rw-r--r--korganizer/koeditorrecurrence.cpp72
1 files changed, 36 insertions, 36 deletions
diff --git a/korganizer/koeditorrecurrence.cpp b/korganizer/koeditorrecurrence.cpp
index ac372db7..5a5beae6 100644
--- a/korganizer/koeditorrecurrence.cpp
+++ b/korganizer/koeditorrecurrence.cpp
@@ -578,7 +578,7 @@ ExceptionsWidget::ExceptionsWidget( TQWidget *parent, const char *name ) :
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
- TQGroupBox *groupBox = new TQGroupBox( 1, Qt::Horizontal, i18n("E&xceptions"),
+ TQGroupBox *groupBox = new TQGroupBox( 1, TQt::Horizontal, i18n("E&xceptions"),
this );
topLayout->addWidget( groupBox );
@@ -620,12 +620,12 @@ ExceptionsWidget::ExceptionsWidget( TQWidget *parent, const char *name ) :
boxLayout->setRowStretch( 4, 1 );
boxLayout->setColStretch( 1, 3 );
- connect( addExceptionButton, TQT_SIGNAL( clicked() ),
- TQT_SLOT( addException() ) );
- connect( changeExceptionButton, TQT_SIGNAL( clicked() ),
- TQT_SLOT( changeException() ) );
- connect( deleteExceptionButton, TQT_SIGNAL( clicked() ),
- TQT_SLOT( deleteException() ) );
+ connect( addExceptionButton, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( addException() ) );
+ connect( changeExceptionButton, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( changeException() ) );
+ connect( deleteExceptionButton, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( deleteException() ) );
}
void ExceptionsWidget::addException()
@@ -700,7 +700,7 @@ RecurrenceRangeWidget::RecurrenceRangeWidget( TQWidget *parent,
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
- mRangeGroupBox = new TQGroupBox( 1, Qt::Horizontal, i18n("Recurrence Range"),
+ mRangeGroupBox = new TQGroupBox( 1, TQt::Horizontal, i18n("Recurrence Range"),
this );
TQWhatsThis::add( mRangeGroupBox,
i18n("Sets a range for which these recurrence rules will "
@@ -765,12 +765,12 @@ RecurrenceRangeWidget::RecurrenceRangeWidget( TQWidget *parent,
endDateLayout->addStretch( 1 );
- connect( mNoEndDateButton, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( showCurrentRange() ) );
- connect( mEndDurationButton, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( showCurrentRange() ) );
- connect( mEndDateButton, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( showCurrentRange() ) );
+ connect( mNoEndDateButton, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( showCurrentRange() ) );
+ connect( mEndDurationButton, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( showCurrentRange() ) );
+ connect( mEndDateButton, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( showCurrentRange() ) );
}
void RecurrenceRangeWidget::setDefaults( const TQDateTime &from )
@@ -887,11 +887,11 @@ RecurrenceChooser::RecurrenceChooser( TQWidget *parent, const char *name ) :
topLayout->addWidget( mTypeCombo );
- connect( mTypeCombo, TQT_SIGNAL( activated( int ) ), TQT_SLOT( emitChoice() ) );
+ connect( mTypeCombo, TQ_SIGNAL( activated( int ) ), TQ_SLOT( emitChoice() ) );
} else {
mTypeCombo = 0;
- TQButtonGroup *ruleButtonGroup = new TQButtonGroup( 1, Qt::Horizontal, this );
+ TQButtonGroup *ruleButtonGroup = new TQButtonGroup( 1, TQt::Horizontal, this );
ruleButtonGroup->setFrameStyle( TQFrame::NoFrame );
topLayout->addWidget( ruleButtonGroup );
@@ -912,14 +912,14 @@ RecurrenceChooser::RecurrenceChooser( TQWidget *parent, const char *name ) :
i18n("Sets the event or to-do to recur yearly according "
"to the specified rules.") );
- connect( mDailyButton, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( emitChoice() ) );
- connect( mWeeklyButton, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( emitChoice() ) );
- connect( mMonthlyButton, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( emitChoice() ) );
- connect( mYearlyButton, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( emitChoice() ) );
+ connect( mDailyButton, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( emitChoice() ) );
+ connect( mWeeklyButton, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( emitChoice() ) );
+ connect( mMonthlyButton, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( emitChoice() ) );
+ connect( mYearlyButton, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( emitChoice() ) );
}
}
@@ -975,12 +975,12 @@ KOEditorRecurrence::KOEditorRecurrence( TQWidget* parent, const char *name ) :
TQWhatsThis::add( mEnabledCheck,
i18n("Enables recurrence for this event or to-do according "
"to the specified rules.") );
- connect( mEnabledCheck, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( setRecurrenceEnabled( bool ) ) );
+ connect( mEnabledCheck, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( setRecurrenceEnabled( bool ) ) );
topLayout->addMultiCellWidget( mEnabledCheck, 0, 0, 0, 1 );
- mTimeGroupBox = new TQGroupBox( 1, Qt::Horizontal, i18n("Appointment Time "),
+ mTimeGroupBox = new TQGroupBox( 1, TQt::Horizontal, i18n("Appointment Time "),
this );
TQWhatsThis::add( mTimeGroupBox,
i18n("Displays appointment time information.") );
@@ -998,9 +998,9 @@ KOEditorRecurrence::KOEditorRecurrence( TQWidget* parent, const char *name ) :
// mDateTimeLabel = new TQLabel( timeFrame );
// layoutTimeFrame->addWidget( mDateTimeLabel );
- Qt::Orientation orientation;
- if ( KOPrefs::instance()->mCompactDialogs ) orientation = Qt::Horizontal;
- else orientation = Qt::Vertical;
+ TQt::Orientation orientation;
+ if ( KOPrefs::instance()->mCompactDialogs ) orientation = TQt::Horizontal;
+ else orientation = TQt::Vertical;
mRuleBox = new TQGroupBox( 1, orientation, i18n("Recurrence Rule"), this );
TQWhatsThis::add( mRuleBox,
@@ -1013,8 +1013,8 @@ KOEditorRecurrence::KOEditorRecurrence( TQWidget* parent, const char *name ) :
}
mRecurrenceChooser = new RecurrenceChooser( mRuleBox );
- connect( mRecurrenceChooser, TQT_SIGNAL( chosen( int ) ),
- TQT_SLOT( showCurrentRule( int ) ) );
+ connect( mRecurrenceChooser, TQ_SIGNAL( chosen( int ) ),
+ TQ_SLOT( showCurrentRule( int ) ) );
if ( !KOPrefs::instance()->mCompactDialogs ) {
TQFrame *ruleSepFrame = new TQFrame( mRuleBox );
@@ -1047,16 +1047,16 @@ KOEditorRecurrence::KOEditorRecurrence( TQWidget* parent, const char *name ) :
i18n("Options concerning the time range during which "
"this event or to-do should recur.") );
topLayout->addWidget( mRecurrenceRangeButton, 3, 0 );
- connect( mRecurrenceRangeButton, TQT_SIGNAL( clicked() ),
- TQT_SLOT( showRecurrenceRangeDialog() ) );
+ connect( mRecurrenceRangeButton, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( showRecurrenceRangeDialog() ) );
mExceptionsWidget = 0;
mExceptionsDialog = new ExceptionsDialog( this );
mExceptions = mExceptionsDialog;
mExceptionsButton = new TQPushButton( i18n("Exceptions..."), this );
topLayout->addWidget( mExceptionsButton, 4, 0 );
- connect( mExceptionsButton, TQT_SIGNAL( clicked() ),
- TQT_SLOT( showExceptionsDialog() ) );
+ connect( mExceptionsButton, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( showExceptionsDialog() ) );
} else {
mRecurrenceRangeWidget = new RecurrenceRangeWidget( this );