diff options
Diffstat (limited to 'kmail/configuredialog.cpp')
-rw-r--r-- | kmail/configuredialog.cpp | 754 |
1 files changed, 377 insertions, 377 deletions
diff --git a/kmail/configuredialog.cpp b/kmail/configuredialog.cpp index 68c1faf57..c0beb0fdb 100644 --- a/kmail/configuredialog.cpp +++ b/kmail/configuredialog.cpp @@ -270,8 +270,8 @@ void ConfigureDialog::slotUser2() { return; } mProfileDialog = new ProfileDialog( this, "mProfileDialog" ); - connect( mProfileDialog, TQT_SIGNAL(profileSelected(TDEConfig*)), - this, TQT_SIGNAL(installProfile(TDEConfig*)) ); + connect( mProfileDialog, TQ_SIGNAL(profileSelected(TDEConfig*)), + this, TQ_SIGNAL(installProfile(TDEConfig*)) ); mProfileDialog->show(); } @@ -291,14 +291,14 @@ IdentityPage::IdentityPage( TQWidget * parent, const char * name ) TQHBoxLayout * hlay = new TQHBoxLayout( this, 0, KDialog::spacingHint() ); mIdentityList = new IdentityListView( this ); - connect( mIdentityList, TQT_SIGNAL(selectionChanged()), - TQT_SLOT(slotIdentitySelectionChanged()) ); - connect( mIdentityList, TQT_SIGNAL(itemRenamed(TQListViewItem*,const TQString&,int)), - TQT_SLOT(slotRenameIdentity(TQListViewItem*,const TQString&,int)) ); - connect( mIdentityList, TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), - TQT_SLOT(slotModifyIdentity()) ); - connect( mIdentityList, TQT_SIGNAL(contextMenu(TDEListView*,TQListViewItem*,const TQPoint&)), - TQT_SLOT(slotContextMenu(TDEListView*,TQListViewItem*,const TQPoint&)) ); + connect( mIdentityList, TQ_SIGNAL(selectionChanged()), + TQ_SLOT(slotIdentitySelectionChanged()) ); + connect( mIdentityList, TQ_SIGNAL(itemRenamed(TQListViewItem*,const TQString&,int)), + TQ_SLOT(slotRenameIdentity(TQListViewItem*,const TQString&,int)) ); + connect( mIdentityList, TQ_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), + TQ_SLOT(slotModifyIdentity()) ); + connect( mIdentityList, TQ_SIGNAL(contextMenu(TDEListView*,TQListViewItem*,const TQPoint&)), + TQ_SLOT(slotContextMenu(TDEListView*,TQListViewItem*,const TQPoint&)) ); // ### connect dragged(...), ... hlay->addWidget( mIdentityList, 1 ); @@ -319,16 +319,16 @@ IdentityPage::IdentityPage( TQWidget * parent, const char * name ) mRemoveButton->setEnabled( false ); mSetAsDefaultButton->setAutoDefault( false ); mSetAsDefaultButton->setEnabled( false ); - connect( button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNewIdentity()) ); - connect( mModifyButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotModifyIdentity()) ); - connect( mRenameButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRenameIdentity()) ); - connect( mRemoveButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRemoveIdentity()) ); - connect( mSetAsDefaultButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSetAsDefault()) ); + connect( button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNewIdentity()) ); + connect( mModifyButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotModifyIdentity()) ); + connect( mRenameButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRenameIdentity()) ); + connect( mRemoveButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRemoveIdentity()) ); + connect( mSetAsDefaultButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSetAsDefault()) ); vlay->addWidget( button ); vlay->addWidget( mModifyButton ); vlay->addWidget( mRenameButton ); @@ -493,13 +493,13 @@ void IdentityPage::slotContextMenu( TDEListView *, TQListViewItem * i, IdentityListViewItem * item = dynamic_cast<IdentityListViewItem*>( i ); TQPopupMenu * menu = new TQPopupMenu( this ); - menu->insertItem( i18n("Add..."), this, TQT_SLOT(slotNewIdentity()) ); + menu->insertItem( i18n("Add..."), this, TQ_SLOT(slotNewIdentity()) ); if ( item ) { - menu->insertItem( i18n("Modify..."), this, TQT_SLOT(slotModifyIdentity()) ); + menu->insertItem( i18n("Modify..."), this, TQ_SLOT(slotModifyIdentity()) ); if ( mIdentityList->childCount() > 1 ) - menu->insertItem( i18n("Remove"), this, TQT_SLOT(slotRemoveIdentity()) ); + menu->insertItem( i18n("Remove"), this, TQ_SLOT(slotRemoveIdentity()) ); if ( !item->identity().isDefault() ) - menu->insertItem( i18n("Set as Default"), this, TQT_SLOT(slotSetAsDefault()) ); + menu->insertItem( i18n("Set as Default"), this, TQ_SLOT(slotSetAsDefault()) ); } menu->exec( pos ); delete menu; @@ -563,16 +563,16 @@ AccountsPage::AccountsPage( TQWidget * parent, const char * name ) // mReceivingTab = new ReceivingTab(); addTab( mReceivingTab, i18n( "&Receiving" ) ); - connect( mReceivingTab, TQT_SIGNAL(accountListChanged(const TQStringList &)), - this, TQT_SIGNAL(accountListChanged(const TQStringList &)) ); + connect( mReceivingTab, TQ_SIGNAL(accountListChanged(const TQStringList &)), + this, TQ_SIGNAL(accountListChanged(const TQStringList &)) ); // // "Sending" tab: // mSendingTab = new SendingTab(); addTab( mSendingTab, i18n( "&Sending" ) ); - connect( mSendingTab, TQT_SIGNAL(transportListChanged(const TQStringList&)), - this, TQT_SIGNAL(transportListChanged(const TQStringList&)) ); + connect( mSendingTab, TQ_SIGNAL(transportListChanged(const TQStringList&)), + this, TQ_SIGNAL(transportListChanged(const TQStringList&)) ); load(); } @@ -608,10 +608,10 @@ AccountsPageSendingTab::AccountsPageSendingTab( TQWidget * parent, const char * mTransportList->addColumn( i18n("Type") ); mTransportList->setAllColumnsShowFocus( true ); mTransportList->setSorting( -1 ); - connect( mTransportList, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotTransportSelected()) ); - connect( mTransportList, TQT_SIGNAL(doubleClicked( TQListViewItem *)), - this, TQT_SLOT(slotModifySelectedTransport()) ); + connect( mTransportList, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotTransportSelected()) ); + connect( mTransportList, TQ_SIGNAL(doubleClicked( TQListViewItem *)), + this, TQ_SLOT(slotModifySelectedTransport()) ); hlay->addWidget( mTransportList, 1 ); // a vbox layout for the buttons: zero stretch, spacing inherited from hlay @@ -620,31 +620,31 @@ AccountsPageSendingTab::AccountsPageSendingTab( TQWidget * parent, const char * // "add..." button: stretch 0 button = new TQPushButton( i18n("A&dd..."), this ); button->setAutoDefault( false ); - connect( button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddTransport()) ); + connect( button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddTransport()) ); btn_vlay->addWidget( button ); // "modify..." button: stretch 0 mModifyTransportButton = new TQPushButton( i18n("&Modify..."), this ); mModifyTransportButton->setAutoDefault( false ); mModifyTransportButton->setEnabled( false ); // b/c no item is selected yet - connect( mModifyTransportButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotModifySelectedTransport()) ); + connect( mModifyTransportButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotModifySelectedTransport()) ); btn_vlay->addWidget( mModifyTransportButton ); // "remove" button: stretch 0 mRemoveTransportButton = new TQPushButton( i18n("R&emove"), this ); mRemoveTransportButton->setAutoDefault( false ); mRemoveTransportButton->setEnabled( false ); // b/c no item is selected yet - connect( mRemoveTransportButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRemoveSelectedTransport()) ); + connect( mRemoveTransportButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRemoveSelectedTransport()) ); btn_vlay->addWidget( mRemoveTransportButton ); mSetDefaultTransportButton = new TQPushButton( i18n("Set Default"), this ); mSetDefaultTransportButton->setAutoDefault( false ); mSetDefaultTransportButton->setEnabled( false ); - connect ( mSetDefaultTransportButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSetDefaultTransport()) ); + connect ( mSetDefaultTransportButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSetDefaultTransport()) ); btn_vlay->addWidget( mSetDefaultTransportButton ); btn_vlay->addStretch( 1 ); // spacer @@ -660,8 +660,8 @@ AccountsPageSendingTab::AccountsPageSendingTab( TQWidget * parent, const char * // "confirm before send" check box: mConfirmSendCheck = new TQCheckBox( i18n("Confirm &before send"), group ); glay->addMultiCellWidget( mConfirmSendCheck, 0, 0, 0, 1 ); - connect( mConfirmSendCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mConfirmSendCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "send on check" combo: mSendOnCheckCombo = new TQComboBox( false, group ); @@ -670,8 +670,8 @@ AccountsPageSendingTab::AccountsPageSendingTab( TQWidget * parent, const char * << i18n("On Manual Mail Checks") << i18n("On All Mail Checks") ); glay->addWidget( mSendOnCheckCombo, 1, 1 ); - connect( mSendOnCheckCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mSendOnCheckCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "default send method" combo: mSendMethodCombo = new TQComboBox( false, group ); @@ -679,8 +679,8 @@ AccountsPageSendingTab::AccountsPageSendingTab( TQWidget * parent, const char * << i18n("Send Now") << i18n("Send Later") ); glay->addWidget( mSendMethodCombo, 2, 1 ); - connect( mSendMethodCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mSendMethodCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "message property" combo: @@ -690,14 +690,14 @@ AccountsPageSendingTab::AccountsPageSendingTab( TQWidget * parent, const char * << i18n("Allow 8-bit") << i18n("MIME Compliant (Quoted Printable)") ); glay->addWidget( mMessagePropertyCombo, 3, 1 ); - connect( mMessagePropertyCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mMessagePropertyCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "default domain" input field: mDefaultDomainEdit = new KLineEdit( group ); glay->addMultiCellWidget( mDefaultDomainEdit, 4, 4, 1, 2 ); - connect( mDefaultDomainEdit, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mDefaultDomainEdit, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // labels: TQLabel *l = new TQLabel( mSendOnCheckCombo, /*buddy*/ @@ -1082,10 +1082,10 @@ AccountsPageReceivingTab::AccountsPageReceivingTab( TQWidget * parent, const cha mAccountList->addColumn( i18n("Folder") ); mAccountList->setAllColumnsShowFocus( true ); mAccountList->setSorting( -1 ); - connect( mAccountList, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotAccountSelected()) ); - connect( mAccountList, TQT_SIGNAL(doubleClicked( TQListViewItem *)), - this, TQT_SLOT(slotModifySelectedAccount()) ); + connect( mAccountList, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotAccountSelected()) ); + connect( mAccountList, TQ_SIGNAL(doubleClicked( TQListViewItem *)), + this, TQ_SLOT(slotModifySelectedAccount()) ); hlay->addWidget( mAccountList, 1 ); // a vbox layout for the buttons: zero stretch, spacing inherited from hlay @@ -1094,31 +1094,31 @@ AccountsPageReceivingTab::AccountsPageReceivingTab( TQWidget * parent, const cha // "add..." button: stretch 0 button = new TQPushButton( i18n("A&dd..."), this ); button->setAutoDefault( false ); - connect( button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddAccount()) ); + connect( button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddAccount()) ); btn_vlay->addWidget( button ); // "modify..." button: stretch 0 mModifyAccountButton = new TQPushButton( i18n("&Modify..."), this ); mModifyAccountButton->setAutoDefault( false ); mModifyAccountButton->setEnabled( false ); // b/c no item is selected yet - connect( mModifyAccountButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotModifySelectedAccount()) ); + connect( mModifyAccountButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotModifySelectedAccount()) ); btn_vlay->addWidget( mModifyAccountButton ); // "remove..." button: stretch 0 mRemoveAccountButton = new TQPushButton( i18n("R&emove"), this ); mRemoveAccountButton->setAutoDefault( false ); mRemoveAccountButton->setEnabled( false ); // b/c no item is selected yet - connect( mRemoveAccountButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRemoveSelectedAccount()) ); + connect( mRemoveAccountButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRemoveSelectedAccount()) ); btn_vlay->addWidget( mRemoveAccountButton ); btn_vlay->addStretch( 1 ); // spacer mCheckmailStartupCheck = new TQCheckBox( i18n("Chec&k mail on startup"), this ); vlay->addWidget( mCheckmailStartupCheck ); - connect( mCheckmailStartupCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mCheckmailStartupCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "New Mail Notification" group box: stretch 0 group = new TQVGroupBox( i18n("New Mail Notification"), this ); @@ -1129,8 +1129,8 @@ AccountsPageReceivingTab::AccountsPageReceivingTab( TQWidget * parent, const cha mBeepNewMailCheck = new TQCheckBox(i18n("&Beep"), group ); mBeepNewMailCheck->setSizePolicy( TQSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed ) ); - connect( mBeepNewMailCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mBeepNewMailCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "Detailed new mail notification" check box mVerboseNotificationCheck = @@ -1142,15 +1142,15 @@ AccountsPageReceivingTab::AccountsPageReceivingTab( TQWidget * parent, const cha "messages" ) ); TQWhatsThis::add( mVerboseNotificationCheck, GlobalSettings::self()->verboseNewMailNotificationItem()->whatsThis() ); - connect( mVerboseNotificationCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mVerboseNotificationCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); // "Other Actions" button: mOtherNewMailActionsButton = new TQPushButton( i18n("Other Actio&ns"), group ); mOtherNewMailActionsButton->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) ); - connect( mOtherNewMailActionsButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotEditNotifications()) ); + connect( mOtherNewMailActionsButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotEditNotifications()) ); } AccountsPageReceivingTab::~AccountsPageReceivingTab() @@ -1412,7 +1412,7 @@ void AccountsPage::ReceivingTab::doLoadOther() { mBeepNewMailCheck->setChecked( general.readBoolEntry("beep-on-mail", false ) ); mCheckmailStartupCheck->setChecked( general.readBoolEntry("checkmail-startup", false) ); - TQTimer::singleShot( 0, this, TQT_SLOT( slotTweakAccountList() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotTweakAccountList() ) ); } void AccountsPage::ReceivingTab::slotTweakAccountList() @@ -1565,8 +1565,8 @@ AppearancePageFontsTab::AppearancePageFontsTab( TQWidget * parent, const char * mCustomFontCheck = new TQCheckBox( i18n("&Use custom fonts"), this ); vlay->addWidget( mCustomFontCheck ); vlay->addWidget( new KSeparator( KSeparator::HLine, this ) ); - connect ( mCustomFontCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect ( mCustomFontCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "font location" combo box and label: hlay = new TQHBoxLayout( vlay ); // inherites spacing @@ -1589,20 +1589,20 @@ AppearancePageFontsTab::AppearancePageFontsTab( TQWidget * parent, const char * false, 4 ); mFontChooser->setEnabled( false ); // since !mCustomFontCheck->isChecked() vlay->addWidget( mFontChooser ); - connect ( mFontChooser, TQT_SIGNAL( fontSelected( const TQFont& ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect ( mFontChooser, TQ_SIGNAL( fontSelected( const TQFont& ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // {en,dis}able widgets depending on the state of mCustomFontCheck: - connect( mCustomFontCheck, TQT_SIGNAL(toggled(bool)), - label, TQT_SLOT(setEnabled(bool)) ); - connect( mCustomFontCheck, TQT_SIGNAL(toggled(bool)), - mFontLocationCombo, TQT_SLOT(setEnabled(bool)) ); - connect( mCustomFontCheck, TQT_SIGNAL(toggled(bool)), - mFontChooser, TQT_SLOT(setEnabled(bool)) ); + connect( mCustomFontCheck, TQ_SIGNAL(toggled(bool)), + label, TQ_SLOT(setEnabled(bool)) ); + connect( mCustomFontCheck, TQ_SIGNAL(toggled(bool)), + mFontLocationCombo, TQ_SLOT(setEnabled(bool)) ); + connect( mCustomFontCheck, TQ_SIGNAL(toggled(bool)), + mFontChooser, TQ_SLOT(setEnabled(bool)) ); // load the right font settings into mFontChooser: - connect( mFontLocationCombo, TQT_SIGNAL(activated(int) ), - this, TQT_SLOT(slotFontSelectorChanged(int)) ); + connect( mFontLocationCombo, TQ_SIGNAL(activated(int) ), + this, TQ_SLOT(slotFontSelectorChanged(int)) ); } @@ -1629,14 +1629,14 @@ void AppearancePage::FontsTab::slotFontSelectorChanged( int index ) mActiveFontIndex = index; // Disonnect so the "Apply" button is not activated by the change - disconnect ( mFontChooser, TQT_SIGNAL( fontSelected( const TQFont& ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + disconnect ( mFontChooser, TQ_SIGNAL( fontSelected( const TQFont& ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // Display the new setting: mFontChooser->setFont( mFont[index], fontNames[index].onlyFixed ); - connect ( mFontChooser, TQT_SIGNAL( fontSelected( const TQFont& ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect ( mFontChooser, TQ_SIGNAL( fontSelected( const TQFont& ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // Disable Family and Size list if we have selected a quote font: mFontChooser->enableColumn( TDEFontChooser::FamilyList|TDEFontChooser::SizeList, @@ -1739,8 +1739,8 @@ AppearancePageColorsTab::AppearancePageColorsTab( TQWidget * parent, const char vlay = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); mCustomColorCheck = new TQCheckBox( i18n("&Use custom colors"), this ); vlay->addWidget( mCustomColorCheck ); - connect( mCustomColorCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mCustomColorCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // color list box: mColorList = new ColorListBox( this ); @@ -1755,8 +1755,8 @@ AppearancePageColorsTab::AppearancePageColorsTab( TQWidget * parent, const char new TQCheckBox( i18n("Recycle colors on deep "ing"), this ); mRecycleColorCheck->setEnabled( false ); vlay->addWidget( mRecycleColorCheck ); - connect( mRecycleColorCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mRecycleColorCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // close to quota threshold TQHBoxLayout *hbox = new TQHBoxLayout(vlay); @@ -1764,25 +1764,25 @@ AppearancePageColorsTab::AppearancePageColorsTab( TQWidget * parent, const char hbox->addWidget( l ); l->setEnabled( false ); mCloseToQuotaThreshold = new TQSpinBox( 0, 100, 1, this ); - connect( mCloseToQuotaThreshold, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mCloseToQuotaThreshold, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mCloseToQuotaThreshold->setEnabled( false ); mCloseToQuotaThreshold->setSuffix( i18n("%")); hbox->addWidget( mCloseToQuotaThreshold ); hbox->addWidget( new TQWidget(this), 2 ); // {en,dir}able widgets depending on the state of mCustomColorCheck: - connect( mCustomColorCheck, TQT_SIGNAL(toggled(bool)), - mColorList, TQT_SLOT(setEnabled(bool)) ); - connect( mCustomColorCheck, TQT_SIGNAL(toggled(bool)), - mRecycleColorCheck, TQT_SLOT(setEnabled(bool)) ); - connect( mCustomColorCheck, TQT_SIGNAL(toggled(bool)), - l, TQT_SLOT(setEnabled(bool)) ); - connect( mCustomColorCheck, TQT_SIGNAL(toggled(bool)), - mCloseToQuotaThreshold, TQT_SLOT(setEnabled(bool)) ); + connect( mCustomColorCheck, TQ_SIGNAL(toggled(bool)), + mColorList, TQ_SLOT(setEnabled(bool)) ); + connect( mCustomColorCheck, TQ_SIGNAL(toggled(bool)), + mRecycleColorCheck, TQ_SLOT(setEnabled(bool)) ); + connect( mCustomColorCheck, TQ_SIGNAL(toggled(bool)), + l, TQ_SLOT(setEnabled(bool)) ); + connect( mCustomColorCheck, TQ_SIGNAL(toggled(bool)), + mCloseToQuotaThreshold, TQ_SLOT(setEnabled(bool)) ); - connect( mCustomColorCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mCustomColorCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); } void AppearancePage::ColorsTab::doLoadOther() { @@ -1823,8 +1823,8 @@ void AppearancePage::ColorsTab::doLoadOther() { mColorList->setColor( i, reader.readColorEntry( colorNames[i].configName, &defaultColor[i] ) ); } - connect( mColorList, TQT_SIGNAL( changed( ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mColorList, TQ_SIGNAL( changed( ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); } void AppearancePage::ColorsTab::installProfile( TDEConfig * profile ) { @@ -1911,30 +1911,30 @@ AppearancePageLayoutTab::AppearancePageLayoutTab( TQWidget * parent, const char // "folder list" radio buttons: populateButtonGroup( mFolderListGroup = new TQHButtonGroup( this ), folderListMode ); vlay->addWidget( mFolderListGroup ); - connect( mFolderListGroup, TQT_SIGNAL ( clicked( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mFolderListGroup, TQ_SIGNAL ( clicked( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); mFavoriteFolderViewCB = new TQCheckBox( i18n("Show favorite folder view"), this ); - connect( mFavoriteFolderViewCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEmitChanged()) ); + connect( mFavoriteFolderViewCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEmitChanged()) ); vlay->addWidget( mFavoriteFolderViewCB ); // "show reader window" radio buttons: populateButtonGroup( mReaderWindowModeGroup = new TQVButtonGroup( this ), readerWindowMode ); vlay->addWidget( mReaderWindowModeGroup ); - connect( mReaderWindowModeGroup, TQT_SIGNAL ( clicked( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mReaderWindowModeGroup, TQ_SIGNAL ( clicked( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); // "Show MIME Tree" radio buttons: populateButtonGroup( mMIMETreeModeGroup = new TQVButtonGroup( this ), mimeTreeMode ); vlay->addWidget( mMIMETreeModeGroup ); - connect( mMIMETreeModeGroup, TQT_SIGNAL ( clicked( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mMIMETreeModeGroup, TQ_SIGNAL ( clicked( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); // "MIME Tree Location" radio buttons: populateButtonGroup( mMIMETreeLocationGroup = new TQHButtonGroup( this ), mimeTreeLocation ); vlay->addWidget( mMIMETreeLocationGroup ); - connect( mMIMETreeLocationGroup, TQT_SIGNAL ( clicked( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mMIMETreeLocationGroup, TQ_SIGNAL ( clicked( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); vlay->addStretch( 10 ); // spacer } @@ -2015,14 +2015,14 @@ AppearancePageHeadersTab::AppearancePageHeadersTab( TQWidget * parent, const cha mNestedMessagesCheck = new TQCheckBox( i18n("&Threaded message list"), group ); - connect( mMessageSizeCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); - connect( mAttachmentCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); - connect( mCryptoIconsCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); - connect( mNestedMessagesCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mMessageSizeCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); + connect( mAttachmentCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); + connect( mCryptoIconsCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); + connect( mNestedMessagesCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); vlay->addWidget( group ); @@ -2048,8 +2048,8 @@ AppearancePageHeadersTab::AppearancePageHeadersTab( TQWidget * parent, const cha vlay->addWidget( mNestingPolicy ); - connect( mNestingPolicy, TQT_SIGNAL( clicked( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mNestingPolicy, TQ_SIGNAL( clicked( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "Date Display" group: mDateDisplay = new TQVButtonGroup( i18n("Date Display"), this ); @@ -2064,10 +2064,10 @@ AppearancePageHeadersTab::AppearancePageHeadersTab( TQWidget * parent, const cha if ( dateDisplayConfig[i].dateDisplay == DateFormatter::Custom ) { mCustomDateFormatEdit = new KLineEdit( mDateDisplay ); mCustomDateFormatEdit->setEnabled( false ); - connect( radio, TQT_SIGNAL(toggled(bool)), - mCustomDateFormatEdit, TQT_SLOT(setEnabled(bool)) ); - connect( mCustomDateFormatEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotEmitChanged(void)) ); + connect( radio, TQ_SIGNAL(toggled(bool)), + mCustomDateFormatEdit, TQ_SLOT(setEnabled(bool)) ); + connect( mCustomDateFormatEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotEmitChanged(void)) ); TQString customDateWhatsThis = i18n("<qt><p><strong>These expressions may be used for the date:" "</strong></p>" @@ -2106,8 +2106,8 @@ AppearancePageHeadersTab::AppearancePageHeadersTab( TQWidget * parent, const cha } // end for loop populating mDateDisplay vlay->addWidget( mDateDisplay ); - connect( mDateDisplay, TQT_SIGNAL( clicked( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mDateDisplay, TQ_SIGNAL( clicked( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); vlay->addStretch( 10 ); // spacer @@ -2261,40 +2261,40 @@ AppearancePageReaderTab::AppearancePageReaderTab( TQWidget * parent, TQToolTip::add( mCloseAfterReplyOrForwardCheck, i18n( "Close the standalone message window after replying or forwarding the message" ) ); vlay->addWidget( mCloseAfterReplyOrForwardCheck ); - connect( mCloseAfterReplyOrForwardCheck, TQT_SIGNAL ( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mCloseAfterReplyOrForwardCheck, TQ_SIGNAL ( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); // "show colorbar" check box: populateCheckBox( mShowColorbarCheck = new TQCheckBox( this ), showColorbarMode ); vlay->addWidget( mShowColorbarCheck ); - connect( mShowColorbarCheck, TQT_SIGNAL ( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mShowColorbarCheck, TQ_SIGNAL ( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); // "show spam status" check box; populateCheckBox( mShowSpamStatusCheck = new TQCheckBox( this ), showSpamStatusMode ); vlay->addWidget( mShowSpamStatusCheck ); - connect( mShowSpamStatusCheck, TQT_SIGNAL ( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mShowSpamStatusCheck, TQ_SIGNAL ( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); // "replace smileys by emoticons" check box; populateCheckBox( mShowEmoticonsCheck = new TQCheckBox( this ), showEmoticons ); vlay->addWidget( mShowEmoticonsCheck ); - connect( mShowEmoticonsCheck, TQT_SIGNAL ( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mShowEmoticonsCheck, TQ_SIGNAL ( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); // "Use smaller font for quoted text" check box mShrinkQuotesCheck = new TQCheckBox( i18n( shrinkQuotes.desc ), this, "kcfg_ShrinkQuotes" ); vlay->addWidget( mShrinkQuotesCheck ); - connect( mShrinkQuotesCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mShrinkQuotesCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); // "Show expand/collaps quote marks" check box; TQHBoxLayout *hlay= new TQHBoxLayout( vlay ); // inherits spacing populateCheckBox( mShowExpandQuotesMark= new TQCheckBox( this ), showExpandQuotesMark); hlay->addWidget( mShowExpandQuotesMark); - connect( mShowExpandQuotesMark, TQT_SIGNAL ( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mShowExpandQuotesMark, TQ_SIGNAL ( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); hlay->addStretch( 1 ); mCollapseQuoteLevelSpin = new KIntSpinBox( 0/*min*/,10/*max*/,1/*step*/, @@ -2306,20 +2306,20 @@ AppearancePageReaderTab::AppearancePageReaderTab( TQWidget * parent, hlay->addWidget( label ); mCollapseQuoteLevelSpin->setEnabled( false ); //since !mShowExpandQuotesMark->isCheckec() - connect( mCollapseQuoteLevelSpin, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mCollapseQuoteLevelSpin, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); hlay->addWidget( mCollapseQuoteLevelSpin); - connect( mShowExpandQuotesMark, TQT_SIGNAL( toggled( bool ) ), - mCollapseQuoteLevelSpin, TQT_SLOT( setEnabled( bool ) ) ); + connect( mShowExpandQuotesMark, TQ_SIGNAL( toggled( bool ) ), + mCollapseQuoteLevelSpin, TQ_SLOT( setEnabled( bool ) ) ); // Fallback Character Encoding hlay = new TQHBoxLayout( vlay ); // inherits spacing mCharsetCombo = new TQComboBox( this ); mCharsetCombo->insertStringList( KMMsgBase::supportedEncodings( false ) ); - connect( mCharsetCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mCharsetCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); TQString fallbackCharsetWhatsThis = i18n( GlobalSettings::self()->fallbackCharacterEncodingItem()->whatsThis().utf8() ); @@ -2339,8 +2339,8 @@ AppearancePageReaderTab::AppearancePageReaderTab( TQWidget * parent, mOverrideCharsetCombo->insertStringList( encodings ); mOverrideCharsetCombo->setCurrentItem(0); - connect( mOverrideCharsetCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mOverrideCharsetCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); TQString overrideCharsetWhatsThis = i18n( GlobalSettings::self()->overrideCharacterEncodingItem()->whatsThis().utf8() ); @@ -2354,8 +2354,8 @@ AppearancePageReaderTab::AppearancePageReaderTab( TQWidget * parent, populateCheckBox( mShowCurrentTimeCheck = new TQCheckBox( this ), showCurrentTime ); vlay->addWidget( mShowCurrentTimeCheck ); - connect( mShowCurrentTimeCheck, TQT_SIGNAL ( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mShowCurrentTimeCheck, TQ_SIGNAL ( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); vlay->addStretch( 100 ); // spacer } @@ -2485,17 +2485,17 @@ AppearancePageSystemTrayTab::AppearancePageSystemTrayTab( TQWidget * parent, // "Enable system tray applet" check box mSystemTrayCheck = new TQCheckBox( i18n("Enable system tray icon"), this ); vlay->addWidget( mSystemTrayCheck ); - connect( mSystemTrayCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mSystemTrayCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // System tray modes mSystemTrayGroup = new TQVButtonGroup( i18n("System Tray Mode"), this ); mSystemTrayGroup->layout()->setSpacing( KDialog::spacingHint() ); vlay->addWidget( mSystemTrayGroup ); - connect( mSystemTrayGroup, TQT_SIGNAL( clicked( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); - connect( mSystemTrayCheck, TQT_SIGNAL( toggled( bool ) ), - mSystemTrayGroup, TQT_SLOT( setEnabled( bool ) ) ); + connect( mSystemTrayGroup, TQ_SIGNAL( clicked( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); + connect( mSystemTrayCheck, TQ_SIGNAL( toggled( bool ) ), + mSystemTrayGroup, TQ_SLOT( setEnabled( bool ) ) ); mSystemTrayGroup->insert( new TQRadioButton( i18n("Always show KMail in system tray"), mSystemTrayGroup ), GlobalSettings::EnumSystemTrayPolicy::ShowAlways ); @@ -2617,14 +2617,14 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * GlobalSettings::self()->autoTextSignatureItem()->label(), this ); vlay->addWidget( mAutoAppSignFileCheck ); - connect( mAutoAppSignFileCheck, TQT_SIGNAL( stateChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mAutoAppSignFileCheck, TQ_SIGNAL( stateChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mTopQuoteCheck = new TQCheckBox( GlobalSettings::self()->prependSignatureItem()->label(), this ); vlay->addWidget( mTopQuoteCheck); - connect( mTopQuoteCheck, TQT_SIGNAL( stateChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mTopQuoteCheck, TQ_SIGNAL( stateChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mSmartQuoteCheck = new TQCheckBox( GlobalSettings::self()->smartQuoteItem()->label(), @@ -2634,8 +2634,8 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * "even when the line was created by adding an additional linebreak while\n" "word-wrapping the text." ) ); vlay->addWidget( mSmartQuoteCheck ); - connect( mSmartQuoteCheck, TQT_SIGNAL( stateChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mSmartQuoteCheck, TQ_SIGNAL( stateChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mQuoteSelectionOnlyCheck = new TQCheckBox( GlobalSettings::self()->quoteSelectionOnlyItem()->label(), this, "kcfg_QuoteSelectionOnly" ); @@ -2643,28 +2643,28 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * i18n( "When replying, only quote the selected text instead of the complete message " "when there is text selected in the message window." ) ); vlay->addWidget( mQuoteSelectionOnlyCheck ); - connect( mQuoteSelectionOnlyCheck, TQT_SIGNAL( stateChanged(int) ), - this, TQT_SLOT( slotEmitChanged(void) ) ); + connect( mQuoteSelectionOnlyCheck, TQ_SIGNAL( stateChanged(int) ), + this, TQ_SLOT( slotEmitChanged(void) ) ); mStripSignatureCheck = new TQCheckBox( GlobalSettings::self()->stripSignatureItem()->label(), this, "kcfg_StripSignature" ); vlay->addWidget( mStripSignatureCheck ); - connect( mStripSignatureCheck, TQT_SIGNAL( stateChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mStripSignatureCheck, TQ_SIGNAL( stateChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mAutoRequestMDNCheck = new TQCheckBox( GlobalSettings::self()->requestMDNItem()->label(), this, "kcfg_RequestMDN" ); vlay->addWidget( mAutoRequestMDNCheck ); - connect( mAutoRequestMDNCheck, TQT_SIGNAL( stateChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mAutoRequestMDNCheck, TQ_SIGNAL( stateChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mShowRecentAddressesInComposer = new TQCheckBox( GlobalSettings::self()->showRecentAddressesInComposerItem()->label(), this, "kcfg_ShowRecentAddressesInComposer" ); vlay->addWidget( mShowRecentAddressesInComposer ); - connect( mShowRecentAddressesInComposer, TQT_SIGNAL( stateChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mShowRecentAddressesInComposer, TQ_SIGNAL( stateChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // a checkbox for "word wrap" and a spinbox for the column in // which to wrap: @@ -2673,20 +2673,20 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * GlobalSettings::self()->wordWrapItem()->label(), this, "kcfg_WordWrap" ); hlay->addWidget( mWordWrapCheck ); - connect( mWordWrapCheck, TQT_SIGNAL( stateChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mWordWrapCheck, TQ_SIGNAL( stateChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mWrapColumnSpin = new KIntSpinBox( 30/*min*/, 78/*max*/, 1/*step*/, 78/*init*/, 10 /*base*/, this, "kcfg_LineWrapWidth" ); mWrapColumnSpin->setEnabled( false ); // since !mWordWrapCheck->isChecked() - connect( mWrapColumnSpin, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mWrapColumnSpin, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); hlay->addWidget( mWrapColumnSpin ); hlay->addStretch( 1 ); // only enable the spinbox if the checkbox is checked: - connect( mWordWrapCheck, TQT_SIGNAL(toggled(bool)), - mWrapColumnSpin, TQT_SLOT(setEnabled(bool)) ); + connect( mWordWrapCheck, TQ_SIGNAL(toggled(bool)), + mWrapColumnSpin, TQ_SLOT(setEnabled(bool)) ); // a checkbox for "too many recipient warning" and a spinbox for the recipient threshold hlay = new TQHBoxLayout( vlay ); // inherits spacing @@ -2694,8 +2694,8 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * GlobalSettings::self()->tooManyRecipientsItem()->label(), this, "kcfg_TooManyRecipients" ); hlay->addWidget( mRecipientCheck ); - connect( mRecipientCheck, TQT_SIGNAL( stateChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mRecipientCheck, TQ_SIGNAL( stateChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); TQString recipientCheckWhatsthis = i18n( GlobalSettings::self()->tooManyRecipientsItem()->whatsThis().utf8() ); @@ -2706,8 +2706,8 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * mRecipientSpin = new KIntSpinBox( 1/*min*/, 100/*max*/, 1/*step*/, 5/*init*/, 10 /*base*/, this, "kcfg_RecipientThreshold" ); mRecipientSpin->setEnabled( false ); - connect( mRecipientSpin, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mRecipientSpin, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); TQString recipientWhatsthis = i18n( GlobalSettings::self()->recipientThresholdItem()->whatsThis().utf8() ); @@ -2719,8 +2719,8 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * hlay->addWidget( mRecipientSpin ); hlay->addStretch( 1 ); // only enable the spinbox if the checkbox is checked: - connect( mRecipientCheck, TQT_SIGNAL(toggled(bool)), - mRecipientSpin, TQT_SLOT(setEnabled(bool)) ); + connect( mRecipientCheck, TQ_SIGNAL(toggled(bool)), + mRecipientSpin, TQ_SLOT(setEnabled(bool)) ); hlay = new TQHBoxLayout( vlay ); // inherits spacing @@ -2732,8 +2732,8 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * mAutoSave->setSpecialValueText( i18n("No autosave") ); mAutoSave->setSuffix( i18n(" min") ); hlay->addStretch( 1 ); - connect( mAutoSave, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mAutoSave, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); hlay = new TQHBoxLayout( vlay ); // inherits spacing mForwardTypeCombo = new KComboBox( false, this ); @@ -2746,21 +2746,21 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * hlay->addWidget( label ); hlay->addWidget( mForwardTypeCombo ); hlay->addStretch( 1 ); - connect( mForwardTypeCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mForwardTypeCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT( slotEmitChanged( void ) ) ); hlay = new TQHBoxLayout( vlay ); // inherits spacing TQPushButton *completionOrderBtn = new TQPushButton( i18n( "Configure Completion Order" ), this ); - connect( completionOrderBtn, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotConfigureCompletionOrder() ) ); + connect( completionOrderBtn, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotConfigureCompletionOrder() ) ); hlay->addWidget( completionOrderBtn ); hlay->addItem( new TQSpacerItem(0, 0) ); // recent addresses hlay = new TQHBoxLayout( vlay ); // inherits spacing TQPushButton *recentAddressesBtn = new TQPushButton( i18n( "Edit Recent Addresses..." ), this ); - connect( recentAddressesBtn, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotConfigureRecentAddresses() ) ); + connect( recentAddressesBtn, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotConfigureRecentAddresses() ) ); hlay->addWidget( recentAddressesBtn ); hlay->addItem( new TQSpacerItem(0, 0) ); @@ -2771,17 +2771,17 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * mExternalEditorCheck = new TQCheckBox( GlobalSettings::self()->useExternalEditorItem()->label(), group, "kcfg_UseExternalEditor" ); - connect( mExternalEditorCheck, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mExternalEditorCheck, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); hbox = new TQHBox( group ); label = new TQLabel( GlobalSettings::self()->externalEditorItem()->label(), hbox ); mEditorRequester = new KURLRequester( hbox, "kcfg_ExternalEditor" ); - connect( mEditorRequester, TQT_SIGNAL( urlSelected(const TQString&) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); - connect( mEditorRequester, TQT_SIGNAL( textChanged(const TQString&) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mEditorRequester, TQ_SIGNAL( urlSelected(const TQString&) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); + connect( mEditorRequester, TQ_SIGNAL( textChanged(const TQString&) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); hbox->setStretchFactor( mEditorRequester, 1 ); label->setBuddy( mEditorRequester ); @@ -2791,16 +2791,16 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * "application/x-shellscript " "application/x-desktop" ); mEditorRequester->setEnabled( false ); // !mExternalEditorCheck->isChecked() - connect( mExternalEditorCheck, TQT_SIGNAL(toggled(bool)), - label, TQT_SLOT(setEnabled(bool)) ); - connect( mExternalEditorCheck, TQT_SIGNAL(toggled(bool)), - mEditorRequester, TQT_SLOT(setEnabled(bool)) ); + connect( mExternalEditorCheck, TQ_SIGNAL(toggled(bool)), + label, TQ_SLOT(setEnabled(bool)) ); + connect( mExternalEditorCheck, TQ_SIGNAL(toggled(bool)), + mEditorRequester, TQ_SLOT(setEnabled(bool)) ); label = new TQLabel( i18n("<b>%f</b> will be replaced with the " "filename to edit."), group ); label->setEnabled( false ); // see above - connect( mExternalEditorCheck, TQT_SIGNAL(toggled(bool)), - label, TQT_SLOT(setEnabled(bool)) ); + connect( mExternalEditorCheck, TQ_SIGNAL(toggled(bool)), + label, TQ_SLOT(setEnabled(bool)) ); vlay->addWidget( group ); vlay->addStretch( 100 ); @@ -2942,8 +2942,8 @@ ComposerPagePhrasesTab::ComposerPagePhrasesTab( TQWidget * parent, const char * glay->addWidget( new TQLabel( mPhraseLanguageCombo, i18n("Lang&uage:"), this ), 1, 0 ); glay->addMultiCellWidget( mPhraseLanguageCombo, 1, 1, 1, 2 ); - connect( mPhraseLanguageCombo, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(slotLanguageChanged(const TQString&)) ); + connect( mPhraseLanguageCombo, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(slotLanguageChanged(const TQString&)) ); // row 2: "add..." and "remove" push buttons: button = new TQPushButton( i18n("A&dd..."), this ); @@ -2953,39 +2953,39 @@ ComposerPagePhrasesTab::ComposerPagePhrasesTab( TQWidget * parent, const char * mRemoveButton->setAutoDefault( false ); mRemoveButton->setEnabled( false ); // combo doesn't contain anything... glay->addWidget( mRemoveButton, 2, 2 ); - connect( button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNewLanguage()) ); - connect( mRemoveButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRemoveLanguage()) ); + connect( button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNewLanguage()) ); + connect( mRemoveButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRemoveLanguage()) ); // row 3: "reply to sender" line edit and label: mPhraseReplyEdit = new KLineEdit( this ); - connect( mPhraseReplyEdit, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mPhraseReplyEdit, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); glay->addWidget( new TQLabel( mPhraseReplyEdit, i18n("Reply to se&nder:"), this ), 3, 0 ); glay->addMultiCellWidget( mPhraseReplyEdit, 3, 3, 1, 2 ); // cols 1..2 // row 4: "reply to all" line edit and label: mPhraseReplyAllEdit = new KLineEdit( this ); - connect( mPhraseReplyAllEdit, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mPhraseReplyAllEdit, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); glay->addWidget( new TQLabel( mPhraseReplyAllEdit, i18n("Repl&y to all:"), this ), 4, 0 ); glay->addMultiCellWidget( mPhraseReplyAllEdit, 4, 4, 1, 2 ); // cols 1..2 // row 5: "forward" line edit and label: mPhraseForwardEdit = new KLineEdit( this ); - connect( mPhraseForwardEdit, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mPhraseForwardEdit, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); glay->addWidget( new TQLabel( mPhraseForwardEdit, i18n("&Forward:"), this ), 5, 0 ); glay->addMultiCellWidget( mPhraseForwardEdit, 5, 5, 1, 2 ); // cols 1..2 // row 6: "quote indicator" line edit and label: mPhraseIndentPrefixEdit = new KLineEdit( this ); - connect( mPhraseIndentPrefixEdit, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mPhraseIndentPrefixEdit, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); glay->addWidget( new TQLabel( mPhraseIndentPrefixEdit, i18n("&Quote indicator:"), this ), 6, 0 ); glay->addMultiCellWidget( mPhraseIndentPrefixEdit, 6, 6, 1, 2 ); @@ -3133,8 +3133,8 @@ ComposerPageTemplatesTab::ComposerPageTemplatesTab( TQWidget * parent, const cha mWidget = new TemplatesConfiguration( this ); vlay->addWidget( mWidget ); - connect( mWidget, TQT_SIGNAL( changed() ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mWidget, TQ_SIGNAL( changed() ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); } void ComposerPage::TemplatesTab::doLoadFromGlobalSettings() { @@ -3157,8 +3157,8 @@ ComposerPageCustomTemplatesTab::ComposerPageCustomTemplatesTab( TQWidget * paren mWidget = new CustomTemplates( this ); vlay->addWidget( mWidget ); - connect( mWidget, TQT_SIGNAL( changed() ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mWidget, TQ_SIGNAL( changed() ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); } void ComposerPage::CustomTemplatesTab::doLoadFromGlobalSettings() { @@ -3200,15 +3200,15 @@ ComposerPageSubjectTab::ComposerPageSubjectTab( TQWidget * parent, const char * i18n("A&dd..."), i18n("Re&move"), i18n("Mod&ify..."), i18n("Enter new reply prefix:") ); - connect( mReplyListEditor, TQT_SIGNAL( changed( void ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mReplyListEditor, TQ_SIGNAL( changed( void ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // row 2: "replace [...]" check box: mReplaceReplyPrefixCheck = new TQCheckBox( GlobalSettings::self()->replaceReplyPrefixItem()->label(), group, "kcfg_ReplaceReplyPrefix" ); - connect( mReplaceReplyPrefixCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mReplaceReplyPrefixCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); vlay->addWidget( group ); @@ -3228,15 +3228,15 @@ ComposerPageSubjectTab::ComposerPageSubjectTab( TQWidget * parent, const char * i18n("Remo&ve"), i18n("Modify..."), i18n("Enter new forward prefix:") ); - connect( mForwardListEditor, TQT_SIGNAL( changed( void ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mForwardListEditor, TQ_SIGNAL( changed( void ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // row 3: "replace [...]" check box: mReplaceForwardPrefixCheck = new TQCheckBox( GlobalSettings::self()->replaceForwardPrefixItem()->label(), group, "kcfg_ReplaceForwardPrefix" ); - connect( mReplaceForwardPrefixCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mReplaceForwardPrefixCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); vlay->addWidget( group ); } @@ -3276,20 +3276,20 @@ ComposerPageCharsetTab::ComposerPageCharsetTab( TQWidget * parent, const char * new SimpleStringListEditor( this, 0, SimpleStringListEditor::All, i18n("A&dd..."), i18n("Remo&ve"), i18n("&Modify..."), i18n("Enter charset:") ); - connect( mCharsetListEditor, TQT_SIGNAL( changed( void ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mCharsetListEditor, TQ_SIGNAL( changed( void ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); vlay->addWidget( mCharsetListEditor, 1 ); mKeepReplyCharsetCheck = new TQCheckBox( i18n("&Keep original charset when " "replying or forwarding (if " "possible)"), this ); - connect( mKeepReplyCharsetCheck, TQT_SIGNAL ( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mKeepReplyCharsetCheck, TQ_SIGNAL ( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); vlay->addWidget( mKeepReplyCharsetCheck ); - connect( mCharsetListEditor, TQT_SIGNAL(aboutToAdd(TQString&)), - this, TQT_SLOT(slotVerifyCharset(TQString&)) ); + connect( mCharsetListEditor, TQ_SIGNAL(aboutToAdd(TQString&)), + this, TQ_SLOT(slotVerifyCharset(TQString&)) ); } void ComposerPage::CharsetTab::slotVerifyCharset( TQString & charset ) { @@ -3367,8 +3367,8 @@ ComposerPageHeadersTab::ComposerPageHeadersTab( TQWidget * parent, const char * // "Use custom Message-Id suffix" checkbox: mCreateOwnMessageIdCheck = new TQCheckBox( i18n("&Use custom message-id suffix"), this ); - connect( mCreateOwnMessageIdCheck, TQT_SIGNAL ( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mCreateOwnMessageIdCheck, TQ_SIGNAL ( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); vlay->addWidget( mCreateOwnMessageIdCheck ); // "Message-Id suffix" line edit and label: @@ -3384,12 +3384,12 @@ ComposerPageHeadersTab::ComposerPageHeadersTab( TQWidget * parent, const char * mMessageIdSuffixEdit->setEnabled( false ); hlay->addWidget( label ); hlay->addWidget( mMessageIdSuffixEdit, 1 ); - connect( mCreateOwnMessageIdCheck, TQT_SIGNAL(toggled(bool) ), - label, TQT_SLOT(setEnabled(bool)) ); - connect( mCreateOwnMessageIdCheck, TQT_SIGNAL(toggled(bool) ), - mMessageIdSuffixEdit, TQT_SLOT(setEnabled(bool)) ); - connect( mMessageIdSuffixEdit, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mCreateOwnMessageIdCheck, TQ_SIGNAL(toggled(bool) ), + label, TQ_SLOT(setEnabled(bool)) ); + connect( mCreateOwnMessageIdCheck, TQ_SIGNAL(toggled(bool) ), + mMessageIdSuffixEdit, TQ_SLOT(setEnabled(bool)) ); + connect( mMessageIdSuffixEdit, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // horizontal rule and "custom header fields" label: vlay->addWidget( new KSeparator( KSeparator::HLine, this ) ); @@ -3404,18 +3404,18 @@ ComposerPageHeadersTab::ComposerPageHeadersTab( TQWidget * parent, const char * mTagList->addColumn( i18n("Value") ); mTagList->setAllColumnsShowFocus( true ); mTagList->setSorting( -1 ); - connect( mTagList, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotMimeHeaderSelectionChanged()) ); + connect( mTagList, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotMimeHeaderSelectionChanged()) ); glay->addMultiCellWidget( mTagList, 0, 2, 0, 1 ); // "new" and "remove" buttons: button = new TQPushButton( i18n("Ne&w"), this ); - connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewMimeHeader()) ); + connect( button, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewMimeHeader()) ); button->setAutoDefault( false ); glay->addWidget( button, 0, 2 ); mRemoveHeaderButton = new TQPushButton( i18n("Re&move"), this ); - connect( mRemoveHeaderButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRemoveMimeHeader()) ); + connect( mRemoveHeaderButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRemoveMimeHeader()) ); button->setAutoDefault( false ); glay->addWidget( mRemoveHeaderButton, 1, 2 ); @@ -3426,8 +3426,8 @@ ComposerPageHeadersTab::ComposerPageHeadersTab( TQWidget * parent, const char * mTagNameLabel->setEnabled( false ); glay->addWidget( mTagNameLabel, 3, 0 ); glay->addWidget( mTagNameEdit, 3, 1 ); - connect( mTagNameEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotMimeHeaderNameChanged(const TQString&)) ); + connect( mTagNameEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotMimeHeaderNameChanged(const TQString&)) ); mTagValueEdit = new KLineEdit( this ); mTagValueEdit->setEnabled( false ); @@ -3435,8 +3435,8 @@ ComposerPageHeadersTab::ComposerPageHeadersTab( TQWidget * parent, const char * mTagValueLabel->setEnabled( false ); glay->addWidget( mTagValueLabel, 4, 0 ); glay->addWidget( mTagValueEdit, 4, 1 ); - connect( mTagValueEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotMimeHeaderValueChanged(const TQString&)) ); + connect( mTagValueEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotMimeHeaderValueChanged(const TQString&)) ); } void ComposerPage::HeadersTab::slotMimeHeaderSelectionChanged() @@ -3583,10 +3583,10 @@ ComposerPageAttachmentsTab::ComposerPageAttachmentsTab( TQWidget * parent, TQToolTip::add( mOutlookCompatibleCheck, i18n( "Turn this option on to make Outlook(tm) understand attachment names " "containing non-English characters" ) ); - connect( mOutlookCompatibleCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); - connect( mOutlookCompatibleCheck, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotOutlookCompatibleClicked() ) ); + connect( mOutlookCompatibleCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); + connect( mOutlookCompatibleCheck, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotOutlookCompatibleClicked() ) ); vlay->addWidget( mOutlookCompatibleCheck ); vlay->addSpacing( 5 ); @@ -3594,8 +3594,8 @@ ComposerPageAttachmentsTab::ComposerPageAttachmentsTab( TQWidget * parent, mMissingAttachmentDetectionCheck = new TQCheckBox( i18n("E&nable detection of missing attachments"), this ); mMissingAttachmentDetectionCheck->setChecked( true ); - connect( mMissingAttachmentDetectionCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mMissingAttachmentDetectionCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); vlay->addWidget( mMissingAttachmentDetectionCheck ); // "Attachment key words" label and string list editor @@ -3611,14 +3611,14 @@ ComposerPageAttachmentsTab::ComposerPageAttachmentsTab( TQWidget * parent, i18n("A&dd..."), i18n("Re&move"), i18n("Mod&ify..."), i18n("Enter new key word:") ); - connect( mAttachWordsListEditor, TQT_SIGNAL( changed( void ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mAttachWordsListEditor, TQ_SIGNAL( changed( void ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); vlay->addWidget( mAttachWordsListEditor ); - connect( mMissingAttachmentDetectionCheck, TQT_SIGNAL(toggled(bool) ), - label, TQT_SLOT(setEnabled(bool)) ); - connect( mMissingAttachmentDetectionCheck, TQT_SIGNAL(toggled(bool) ), - mAttachWordsListEditor, TQT_SLOT(setEnabled(bool)) ); + connect( mMissingAttachmentDetectionCheck, TQ_SIGNAL(toggled(bool) ), + label, TQ_SLOT(setEnabled(bool)) ); + connect( mMissingAttachmentDetectionCheck, TQ_SIGNAL(toggled(bool) ), + mAttachWordsListEditor, TQ_SLOT(setEnabled(bool)) ); } void ComposerPage::AttachmentsTab::doLoadFromGlobalSettings() { @@ -3802,13 +3802,13 @@ SecurityPageGeneralTab::SecurityPageGeneralTab( TQWidget * parent, const char * mHtmlMailCheck = new TQCheckBox( i18n("Prefer H&TML to plain text"), group ); TQWhatsThis::add( mHtmlMailCheck, htmlWhatsThis ); - connect( mHtmlMailCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mHtmlMailCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mExternalReferences = new TQCheckBox( i18n("Allow messages to load e&xternal " "references from the Internet" ), group ); TQWhatsThis::add( mExternalReferences, externalWhatsThis ); - connect( mExternalReferences, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mExternalReferences, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); label = new KActiveLabel( i18n("<b>WARNING:</b> Allowing HTML in email may " "increase the risk that your system will be " "compromised by present and anticipated security " @@ -3824,7 +3824,7 @@ SecurityPageGeneralTab::SecurityPageGeneralTab( TQWidget * parent, const char * group = new TQVGroupBox( i18n("Encrypted Messages"), this ); group->layout()->setSpacing( KDialog::spacingHint() ); mAlwaysDecrypt = new TQCheckBox( i18n( "Attempt decryption of encrypted messages when viewing" ), group ); - connect( mAlwaysDecrypt, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(slotEmitChanged()) ); + connect( mAlwaysDecrypt, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(slotEmitChanged()) ); vlay->addWidget( group ); // "Message Disposition Notification" groupbox: @@ -3835,8 +3835,8 @@ SecurityPageGeneralTab::SecurityPageGeneralTab( TQWidget * parent, const char * // "ignore", "ask", "deny", "always send" radiobutton line: mMDNGroup = new TQButtonGroup( group ); mMDNGroup->hide(); - connect( mMDNGroup, TQT_SIGNAL( clicked( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mMDNGroup, TQ_SIGNAL( clicked( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); hbox = new TQHBox( group ); hbox->setSpacing( KDialog::spacingHint() ); @@ -3863,8 +3863,8 @@ SecurityPageGeneralTab::SecurityPageGeneralTab( TQWidget * parent, const char * // "Original Message quote" radiobutton line: mOrigQuoteGroup = new TQButtonGroup( group ); mOrigQuoteGroup->hide(); - connect( mOrigQuoteGroup, TQT_SIGNAL( clicked( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mOrigQuoteGroup, TQ_SIGNAL( clicked( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); hbox = new TQHBox( group ); hbox->setSpacing( KDialog::spacingHint() ); @@ -3884,7 +3884,7 @@ SecurityPageGeneralTab::SecurityPageGeneralTab( TQWidget * parent, const char * hbox->setStretchFactor( w, 1 ); mNoMDNsWhenEncryptedCheck = new TQCheckBox( i18n("Do not send MDNs in response to encrypted messages"), group ); - connect( mNoMDNsWhenEncryptedCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEmitChanged()) ); + connect( mNoMDNsWhenEncryptedCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEmitChanged()) ); // Warning label: label = new KActiveLabel( i18n("<b>WARNING:</b> Unconditionally returning " @@ -3900,7 +3900,7 @@ SecurityPageGeneralTab::SecurityPageGeneralTab( TQWidget * parent, const char * group->layout()->setSpacing( KDialog::spacingHint() ); mAutomaticallyImportAttachedKeysCheck = new TQCheckBox( i18n("Automatically import keys and certificates"), group ); - connect( mAutomaticallyImportAttachedKeysCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEmitChanged()) ); + connect( mAutomaticallyImportAttachedKeysCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEmitChanged()) ); vlay->addWidget( group ); @@ -4003,13 +4003,13 @@ SecurityPageComposerCryptoTab::SecurityPageComposerCryptoTab( TQWidget * parent, TQVBoxLayout* vlay = new TQVBoxLayout( this, 0, 0 ); mWidget = new ComposerCryptoConfiguration( this ); - connect( mWidget->mAutoSignature, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->mEncToSelf, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->mShowEncryptionResult, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->mShowKeyApprovalDlg, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->mAutoEncrypt, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->mNeverEncryptWhenSavingInDrafts, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->mStoreEncrypted, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotEmitChanged() ) ); + connect( mWidget->mAutoSignature, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->mEncToSelf, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->mShowEncryptionResult, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->mShowKeyApprovalDlg, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->mAutoEncrypt, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->mNeverEncryptWhenSavingInDrafts, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->mStoreEncrypted, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotEmitChanged() ) ); vlay->addWidget( mWidget ); } @@ -4080,20 +4080,20 @@ SecurityPageWarningTab::SecurityPageWarningTab( TQWidget * parent, const char * mWidget = new WarningConfiguration( this ); vlay->addWidget( mWidget ); - connect( mWidget->warnGroupBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEmitChanged()) ); - connect( mWidget->mWarnUnsigned, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEmitChanged()) ); - connect( mWidget->warnUnencryptedCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEmitChanged()) ); - connect( mWidget->warnReceiverNotInCertificateCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEmitChanged()) ); - connect( mWidget->mWarnSignKeyExpiresSB, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->mWarnSignChainCertExpiresSB, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->mWarnSignRootCertExpiresSB, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotEmitChanged() ) ); + connect( mWidget->warnGroupBox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEmitChanged()) ); + connect( mWidget->mWarnUnsigned, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEmitChanged()) ); + connect( mWidget->warnUnencryptedCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEmitChanged()) ); + connect( mWidget->warnReceiverNotInCertificateCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEmitChanged()) ); + connect( mWidget->mWarnSignKeyExpiresSB, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->mWarnSignChainCertExpiresSB, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->mWarnSignRootCertExpiresSB, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( slotEmitChanged() ) ); - connect( mWidget->mWarnEncrKeyExpiresSB, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->mWarnEncrChainCertExpiresSB, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->mWarnEncrRootCertExpiresSB, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotEmitChanged() ) ); + connect( mWidget->mWarnEncrKeyExpiresSB, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->mWarnEncrChainCertExpiresSB, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->mWarnEncrRootCertExpiresSB, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( slotEmitChanged() ) ); - connect( mWidget->enableAllWarningsPB, TQT_SIGNAL(clicked()), - TQT_SLOT(slotReenableAllWarningsClicked()) ); + connect( mWidget->enableAllWarningsPB, TQ_SIGNAL(clicked()), + TQ_SLOT(slotReenableAllWarningsClicked()) ); } void SecurityPage::WarningTab::doLoadOther() { @@ -4206,28 +4206,28 @@ SecurityPageSMimeTab::SecurityPageSMimeTab( TQWidget * parent, const char * name mConfig = Kleo::CryptoBackendFactory::instance()->config(); - connect( mWidget->CRLRB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->OCSPRB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->OCSPResponderURL, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->OCSPResponderSignature, TQT_SIGNAL( changed() ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->doNotCheckCertPolicyCB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->neverConsultCB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->fetchMissingCB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - - connect( mWidget->ignoreServiceURLCB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->ignoreHTTPDPCB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->disableHTTPCB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->honorHTTPProxyRB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->useCustomHTTPProxyRB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->customHTTPProxy, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->ignoreLDAPDPCB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->disableLDAPCB, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEmitChanged() ) ); - connect( mWidget->customLDAPProxy, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( slotEmitChanged() ) ); - - connect( mWidget->disableHTTPCB, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SLOT( slotUpdateHTTPActions() ) ); - connect( mWidget->ignoreHTTPDPCB, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SLOT( slotUpdateHTTPActions() ) ); + connect( mWidget->CRLRB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->OCSPRB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->OCSPResponderURL, TQ_SIGNAL( textChanged( const TQString& ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->OCSPResponderSignature, TQ_SIGNAL( changed() ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->doNotCheckCertPolicyCB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->neverConsultCB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->fetchMissingCB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + + connect( mWidget->ignoreServiceURLCB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->ignoreHTTPDPCB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->disableHTTPCB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->honorHTTPProxyRB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->useCustomHTTPProxyRB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->customHTTPProxy, TQ_SIGNAL( textChanged( const TQString& ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->ignoreLDAPDPCB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->disableLDAPCB, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotEmitChanged() ) ); + connect( mWidget->customLDAPProxy, TQ_SIGNAL( textChanged( const TQString& ) ), this, TQ_SLOT( slotEmitChanged() ) ); + + connect( mWidget->disableHTTPCB, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SLOT( slotUpdateHTTPActions() ) ); + connect( mWidget->ignoreHTTPDPCB, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SLOT( slotUpdateHTTPActions() ) ); // Button-group for exclusive radiobuttons TQButtonGroup* bgHTTPProxy = new TQButtonGroup( mWidget ); @@ -4504,7 +4504,7 @@ SecurityPageCryptPlugTab::SecurityPageCryptPlugTab( TQWidget * parent, const cha TQVBoxLayout * vlay = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); mBackendConfig = Kleo::CryptoBackendFactory::instance()->configWidget( this, "mBackendConfig" ); - connect( mBackendConfig, TQT_SIGNAL( changed( bool ) ), this, TQT_SIGNAL( changed( bool ) ) ); + connect( mBackendConfig, TQ_SIGNAL( changed( bool ) ), this, TQ_SIGNAL( changed( bool ) ) ); vlay->addWidget( mBackendConfig ); } @@ -4563,13 +4563,13 @@ MiscPageFolderTab::MiscPageFolderTab( TQWidget * parent, const char * name ) "trash"), this ); vlay->addWidget( mEmptyFolderConfirmCheck ); - connect( mEmptyFolderConfirmCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mEmptyFolderConfirmCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mExcludeImportantFromExpiry = new TQCheckBox( i18n("E&xclude important messages from expiry"), this ); vlay->addWidget( mExcludeImportantFromExpiry ); - connect( mExcludeImportantFromExpiry, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mExcludeImportantFromExpiry, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "when trying to find unread messages" combo + label: stretch 0 hlay = new TQHBoxLayout( vlay ); // inherits spacing @@ -4587,8 +4587,8 @@ MiscPageFolderTab::MiscPageFolderTab( TQWidget * parent, const char * name ) "Loop in All Folders")); hlay->addWidget( label ); hlay->addWidget( mLoopOnGotoUnread, 1 ); - connect( mLoopOnGotoUnread, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mLoopOnGotoUnread, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // when entering a folder hlay = new TQHBoxLayout( vlay ); // inherits spacing @@ -4611,8 +4611,8 @@ MiscPageFolderTab::MiscPageFolderTab( TQWidget * parent, const char * name ) "Jump to Oldest Message") ); hlay->addWidget( label ); hlay->addWidget( mActionEnterFolder, 1 ); - connect( mActionEnterFolder, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mActionEnterFolder, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); hlay = new TQHBoxLayout( vlay ); // inherits spacing mDelayedMarkAsRead = new TQCheckBox( i18n("Mar&k selected message as read after"), this ); @@ -4623,19 +4623,19 @@ MiscPageFolderTab::MiscPageFolderTab( TQWidget * parent, const char * name ) mDelayedMarkTime->setEnabled( false ); // since mDelayedMarkAsREad is off hlay->addWidget( mDelayedMarkTime ); hlay->addStretch( 1 ); - connect( mDelayedMarkTime, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); - connect( mDelayedMarkAsRead, TQT_SIGNAL(toggled(bool)), - mDelayedMarkTime, TQT_SLOT(setEnabled(bool))); - connect( mDelayedMarkAsRead, TQT_SIGNAL(toggled(bool)), - this , TQT_SLOT(slotEmitChanged( void ))); + connect( mDelayedMarkTime, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); + connect( mDelayedMarkAsRead, TQ_SIGNAL(toggled(bool)), + mDelayedMarkTime, TQ_SLOT(setEnabled(bool))); + connect( mDelayedMarkAsRead, TQ_SIGNAL(toggled(bool)), + this , TQ_SLOT(slotEmitChanged( void ))); // "show popup after Drag'n'Drop" checkbox: stretch 0 mShowPopupAfterDnD = new TQCheckBox( i18n("Ask for action after &dragging messages to another folder"), this ); vlay->addWidget( mShowPopupAfterDnD ); - connect( mShowPopupAfterDnD, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mShowPopupAfterDnD, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "default mailbox format" combo + label: stretch 0 hlay = new TQHBoxLayout( vlay ); // inherits spacing @@ -4668,8 +4668,8 @@ MiscPageFolderTab::MiscPageFolderTab( TQWidget * parent, const char * name ) TQWhatsThis::add( label, msg ); hlay->addWidget( label ); hlay->addWidget( mMailboxPrefCombo, 1 ); - connect( mMailboxPrefCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mMailboxPrefCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "On startup..." option: hlay = new TQHBoxLayout( vlay ); // inherits spacing @@ -4679,23 +4679,23 @@ MiscPageFolderTab::MiscPageFolderTab( TQWidget * parent, const char * name ) i18n("Open this folder on startup:"), this ); hlay->addWidget( label ); hlay->addWidget( mOnStartupOpenFolder, 1 ); - connect( mOnStartupOpenFolder, TQT_SIGNAL( folderChanged( KMFolder* ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mOnStartupOpenFolder, TQ_SIGNAL( folderChanged( KMFolder* ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // "Empty &trash on program exit" option: hlay = new TQHBoxLayout( vlay ); // inherits spacing mEmptyTrashCheck = new TQCheckBox( i18n("Empty local &trash folder on program exit"), this ); hlay->addWidget( mEmptyTrashCheck ); - connect( mEmptyTrashCheck, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mEmptyTrashCheck, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); #ifdef HAVE_INDEXLIB // indexing enabled option: mIndexingEnabled = new TQCheckBox( i18n("Enable full text &indexing"), this ); vlay->addWidget( mIndexingEnabled ); - connect( mIndexingEnabled, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mIndexingEnabled, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); #endif // "Quota Units" @@ -4709,7 +4709,7 @@ MiscPageFolderTab::MiscPageFolderTab( TQWidget * parent, const char * name ) << i18n("GB") ); hlay->addWidget( label ); hlay->addWidget( mQuotaCmbBox, 1 ); - connect( mQuotaCmbBox, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mQuotaCmbBox, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotEmitChanged( void ) ) ); vlay->addStretch( 1 ); @@ -4817,14 +4817,14 @@ MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* parent, const char* name ) "the Kontact applications" ) ); TQWhatsThis::add( mEnableImapResCB, i18n( GlobalSettings::self()->theIMAPResourceEnabledItem()->whatsThis().utf8() ) ); - connect( mEnableImapResCB, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mEnableImapResCB, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mBox = new TQWidget( b1 ); TQGridLayout* grid = new TQGridLayout( mBox, 5, 2, 0, KDialog::spacingHint() ); grid->setColStretch( 1, 1 ); - connect( mEnableImapResCB, TQT_SIGNAL( toggled(bool) ), - mBox, TQT_SLOT( setEnabled(bool) ) ); + connect( mEnableImapResCB, TQ_SIGNAL( toggled(bool) ), + mBox, TQ_SLOT( setEnabled(bool) ) ); TQLabel* storageFormatLA = new TQLabel( i18n("&Format used for the groupware folders:"), mBox ); @@ -4842,8 +4842,8 @@ MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* parent, const char* name ) grid->addWidget( mStorageFormatCombo, 0, 1 ); TQToolTip::add( mStorageFormatCombo, toolTip ); TQWhatsThis::add( mStorageFormatCombo, whatsThis ); - connect( mStorageFormatCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotStorageFormatChanged( int ) ) ); + connect( mStorageFormatCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotStorageFormatChanged( int ) ) ); TQLabel* languageLA = new TQLabel( i18n("&Language of the groupware folders:"), mBox ); @@ -4862,8 +4862,8 @@ MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* parent, const char* name ) grid->addWidget( mLanguageCombo, 1, 1 ); TQToolTip::add( mLanguageCombo, toolTip ); TQWhatsThis::add( mLanguageCombo, whatsThis ); - connect( mLanguageCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mLanguageCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mFolderComboLabel = new TQLabel( mBox ); // text depends on storage format toolTip = i18n( "Set the parent of the resource folders" ); @@ -4882,8 +4882,8 @@ MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* parent, const char* name ) mFolderComboStack->addWidget( mFolderCombo, 0 ); TQToolTip::add( mFolderCombo, toolTip ); TQWhatsThis::add( mFolderCombo, whatsThis ); - connect( mFolderCombo, TQT_SIGNAL( folderChanged( KMFolder* ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mFolderCombo, TQ_SIGNAL( folderChanged( KMFolder* ) ), + this, TQ_SLOT( slotEmitChanged() ) ); // Second possibility in the widgetstack: a combo showing the list of accounts // This is used with the kolab xml storage since the groupware folders @@ -4892,8 +4892,8 @@ MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* parent, const char* name ) mFolderComboStack->addWidget( mAccountCombo, 1 ); TQToolTip::add( mAccountCombo, toolTip ); TQWhatsThis::add( mAccountCombo, whatsThis ); - connect( mAccountCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mAccountCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotEmitChanged() ) ); mHideGroupwareFolders = new TQCheckBox( i18n( "&Hide groupware folders" ), mBox, "HideGroupwareFoldersBox" ); @@ -4903,8 +4903,8 @@ MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* parent, const char* name ) "resource folders in the folder tree." ) ); TQWhatsThis::add( mHideGroupwareFolders, i18n( GlobalSettings::self() ->hideGroupwareFoldersItem()->whatsThis().utf8() ) ); - connect( mHideGroupwareFolders, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mHideGroupwareFolders, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SLOT( slotEmitChanged() ) ); mOnlyShowGroupwareFolders = new TQCheckBox( i18n( "&Only show groupware folders for this account" ), mBox, "OnlyGroupwareFoldersBox" ); @@ -4915,20 +4915,20 @@ MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* parent, const char* name ) "configured for groupware." ) ); TQWhatsThis::add( mOnlyShowGroupwareFolders, i18n( GlobalSettings::self() ->showOnlyGroupwareFoldersForGroupwareAccountItem()->whatsThis().utf8() ) ); - connect( mOnlyShowGroupwareFolders, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SLOT( slotEmitChanged() ) ); + connect( mOnlyShowGroupwareFolders, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SLOT( slotEmitChanged() ) ); mSyncImmediately = new TQCheckBox( i18n( "Synchronize groupware changes immediately" ), mBox ); TQToolTip::add( mSyncImmediately, i18n( "Synchronize groupware changes in disconnected IMAP folders immediately when being online." ) ); - connect( mSyncImmediately, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEmitChanged()) ); + connect( mSyncImmediately, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEmitChanged()) ); grid->addMultiCellWidget( mSyncImmediately, 4, 4, 0, 1 ); mDeleteInvitations = new TQCheckBox( i18n( GlobalSettings::self()->deleteInvitationEmailsAfterSendingReplyItem()->label().utf8() ), mBox ); TQWhatsThis::add( mDeleteInvitations, i18n( GlobalSettings::self() ->deleteInvitationEmailsAfterSendingReplyItem()->whatsThis().utf8() ) ); - connect( mDeleteInvitations, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEmitChanged()) ); + connect( mDeleteInvitations, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEmitChanged()) ); grid->addMultiCellWidget( mDeleteInvitations, 5, 5, 0, 1 ); // Groupware functionality compatibility setup @@ -4939,47 +4939,47 @@ MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* parent, const char* name ) // Currently believed to be disused. mEnableGwCB = new TQCheckBox( i18n("&Enable groupware functionality"), b1 ); gBox->setSpacing( KDialog::spacingHint() ); - connect( mEnableGwCB, TQT_SIGNAL( toggled(bool) ), - gBox, TQT_SLOT( setEnabled(bool) ) ); - connect( mEnableGwCB, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mEnableGwCB, TQ_SIGNAL( toggled(bool) ), + gBox, TQ_SLOT( setEnabled(bool) ) ); + connect( mEnableGwCB, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); #endif mEnableGwCB = 0; mLegacyMangleFromTo = new TQCheckBox( i18n( "Mangle From:/To: headers in replies to invitations" ), gBox ); TQToolTip::add( mLegacyMangleFromTo, i18n( "Turn this option on in order to make Outlook(tm) understand your answers to invitation replies" ) ); TQWhatsThis::add( mLegacyMangleFromTo, i18n( GlobalSettings::self()-> legacyMangleFromToHeadersItem()->whatsThis().utf8() ) ); - connect( mLegacyMangleFromTo, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mLegacyMangleFromTo, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mLegacyBodyInvites = new TQCheckBox( i18n( "Send invitations in the mail body" ), gBox ); TQToolTip::add( mLegacyBodyInvites, i18n( "Turn this option on in order to make Outlook(tm) understand your answers to invitations" ) ); TQWhatsThis::add( mLegacyMangleFromTo, i18n( GlobalSettings::self()-> legacyBodyInvitesItem()->whatsThis().utf8() ) ); - connect( mLegacyBodyInvites, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SLOT( slotLegacyBodyInvitesToggled( bool ) ) ); - connect( mLegacyBodyInvites, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mLegacyBodyInvites, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SLOT( slotLegacyBodyInvitesToggled( bool ) ) ); + connect( mLegacyBodyInvites, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mExchangeCompatibleInvitations = new TQCheckBox( i18n( "Exchange compatible invitation naming" ), gBox ); TQToolTip::add( mExchangeCompatibleInvitations, i18n( "Outlook(tm), when used in combination with a Microsoft Exchange server,\nhas a problem understanding standards-compliant groupware e-mail.\nTurn this option on to send groupware invitations and replies in an Exchange compatible way." ) ); TQWhatsThis::add( mExchangeCompatibleInvitations, i18n( GlobalSettings::self()-> exchangeCompatibleInvitationsItem()->whatsThis().utf8() ) ); - connect( mExchangeCompatibleInvitations, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mExchangeCompatibleInvitations, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mOutlookCompatibleInvitationComments = new TQCheckBox( i18n( "Outlook compatible invitation reply comments" ), gBox ); TQToolTip::add( mOutlookCompatibleInvitationComments, i18n( "Send invitation reply comments in a way that Microsoft Outlook(tm) understands." ) ); TQWhatsThis::add( mOutlookCompatibleInvitationComments, i18n( GlobalSettings::self()-> outlookCompatibleInvitationReplyCommentsItem()->whatsThis().utf8() ) ); - connect( mOutlookCompatibleInvitationComments, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mOutlookCompatibleInvitationComments, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); mAutomaticSending = new TQCheckBox( i18n( "Automatic invitation sending" ), gBox ); TQToolTip::add( mAutomaticSending, i18n( "When this is on, the user will not see the mail composer window. Invitation mails are sent automatically" ) ); TQWhatsThis::add( mAutomaticSending, i18n( GlobalSettings::self()-> automaticSendingItem()->whatsThis().utf8() ) ); - connect( mAutomaticSending, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT( slotEmitChanged( void ) ) ); + connect( mAutomaticSending, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT( slotEmitChanged( void ) ) ); // Open space padding at the end new TQLabel( this ); @@ -5174,8 +5174,8 @@ AccountUpdater::AccountUpdater(ImapAccountBase *account) void AccountUpdater::update() { - connect( mAccount, TQT_SIGNAL( connectionResult(int, const TQString&) ), - this, TQT_SLOT( namespacesFetched() ) ); + connect( mAccount, TQ_SIGNAL( connectionResult(int, const TQString&) ), + this, TQ_SLOT( namespacesFetched() ) ); mAccount->makeConnection(); } |