summaryrefslogtreecommitdiffstats
path: root/kmail/accountdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/accountdialog.cpp')
-rw-r--r--kmail/accountdialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kmail/accountdialog.cpp b/kmail/accountdialog.cpp
index 93616ac8f..3712346ec 100644
--- a/kmail/accountdialog.cpp
+++ b/kmail/accountdialog.cpp
@@ -258,7 +258,7 @@ ProcmailRCParser::expandVars(const TQString &s)
TQAsciiDictIterator<TQString> it( mVars ); // iterator for dict
while ( it.current() ) {
- expS.replace(TQString::tqfromLatin1("$") + it.currentKey(), *it.current());
+ expS.replace(TQString::fromLatin1("$") + 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( tqtopLevelWidget(),msg,i18n("Configure Account") );
+ KMessageBox::information( topLevelWidget(),msg,i18n("Configure Account") );
return;
}
@@ -361,7 +361,7 @@ void AccountDialog::makeLocalAccountPage()
group->tqlayout()->setSpacing( 0 );
group->tqlayout()->setMargin( 0 );
TQGridLayout *groupLayout = new TQGridLayout( group->tqlayout() );
- groupLayout->tqsetAlignment( TQt::AlignTop );
+ groupLayout->setAlignment( TQt::AlignTop );
groupLayout->setSpacing( 6 );
groupLayout->setMargin( 11 );
@@ -905,7 +905,7 @@ void AccountDialog::makeImapAccountPage( bool connected )
// button to reload
TQToolButton* button = new TQToolButton( box );
button->setAutoRaise(true);
- button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+ button->setSizePolicy( 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->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+ mImap.editPNS->setSizePolicy( 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->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+ mImap.editONS->setSizePolicy( 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->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+ mImap.editSNS->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
mImap.editSNS->setFixedSize( 22, 22 );
connect( mImap.editSNS, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditSharedNamespace()) );
@@ -1451,7 +1451,7 @@ void AccountDialog::slotLeaveOnServerClicked()
slotEnableLeaveOnServerSize( state );
}
if ( !( mCurCapa & UIDL ) && mPop.leaveOnServerCheck->isChecked() ) {
- KMessageBox::information( tqtopLevelWidget(),
+ KMessageBox::information( topLevelWidget(),
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( tqtopLevelWidget(),
+ KMessageBox::information( topLevelWidget(),
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( tqtopLevelWidget(),
+ KMessageBox::information( topLevelWidget(),
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( tqtopLevelWidget(),
+ KMessageBox::information( topLevelWidget(),
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( tqtopLevelWidget(),
+ KMessageBox::information( topLevelWidget(),
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( tqtopLevelWidget(),
+ KMessageBox::information( topLevelWidget(),
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->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+ button->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
button->setFixedSize( 22, 22 );
mLineEditMap[ mBg->insert( button ) ] = edit;
}