From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koeditorrecurrence.cpp | 66 +++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'korganizer/koeditorrecurrence.cpp') diff --git a/korganizer/koeditorrecurrence.cpp b/korganizer/koeditorrecurrence.cpp index d55dfa3a..976a0326 100644 --- a/korganizer/koeditorrecurrence.cpp +++ b/korganizer/koeditorrecurrence.cpp @@ -60,8 +60,8 @@ /////////////////////////// RecurBase /////////////////////////////// -RecurBase::RecurBase( TQWidget *tqparent, const char *name ) : - TQWidget( tqparent, name ) +RecurBase::RecurBase( TQWidget *parent, const char *name ) : + TQWidget( parent, name ) { mFrequencyEdit = new TQSpinBox( 1, 9999, 1, this ); mFrequencyEdit->setValue( 1 ); @@ -84,9 +84,9 @@ int RecurBase::frequency() return mFrequencyEdit->value(); } -TQComboBox *RecurBase::createWeekCountCombo( TQWidget *tqparent, const char *name ) +TQComboBox *RecurBase::createWeekCountCombo( TQWidget *parent, const char *name ) { - TQComboBox *combo = new TQComboBox( tqparent, name ); + TQComboBox *combo = new TQComboBox( parent, name ); TQWhatsThis::add( combo, i18n("The number of the week from the beginning " "of the month on which this event or to-do " @@ -105,9 +105,9 @@ TQComboBox *RecurBase::createWeekCountCombo( TQWidget *tqparent, const char *nam return combo; } -TQComboBox *RecurBase::createWeekdayCombo( TQWidget *tqparent, const char *name ) +TQComboBox *RecurBase::createWeekdayCombo( TQWidget *parent, const char *name ) { - TQComboBox *combo = new TQComboBox( tqparent, name ); + TQComboBox *combo = new TQComboBox( parent, name ); TQWhatsThis::add( combo, i18n("The weekday on which this event or to-do " "should recur.") ); @@ -119,9 +119,9 @@ TQComboBox *RecurBase::createWeekdayCombo( TQWidget *tqparent, const char *name return combo; } -TQComboBox *RecurBase::createMonthNameCombo( TQWidget *tqparent, const char *name ) +TQComboBox *RecurBase::createMonthNameCombo( TQWidget *parent, const char *name ) { - TQComboBox *combo = new TQComboBox( tqparent, name ); + TQComboBox *combo = new TQComboBox( parent, name ); TQWhatsThis::add( combo, i18n("The month during which this event or to-do " "should recur.") ); @@ -135,13 +135,13 @@ TQComboBox *RecurBase::createMonthNameCombo( TQWidget *tqparent, const char *nam return combo; } -TQBoxLayout *RecurBase::createFrequencySpinBar( TQWidget *tqparent, TQLayout *tqlayout, +TQBoxLayout *RecurBase::createFrequencySpinBar( TQWidget *parent, TQLayout *tqlayout, TQString everyText, TQString unitText ) { TQBoxLayout *freqLayout = new TQHBoxLayout( tqlayout ); TQString whatsThis = i18n("Sets how often this event or to-do should recur."); - TQLabel *preLabel = new TQLabel( everyText, tqparent ); + TQLabel *preLabel = new TQLabel( everyText, parent ); TQWhatsThis::add( preLabel, whatsThis ); freqLayout->addWidget( preLabel ); @@ -149,7 +149,7 @@ TQBoxLayout *RecurBase::createFrequencySpinBar( TQWidget *tqparent, TQLayout *tq preLabel->setBuddy( frequencyEdit() ); TQWhatsThis::add( preLabel->buddy(), whatsThis ); - TQLabel *postLabel = new TQLabel( unitText, tqparent ); + TQLabel *postLabel = new TQLabel( unitText, parent ); TQWhatsThis::add( postLabel, whatsThis ); freqLayout->addWidget( postLabel ); freqLayout->addStretch(); @@ -158,8 +158,8 @@ TQBoxLayout *RecurBase::createFrequencySpinBar( TQWidget *tqparent, TQLayout *tq /////////////////////////// RecurDaily /////////////////////////////// -RecurDaily::RecurDaily( TQWidget *tqparent, const char *name ) : - RecurBase( tqparent, name ) +RecurDaily::RecurDaily( TQWidget *parent, const char *name ) : + RecurBase( parent, name ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); topLayout->setSpacing( KDialog::spacingHint() ); @@ -170,8 +170,8 @@ RecurDaily::RecurDaily( TQWidget *tqparent, const char *name ) : /////////////////////////// RecurWeekly /////////////////////////////// -RecurWeekly::RecurWeekly( TQWidget *tqparent, const char *name ) : - RecurBase( tqparent, name ) +RecurWeekly::RecurWeekly( TQWidget *parent, const char *name ) : + RecurBase( parent, name ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); topLayout->setSpacing( KDialog::spacingHint() ); @@ -223,8 +223,8 @@ TQBitArray RecurWeekly::days() /////////////////////////// RecurMonthly /////////////////////////////// -RecurMonthly::RecurMonthly( TQWidget *tqparent, const char *name ) : - RecurBase( tqparent, name ) +RecurMonthly::RecurMonthly( TQWidget *parent, const char *name ) : + RecurBase( parent, name ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); topLayout->setSpacing( KDialog::spacingHint() ); @@ -396,8 +396,8 @@ int RecurMonthly::weekday() /////////////////////////// RecurYearly /////////////////////////////// -RecurYearly::RecurYearly( TQWidget *tqparent, const char *name ) : - RecurBase( tqparent, name ) +RecurYearly::RecurYearly( TQWidget *parent, const char *name ) : + RecurBase( parent, name ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); topLayout->setSpacing( KDialog::spacingHint() ); @@ -573,8 +573,8 @@ int RecurYearly::day() //////////////////////////// ExceptionsWidget ////////////////////////// -ExceptionsWidget::ExceptionsWidget( TQWidget *tqparent, const char *name ) : - TQWidget( tqparent, name ) +ExceptionsWidget::ExceptionsWidget( TQWidget *parent, const char *name ) : + TQWidget( parent, name ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); @@ -675,8 +675,8 @@ DateList ExceptionsWidget::dates() ///////////////////////// ExceptionsDialog /////////////////////////// -ExceptionsDialog::ExceptionsDialog( TQWidget *tqparent, const char *name ) : - KDialogBase( tqparent, name, true, i18n("Edit Exceptions"), Ok|Cancel ) +ExceptionsDialog::ExceptionsDialog( TQWidget *parent, const char *name ) : + KDialogBase( parent, name, true, i18n("Edit Exceptions"), Ok|Cancel ) { mExceptions = new ExceptionsWidget( this ); setMainWidget( mExceptions ); @@ -694,9 +694,9 @@ DateList ExceptionsDialog::dates() ///////////////////////// RecurrenceRangeWidget /////////////////////////// -RecurrenceRangeWidget::RecurrenceRangeWidget( TQWidget *tqparent, +RecurrenceRangeWidget::RecurrenceRangeWidget( TQWidget *parent, const char *name ) - : TQWidget( tqparent, name ) + : TQWidget( parent, name ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); @@ -829,9 +829,9 @@ void RecurrenceRangeWidget::setDateTimes( const TQDateTime &start, ///////////////////////// RecurrenceRangeDialog /////////////////////////// -RecurrenceRangeDialog::RecurrenceRangeDialog( TQWidget *tqparent, +RecurrenceRangeDialog::RecurrenceRangeDialog( TQWidget *parent, const char *name ) : - KDialogBase( tqparent, name, true, i18n("Edit Recurrence Range"), Ok|Cancel ) + KDialogBase( parent, name, true, i18n("Edit Recurrence Range"), Ok|Cancel ) { mRecurrenceRangeWidget = new RecurrenceRangeWidget( this ); setMainWidget( mRecurrenceRangeWidget ); @@ -870,8 +870,8 @@ void RecurrenceRangeDialog::setDateTimes( const TQDateTime &start, //////////////////////////// RecurrenceChooser //////////////////////// -RecurrenceChooser::RecurrenceChooser( TQWidget *tqparent, const char *name ) : - TQWidget( tqparent, name ) +RecurrenceChooser::RecurrenceChooser( TQWidget *parent, const char *name ) : + TQWidget( parent, name ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); @@ -965,8 +965,8 @@ void RecurrenceChooser::emitChoice() /////////////////////////////// Main Widget ///////////////////////////// -KOEditorRecurrence::KOEditorRecurrence( TQWidget* tqparent, const char *name ) : - TQWidget( tqparent, name ) +KOEditorRecurrence::KOEditorRecurrence( TQWidget* parent, const char *name ) : + TQWidget( parent, name ) { TQGridLayout *topLayout = new TQGridLayout( this ); topLayout->setSpacing( KDialog::spacingHint() ); @@ -1633,8 +1633,8 @@ void KOEditorRecurrence::restoreValues() mExceptions->setDates( mSaveRec.exDates() ); } -KOEditorRecurrenceDialog::KOEditorRecurrenceDialog(TQWidget * tqparent) - : KDialogBase( tqparent, 0, false, i18n("Recurrence"), Ok|Cancel ), mRecurEnabled( false ) +KOEditorRecurrenceDialog::KOEditorRecurrenceDialog(TQWidget * parent) + : KDialogBase( parent, 0, false, i18n("Recurrence"), Ok|Cancel ), mRecurEnabled( false ) { mRecurrence = new KOEditorRecurrence( this ); setMainWidget( mRecurrence ); -- cgit v1.2.3