diff options
Diffstat (limited to 'kmail/mailinglistpropertiesdialog.cpp')
-rw-r--r-- | kmail/mailinglistpropertiesdialog.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/mailinglistpropertiesdialog.cpp b/kmail/mailinglistpropertiesdialog.cpp index d05d64135..2fb6203db 100644 --- a/kmail/mailinglistpropertiesdialog.cpp +++ b/kmail/mailinglistpropertiesdialog.cpp @@ -59,13 +59,13 @@ MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( TQWidget* "topLayout" ); TQGroupBox *mlGroup = new TQGroupBox( i18n("Associated Mailing List" ), this ); - mlGroup->setColumnLayout( 0, TQt::Vertical ); + mlGroup->setColumnLayout( 0, Qt::Vertical ); TQGridLayout *groupLayout = new TQGridLayout( mlGroup->tqlayout(), 6, 3, spacingHint() ); topLayout->addWidget( mlGroup ); setMainWidget( mlGroup ); mHoldsMailingList = new TQCheckBox( i18n("&Folder holds a mailing list"), mlGroup ); - TQObject::connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)), + connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotHoldsML(bool)) ); groupLayout->addMultiCellWidget( mHoldsMailingList, 0, 0, 0, 2 ); @@ -73,14 +73,14 @@ MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( TQWidget* mDetectButton = new TQPushButton( i18n("Detect Automatically"), mlGroup ); mDetectButton->setEnabled( false ); - TQObject::connect( mDetectButton, TQT_SIGNAL(pressed()), TQT_SLOT(slotDetectMailingList()) ); + connect( mDetectButton, TQT_SIGNAL(pressed()), TQT_SLOT(slotDetectMailingList()) ); groupLayout->addWidget( mDetectButton, 2, 1 ); groupLayout->addItem( new TQSpacerItem( 0, 10 ), 3, 0 ); label = new TQLabel( i18n("Mailing list description:"), mlGroup ); label->setEnabled( false ); - TQObject::connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)), + connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)), label, TQT_SLOT(setEnabled(bool)) ); groupLayout->addWidget( label, 4, 0 ); mMLId = new TQLabel( label, "", mlGroup ); @@ -90,7 +90,7 @@ MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( TQWidget* //FIXME: add TQWhatsThis label = new TQLabel( i18n("Preferred handler:"), mlGroup ); label->setEnabled(false); - TQObject::connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)), + connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)), label, TQT_SLOT(setEnabled(bool)) ); groupLayout->addWidget( label, 5, 0 ); mMLHandlerCombo = new TQComboBox( mlGroup ); @@ -98,13 +98,13 @@ MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( TQWidget* mMLHandlerCombo->insertItem( i18n("Browser"), MailingList::Browser ); mMLHandlerCombo->setEnabled( false ); groupLayout->addMultiCellWidget( mMLHandlerCombo, 5, 5, 1, 2 ); - TQObject::connect( mMLHandlerCombo, TQT_SIGNAL(activated(int)), + connect( mMLHandlerCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotMLHandling(int)) ); label->setBuddy( mMLHandlerCombo ); label = new TQLabel( i18n("&Address type:"), mlGroup ); label->setEnabled(false); - TQObject::connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)), + connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)), label, TQT_SLOT(setEnabled(bool)) ); groupLayout->addWidget( label, 6, 0 ); mAddressCombo = new TQComboBox( mlGroup ); @@ -119,9 +119,9 @@ MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( TQWidget* handleButton->setEnabled( false ); if( mFolder) { - TQObject::connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)), + connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)), handleButton, TQT_SLOT(setEnabled(bool)) ); - TQObject::connect( handleButton, TQT_SIGNAL(clicked()), + connect( handleButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotInvokeHandler()) ); } groupLayout->addWidget( handleButton, 6, 2 ); @@ -140,7 +140,7 @@ MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( TQWidget* << i18n( "List Archives" ) << i18n( "List Help" ); mAddressCombo->insertStringList( el ); - TQObject::connect( mAddressCombo, TQT_SIGNAL(activated(int)), + connect( mAddressCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotAddressChanged(int)) ); load(); |