summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolderdia.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:33:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:43:48 +0900
commit3b3f9ec8f31978030c17309fae48335bea5c1587 (patch)
tree0b493383a1501860371aacd792ec6fc08d595824 /kmail/kmfolderdia.cpp
parent99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff)
downloadtdepim-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 'kmail/kmfolderdia.cpp')
-rw-r--r--kmail/kmfolderdia.cpp56
1 files changed, 28 insertions, 28 deletions
diff --git a/kmail/kmfolderdia.cpp b/kmail/kmfolderdia.cpp
index d34c731ba..0ddcc5a56 100644
--- a/kmail/kmfolderdia.cpp
+++ b/kmail/kmfolderdia.cpp
@@ -149,12 +149,12 @@ KMFolderDialog::KMFolderDialog(KMFolder *aFolder, KMFolderDir *aFolderDir,
void KMFolderDialog::addTab( FolderDiaTab* tab )
{
- connect( tab, TQT_SIGNAL( readyForAccept() ),
- this, TQT_SLOT( slotReadyForAccept() ) );
- connect( tab, TQT_SIGNAL( cancelAccept() ),
- this, TQT_SLOT( slotCancelAccept() ) );
- //connect( tab, TQT_SIGNAL(changed( bool )),
- // this, TQT_SLOT(slotChanged( bool )) );
+ connect( tab, TQ_SIGNAL( readyForAccept() ),
+ this, TQ_SLOT( slotReadyForAccept() ) );
+ connect( tab, TQ_SIGNAL( cancelAccept() ),
+ this, TQ_SLOT( slotCancelAccept() ) );
+ //connect( tab, TQ_SIGNAL(changed( bool )),
+ // this, TQ_SLOT(slotChanged( bool )) );
mTabs.append( tab );
}
@@ -343,8 +343,8 @@ KMail::FolderDiaGeneralTab::FolderDiaGeneralTab( KMFolderDialog* dlg,
}
label->setBuddy( mNameEdit );
hl->addWidget( mNameEdit );
- connect( mNameEdit, TQT_SIGNAL( textChanged( const TQString & ) ),
- this, TQT_SLOT( slotFolderNameChanged( const TQString & ) ) );
+ connect( mNameEdit, TQ_SIGNAL( textChanged( const TQString & ) ),
+ this, TQ_SLOT( slotFolderNameChanged( const TQString & ) ) );
//start icons group
@@ -388,17 +388,17 @@ KMail::FolderDiaGeneralTab::FolderDiaGeneralTab( KMFolderDialog* dlg,
ihl->addWidget( mUnreadIconButton );
ihl->addStretch( 1 );
- connect( mIconsCheckBox, TQT_SIGNAL(toggled(bool)),
- mNormalIconButton, TQT_SLOT(setEnabled(bool)) );
- connect( mIconsCheckBox, TQT_SIGNAL(toggled(bool)),
- mUnreadIconButton, TQT_SLOT(setEnabled(bool)) );
- connect( mIconsCheckBox, TQT_SIGNAL(toggled(bool)),
- mNormalIconLabel, TQT_SLOT(setEnabled(bool)) );
- connect( mIconsCheckBox, TQT_SIGNAL(toggled(bool)),
- mUnreadIconLabel, TQT_SLOT(setEnabled(bool)) );
+ connect( mIconsCheckBox, TQ_SIGNAL(toggled(bool)),
+ mNormalIconButton, TQ_SLOT(setEnabled(bool)) );
+ connect( mIconsCheckBox, TQ_SIGNAL(toggled(bool)),
+ mUnreadIconButton, TQ_SLOT(setEnabled(bool)) );
+ connect( mIconsCheckBox, TQ_SIGNAL(toggled(bool)),
+ mNormalIconLabel, TQ_SLOT(setEnabled(bool)) );
+ connect( mIconsCheckBox, TQ_SIGNAL(toggled(bool)),
+ mUnreadIconLabel, TQ_SLOT(setEnabled(bool)) );
- connect( mNormalIconButton, TQT_SIGNAL(iconChanged(TQString)),
- this, TQT_SLOT(slotChangeIcon(TQString)) );
+ connect( mNormalIconButton, TQ_SIGNAL(iconChanged(TQString)),
+ this, TQ_SLOT(slotChangeIcon(TQString)) );
//end icons group
addLine( this, topLayout);
@@ -510,8 +510,8 @@ KMail::FolderDiaGeneralTab::FolderDiaGeneralTab( KMFolderDialog* dlg,
mContentsComboBox->insertItem( i18n( "Journal" ) );
if ( mDlg->folder() )
mContentsComboBox->setCurrentItem( mDlg->folder()->storage()->contentsType() );
- connect ( mContentsComboBox, TQT_SIGNAL ( activated( int ) ),
- this, TQT_SLOT( slotFolderContentsSelectionChanged( int ) ) );
+ connect ( mContentsComboBox, TQ_SIGNAL ( activated( int ) ),
+ this, TQ_SLOT( slotFolderContentsSelectionChanged( int ) ) );
if ( mDlg->folder()->isReadOnly() || mIsResourceFolder )
mContentsComboBox->setEnabled( false );
} else {
@@ -816,18 +816,18 @@ KMail::FolderDiaTemplatesTab::FolderDiaTemplatesTab( KMFolderDialog* dlg,
mCopyGlobal->setEnabled( false );
btns->addWidget( mCopyGlobal );
- connect( mCustom, TQT_SIGNAL(toggled(bool)),
- mWidget, TQT_SLOT(setEnabled(bool)) );
- connect( mCustom, TQT_SIGNAL(toggled(bool)),
- mCopyGlobal, TQT_SLOT(setEnabled(bool)) );
+ connect( mCustom, TQ_SIGNAL(toggled(bool)),
+ mWidget, TQ_SLOT(setEnabled(bool)) );
+ connect( mCustom, TQ_SIGNAL(toggled(bool)),
+ mCopyGlobal, TQ_SLOT(setEnabled(bool)) );
- connect( mCopyGlobal, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotCopyGlobal()) );
+ connect( mCopyGlobal, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotCopyGlobal()) );
initializeWithValuesFromFolder( mDlg->folder() );
- connect( mWidget, TQT_SIGNAL( changed() ),
- this, TQT_SLOT( slotEmitChanged( void ) ) );
+ connect( mWidget, TQ_SIGNAL( changed() ),
+ this, TQ_SLOT( slotEmitChanged( void ) ) );
}
void FolderDiaTemplatesTab::load()