summaryrefslogtreecommitdiffstats
path: root/kmail/accountdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/accountdialog.cpp')
-rw-r--r--kmail/accountdialog.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/kmail/accountdialog.cpp b/kmail/accountdialog.cpp
index 8254bac9a..51c729772 100644
--- a/kmail/accountdialog.cpp
+++ b/kmail/accountdialog.cpp
@@ -156,11 +156,11 @@ ProcmailRCParser::ProcmailRCParser(TQString fname)
default_Location += '/';
default_Location += getenv("USER");
}
- if ( !mSpoolFiles.contains(default_Location) )
+ if ( !mSpoolFiles.tqcontains(default_Location) )
mSpoolFiles << default_Location;
default_Location = default_Location + ".lock";
- if ( !mLockFiles.contains(default_Location) )
+ if ( !mLockFiles.tqcontains(default_Location) )
mLockFiles << default_Location;
}
@@ -173,7 +173,7 @@ void
ProcmailRCParser::processGlobalLock(const TQString &s)
{
TQString val = expandVars(s.mid(s.find('=') + 1).stripWhiteSpace());
- if ( !mLockFiles.contains(val) )
+ if ( !mLockFiles.tqcontains(val) )
mLockFiles << val;
}
@@ -215,7 +215,7 @@ ProcmailRCParser::processLocalLock(const TQString &s)
line.insert(0, *(mVars["MAILDIR"]) + '/');
// now we have the spoolfile name
- if ( !mSpoolFiles.contains(line) )
+ if ( !mSpoolFiles.tqcontains(line) )
mSpoolFiles << line;
if( colonPos > 0 && (!val || val.isEmpty()) ) {
@@ -230,7 +230,7 @@ ProcmailRCParser::processLocalLock(const TQString &s)
val += ".lock";
}
- if ( !val.isNull() && !mLockFiles.contains(val) ) {
+ if ( !val.isNull() && !mLockFiles.tqcontains(val) ) {
mLockFiles << val;
}
}
@@ -258,7 +258,7 @@ ProcmailRCParser::expandVars(const TQString &s)
TQAsciiDictIterator<TQString> it( mVars ); // iterator for dict
while ( it.current() ) {
- expS.replace(TQString::fromLatin1("$") + it.currentKey(), *it.current());
+ expS.tqreplace(TQString::tqfromLatin1("$") + it.currentKey(), *it.current());
++it;
}
@@ -306,7 +306,7 @@ AccountDialog::AccountDialog( const TQString & caption, KMAccount *account,
else
{
TQString msg = i18n( "Account type is not supported." );
- KMessageBox::information( topLevelWidget(),msg,i18n("Configure Account") );
+ KMessageBox::information( tqtopLevelWidget(),msg,i18n("Configure Account") );
return;
}
@@ -358,10 +358,10 @@ void AccountDialog::makeLocalAccountPage()
TQButtonGroup *group = new TQButtonGroup(i18n("Locking Method"), page );
group->setColumnLayout(0, Qt::Horizontal);
- group->layout()->setSpacing( 0 );
- group->layout()->setMargin( 0 );
- TQGridLayout *groupLayout = new TQGridLayout( group->layout() );
- groupLayout->setAlignment( Qt::AlignTop );
+ group->tqlayout()->setSpacing( 0 );
+ group->tqlayout()->setMargin( 0 );
+ TQGridLayout *groupLayout = new TQGridLayout( group->tqlayout() );
+ groupLayout->tqsetAlignment( Qt::AlignTop );
groupLayout->setSpacing( 6 );
groupLayout->setMargin( 11 );
@@ -806,7 +806,7 @@ void AccountDialog::makePopAccountPage()
mPop.authDigestMd5 = new TQRadioButton( i18n("&DIGEST-MD5"), mPop.authGroup, "auth digest-md5" );
mPop.authNTLM = new TQRadioButton( i18n("&NTLM"), mPop.authGroup, "auth ntlm" );
mPop.authGSSAPI = new TQRadioButton( i18n("&GSSAPI"), mPop.authGroup, "auth gssapi" );
- if ( KProtocolInfo::capabilities("pop3").contains("SASL") == 0 )
+ if ( KProtocolInfo::capabilities("pop3").tqcontains("SASL") == 0 )
{
mPop.authNTLM->hide();
mPop.authGSSAPI->hide();
@@ -905,7 +905,7 @@ void AccountDialog::makeImapAccountPage( bool connected )
// button to reload
TQToolButton* button = new TQToolButton( box );
button->setAutoRaise(true);
- button->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+ button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
button->setFixedSize( 22, 22 );
button->setIconSet(
KGlobal::iconLoader()->loadIconSet( "reload", KIcon::Small, 0 ) );
@@ -924,7 +924,7 @@ void AccountDialog::makeImapAccountPage( bool connected )
mImap.editPNS->setIconSet(
KGlobal::iconLoader()->loadIconSet( "edit", KIcon::Small, 0 ) );
mImap.editPNS->setAutoRaise( true );
- mImap.editPNS->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+ mImap.editPNS->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
mImap.editPNS->setFixedSize( 22, 22 );
connect( mImap.editPNS, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditPersonalNamespace()) );
@@ -936,7 +936,7 @@ void AccountDialog::makeImapAccountPage( bool connected )
mImap.editONS->setIconSet(
KGlobal::iconLoader()->loadIconSet( "edit", KIcon::Small, 0 ) );
mImap.editONS->setAutoRaise( true );
- mImap.editONS->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+ mImap.editONS->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
mImap.editONS->setFixedSize( 22, 22 );
connect( mImap.editONS, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditOtherUsersNamespace()) );
@@ -948,7 +948,7 @@ void AccountDialog::makeImapAccountPage( bool connected )
mImap.editSNS->setIconSet(
KGlobal::iconLoader()->loadIconSet( "edit", KIcon::Small, 0 ) );
mImap.editSNS->setAutoRaise( true );
- mImap.editSNS->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+ mImap.editSNS->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
mImap.editSNS->setFixedSize( 22, 22 );
connect( mImap.editSNS, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditSharedNamespace()) );
@@ -1127,7 +1127,7 @@ void AccountDialog::makeImapAccountPage( bool connected )
// TODO (marc/bo): Test this
mSieveConfigEditor = new SieveConfigEditor( tabWidget );
- mSieveConfigEditor->layout()->setMargin( KDialog::marginHint() );
+ mSieveConfigEditor->tqlayout()->setMargin( KDialog::marginHint() );
tabWidget->addTab( mSieveConfigEditor, i18n("&Filtering") );
connect(kapp,TQT_SIGNAL(kdisplayFontChanged()),TQT_SLOT(slotFontChanged()));
@@ -1451,7 +1451,7 @@ void AccountDialog::slotLeaveOnServerClicked()
slotEnableLeaveOnServerSize( state );
}
if ( !( mCurCapa & UIDL ) && mPop.leaveOnServerCheck->isChecked() ) {
- KMessageBox::information( topLevelWidget(),
+ KMessageBox::information( tqtopLevelWidget(),
i18n("The server does not seem to support unique "
"message numbers, but this is a "
"requirement for leaving messages on the "
@@ -1466,7 +1466,7 @@ void AccountDialog::slotLeaveOnServerClicked()
void AccountDialog::slotFilterOnServerClicked()
{
if ( !( mCurCapa & TOP ) && mPop.filterOnServerCheck->isChecked() ) {
- KMessageBox::information( topLevelWidget(),
+ KMessageBox::information( tqtopLevelWidget(),
i18n("The server does not seem to support "
"fetching message headers, but this is a "
"requirement for filtering messages on the "
@@ -1481,7 +1481,7 @@ void AccountDialog::slotFilterOnServerClicked()
void AccountDialog::slotPipeliningClicked()
{
if (mPop.usePipeliningCheck->isChecked())
- KMessageBox::information( topLevelWidget(),
+ KMessageBox::information( tqtopLevelWidget(),
i18n("Please note that this feature can cause some POP3 servers "
"that do not support pipelining to send corrupted mail;\n"
"this is configurable, though, because some servers support pipelining "
@@ -1636,7 +1636,7 @@ void AccountDialog::enablePopFeatures( unsigned int capa )
mPop.authAPOP->setEnabled( capa & APOP );
if ( !( capa & Pipelining ) && mPop.usePipeliningCheck->isChecked() ) {
mPop.usePipeliningCheck->setChecked( false );
- KMessageBox::information( topLevelWidget(),
+ KMessageBox::information( tqtopLevelWidget(),
i18n("The server does not seem to support "
"pipelining; therefore, this option has "
"been disabled.\n"
@@ -1655,7 +1655,7 @@ void AccountDialog::enablePopFeatures( unsigned int capa )
}
if ( !( capa & UIDL ) && mPop.leaveOnServerCheck->isChecked() ) {
mPop.leaveOnServerCheck->setChecked( false );
- KMessageBox::information( topLevelWidget(),
+ KMessageBox::information( tqtopLevelWidget(),
i18n("The server does not seem to support unique "
"message numbers, but this is a "
"requirement for leaving messages on the "
@@ -1668,7 +1668,7 @@ void AccountDialog::enablePopFeatures( unsigned int capa )
}
if ( !( capa & TOP ) && mPop.filterOnServerCheck->isChecked() ) {
mPop.filterOnServerCheck->setChecked( false );
- KMessageBox::information( topLevelWidget(),
+ KMessageBox::information( tqtopLevelWidget(),
i18n("The server does not seem to support "
"fetching message headers, but this is a "
"requirement for filtering messages on the "
@@ -2307,7 +2307,7 @@ NamespaceEditDialog::NamespaceEditDialog( TQWidget *parent,
button->setIconSet(
KGlobal::iconLoader()->loadIconSet( "editdelete", KIcon::Small, 0 ) );
button->setAutoRaise( true );
- button->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+ button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
button->setFixedSize( 22, 22 );
mLineEditMap[ mBg->insert( button ) ] = edit;
}
@@ -2315,7 +2315,7 @@ NamespaceEditDialog::NamespaceEditDialog( TQWidget *parent,
void NamespaceEditDialog::slotRemoveEntry( int id )
{
- if ( mLineEditMap.contains( id ) ) {
+ if ( mLineEditMap.tqcontains( id ) ) {
// delete the lineedit and remove namespace from map
NamespaceLineEdit* edit = mLineEditMap[id];
mDelimMap.remove( edit->text() );
@@ -2343,7 +2343,7 @@ void NamespaceEditDialog::slotOk()
mDelimMap.remove( edit->lastText() );
}
}
- mNamespaceMap->replace( mType, mDelimMap );
+ mNamespaceMap->tqreplace( mType, mDelimMap );
KDialogBase::slotOk();
}