diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:43:48 +0900 |
commit | 3b3f9ec8f31978030c17309fae48335bea5c1587 (patch) | |
tree | 0b493383a1501860371aacd792ec6fc08d595824 /korganizer/koprefsdialog.cpp | |
parent | 99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff) | |
download | tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'korganizer/koprefsdialog.cpp')
-rw-r--r-- | korganizer/koprefsdialog.cpp | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp index 498c8cf80..60fd3e45c 100644 --- a/korganizer/koprefsdialog.cpp +++ b/korganizer/koprefsdialog.cpp @@ -92,8 +92,8 @@ KOPrefsDialogMain::KOPrefsDialogMain( TQWidget *parent, const char *name ) KPrefsWidBool *emailControlCenter = addWidBool( KOPrefs::instance()->emailControlCenterItem(), topFrame ); - connect(emailControlCenter->checkBox(),TQT_SIGNAL(toggled(bool)), - TQT_SLOT(toggleEmailSettings(bool))); + connect(emailControlCenter->checkBox(),TQ_SIGNAL(toggled(bool)), + TQ_SLOT(toggleEmailSettings(bool))); mUserEmailSettings = new TQGrid( 2, topFrame ); @@ -109,8 +109,8 @@ KOPrefsDialogMain::KOPrefsDialogMain( TQWidget *parent, const char *name ) TQHBox *intervalBox = new TQHBox( saveGroup ); addWidInt( KOPrefs::instance()->autoSaveIntervalItem(), intervalBox ); - connect( autoSave->checkBox(), TQT_SIGNAL( toggled( bool ) ), - intervalBox, TQT_SLOT( setEnabled( bool ) ) ); + connect( autoSave->checkBox(), TQ_SIGNAL( toggled( bool ) ), + intervalBox, TQ_SLOT( setEnabled( bool ) ) ); intervalBox->setSpacing( KDialog::spacingHint() ); new TQWidget( intervalBox ); @@ -171,8 +171,8 @@ class KOPrefsDialogTime : public KPrefsModule TQWhatsThis::add( timeZoneLabel, whatsThis ); mTimeZoneCombo = new TQComboBox( timeZoneBox ); - connect( mTimeZoneCombo, TQT_SIGNAL( activated( int ) ), - TQT_SLOT( slotWidChanged() ) ); + connect( mTimeZoneCombo, TQ_SIGNAL( activated( int ) ), + TQ_SLOT( slotWidChanged() ) ); FILE *f; char tempstring[101] = "Unknown"; @@ -264,8 +264,8 @@ class KOPrefsDialogTime : public KPrefsModule TQWhatsThis::add( holidayLabel, whatsThis ); mHolidayCombo = new TQComboBox( holidayRegBox ); - connect( mHolidayCombo, TQT_SIGNAL( activated( int ) ), - TQT_SLOT( slotWidChanged() ) ); + connect( mHolidayCombo, TQ_SIGNAL( activated( int ) ), + TQ_SLOT( slotWidChanged() ) ); TQWhatsThis::add( mHolidayCombo, whatsThis ); @@ -328,10 +328,10 @@ class KOPrefsDialogTime : public KPrefsModule new TQLabel( i18n( "Default reminder time:" ), remindersBox ); mReminderTimeSpin = new KIntSpinBox( remindersBox ); - connect( mReminderTimeSpin, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotWidChanged()) ); + connect( mReminderTimeSpin, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotWidChanged()) ); mReminderUnitsCombo = new KComboBox( remindersBox ); - connect( mReminderUnitsCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotWidChanged()) ); + connect( mReminderUnitsCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotWidChanged()) ); mReminderUnitsCombo->insertItem( i18n( "minute(s)" ) ); mReminderUnitsCombo->insertItem( i18n( "hour(s)" ) ); mReminderUnitsCombo->insertItem( i18n( "day(s)" ) ); @@ -351,8 +351,8 @@ class KOPrefsDialogTime : public KPrefsModule KURLRequester *rq = addWidPath( KOPrefs::instance()->audioFilePathItem(), audioFileRemindersBox, filter )->urlRequester(); rq->setEnabled( cb->isChecked() ); - connect( cb, TQT_SIGNAL(toggled(bool)), - rq, TQT_SLOT(setEnabled( bool)) ); + connect( cb, TQ_SIGNAL(toggled(bool)), + rq, TQ_SLOT(setEnabled( bool)) ); TQHBox *eventRemindersBox = new TQHBox( remindersGroupBox ); addWidBool( KOPrefs::instance()->defaultEventRemindersItem(), eventRemindersBox )->checkBox(); @@ -364,8 +364,8 @@ class KOPrefsDialogTime : public KPrefsModule topLayout->addWidget( alarmDefaultLabel, 6, 0 ); mAlarmTimeDefaultCheckBox = new TQCheckBox( topFrame ); topLayout->addWidget( mAlarmTimeDefaultCheckBox, 6, 1 ); - connect( mAlarmTimeDefaultCheckBox, TQT_SIGNAL( toggled( bool ) ), - TQT_SLOT( slotWidChanged() ) ); + connect( mAlarmTimeDefaultCheckBox, TQ_SIGNAL( toggled( bool ) ), + TQ_SLOT( slotWidChanged() ) ); TQGroupBox *workingHoursGroup = new TQGroupBox(1,TQt::Horizontal, i18n("Working Hours"), @@ -390,8 +390,8 @@ class KOPrefsDialogTime : public KPrefsModule "this box, or the working hours will not be " "marked with color." ) ); - connect( mWorkDays[ index ], TQT_SIGNAL( stateChanged( int ) ), - TQT_SLOT( slotWidChanged() ) ); + connect( mWorkDays[ index ], TQ_SIGNAL( stateChanged( int ) ), + TQ_SLOT( slotWidChanged() ) ); } TQHBox *workStartBox = new TQHBox(workingHoursGroup); @@ -542,8 +542,8 @@ class KOPrefsDialogViews : public KPrefsModule KPrefsWidBool *marcusBainsShowSeconds = addWidBool( KOPrefs::instance()->marcusBainsShowSecondsItem(), agendaGroup ); - connect( marcusBainsEnabled->checkBox(), TQT_SIGNAL( toggled( bool ) ), - marcusBainsShowSeconds->checkBox(), TQT_SLOT( setEnabled( bool ) ) ); + connect( marcusBainsEnabled->checkBox(), TQ_SIGNAL( toggled( bool ) ), + marcusBainsShowSeconds->checkBox(), TQ_SLOT( setEnabled( bool ) ) ); addWidBool( KOPrefs::instance()->selectionStartsEditorItem(), agendaGroup ); @@ -711,13 +711,13 @@ KOPrefsDialogColors::KOPrefsDialogColors( TQWidget *parent, const char *name ) i18n( "Select here the event category you want to modify. " "You can change the selected category color using " "the button below." ) ); - connect(mCategoryCombo,TQT_SIGNAL(activated(int)),TQT_SLOT(updateCategoryColor())); + connect(mCategoryCombo,TQ_SIGNAL(activated(int)),TQ_SLOT(updateCategoryColor())); mCategoryButton = new KColorButton(categoryGroup); TQWhatsThis::add( mCategoryButton, i18n( "Choose here the color of the event category selected " "using the combo box above." ) ); - connect(mCategoryButton,TQT_SIGNAL(changed(const TQColor &)),TQT_SLOT(setCategoryColor())); + connect(mCategoryButton,TQ_SIGNAL(changed(const TQColor &)),TQ_SLOT(setCategoryColor())); updateCategoryColor(); // resources colors @@ -730,13 +730,13 @@ KOPrefsDialogColors::KOPrefsDialogColors( TQWidget *parent, const char *name ) i18n( "Select here resource you want to modify. " "You can change the selected resource color using " "the button below." ) ); - connect(mResourceCombo,TQT_SIGNAL(activated(int)),TQT_SLOT(updateResourceColor())); + connect(mResourceCombo,TQ_SIGNAL(activated(int)),TQ_SLOT(updateResourceColor())); mResourceButton = new KColorButton(resourceGroup); TQWhatsThis::add( mResourceButton, i18n( "Choose here the color of the resource selected " "using the combo box above." ) ); - connect(mResourceButton,TQT_SIGNAL(changed(const TQColor &)),TQT_SLOT(setResourceColor())); + connect(mResourceButton,TQ_SIGNAL(changed(const TQColor &)),TQ_SLOT(setResourceColor())); updateResources(); topLayout->setRowStretch(9,1); @@ -865,8 +865,8 @@ KOPrefsDialogGroupScheduling::KOPrefsDialogGroupScheduling( TQWidget *parent, co topFrame ); topLayout->addMultiCellWidget(useGroupwareBool->checkBox(),0,0,0,1); // FIXME: This radio button should only be available when KMail is chosen -// connect(thekmailradiobuttonupthere,TQT_SIGNAL(toggled(bool)), -// useGroupwareBool->checkBox(), TQT_SLOT(enabled(bool))); +// connect(thekmailradiobuttonupthere,TQ_SIGNAL(toggled(bool)), +// useGroupwareBool->checkBox(), TQ_SLOT(enabled(bool))); KPrefsWidBool *bcc = addWidBool( KOPrefs::instance()->bccItem(), topFrame ); @@ -927,10 +927,10 @@ KOPrefsDialogGroupScheduling::KOPrefsDialogGroupScheduling( TQWidget *parent, co topLayout->addWidget(del,6,1); //topLayout->setRowStretch(2,1); - connect(add, TQT_SIGNAL( clicked() ), this, TQT_SLOT(addItem()) ); - connect(del, TQT_SIGNAL( clicked() ), this, TQT_SLOT(removeItem()) ); - connect(aEmailsEdit,TQT_SIGNAL( textChanged(const TQString&) ), this,TQT_SLOT(updateItem())); - connect(mAMails,TQT_SIGNAL(selectionChanged(TQListViewItem *)),TQT_SLOT(updateInput())); + connect(add, TQ_SIGNAL( clicked() ), this, TQ_SLOT(addItem()) ); + connect(del, TQ_SIGNAL( clicked() ), this, TQ_SLOT(removeItem()) ); + connect(aEmailsEdit,TQ_SIGNAL( textChanged(const TQString&) ), this,TQ_SLOT(updateItem())); + connect(mAMails,TQ_SIGNAL(selectionChanged(TQListViewItem *)),TQ_SLOT(updateInput())); load(); } @@ -1018,7 +1018,7 @@ KOPrefsDialogGroupwareScheduling::KOPrefsDialogGroupwareScheduling( TQWidget *pa : KPrefsModule( KOPrefs::instance(), parent, name ) { mGroupwarePage = new KOGroupwarePrefsPage( this ); - connect( mGroupwarePage, TQT_SIGNAL( changed() ), TQT_SLOT( slotWidChanged() ) ); + connect( mGroupwarePage, TQ_SIGNAL( changed() ), TQ_SLOT( slotWidChanged() ) ); ( new TQVBoxLayout( this ) )->addWidget( mGroupwarePage ); load(); @@ -1127,12 +1127,12 @@ KOPrefsDialogPlugins::KOPrefsDialogPlugins( TQWidget *parent, const char* name ) buttonRowLayout->addWidget( mConfigureButton ); buttonRowLayout->addItem( new TQSpacerItem(1, 1, TQSizePolicy::Expanding) ); topLayout->addWidget( buttonRow ); - connect( mConfigureButton, TQT_SIGNAL( clicked() ), TQT_SLOT( configure() ) ); + connect( mConfigureButton, TQ_SIGNAL( clicked() ), TQ_SLOT( configure() ) ); - connect( mListView, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ), - TQT_SLOT( selectionChanged( TQListViewItem* ) ) ); - connect( mListView, TQT_SIGNAL( clicked( TQListViewItem* ) ), - TQT_SLOT( slotWidChanged() ) ); + connect( mListView, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ), + TQ_SLOT( selectionChanged( TQListViewItem* ) ) ); + connect( mListView, TQ_SIGNAL( clicked( TQListViewItem* ) ), + TQ_SLOT( slotWidChanged() ) ); load(); // usrReadConfig(); |