diff options
Diffstat (limited to 'knode/knaccountmanager.cpp')
-rw-r--r-- | knode/knaccountmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/knode/knaccountmanager.cpp b/knode/knaccountmanager.cpp index 627ff4cdd..2dc8c931a 100644 --- a/knode/knaccountmanager.cpp +++ b/knode/knaccountmanager.cpp @@ -127,12 +127,12 @@ bool KNAccountManager::newAccount(KNNntpAccount *a) TQStringList entries(d.entryList("nntp.*", TQDir::Dirs)); int id = 1; - while (entries.findIndex(TQString("nntp.%1").tqarg(id))!=-1) + while (entries.findIndex(TQString("nntp.%1").arg(id))!=-1) ++id; a->setId(id); - dir = locateLocal("data",TQString("knode/nntp.%1/").tqarg(a->id())); + dir = locateLocal("data",TQString("knode/nntp.%1/").arg(a->id())); if (!dir.isNull()) { mAccounts.append(a); emit(accountAdded(a)); @@ -177,7 +177,7 @@ bool KNAccountManager::removeAccount(KNNntpAccount *a) } } dir.cdUp(); // directory should now be empty, deleting it - dir.rmdir(TQString("nntp.%1/").tqarg(a->id())); + dir.rmdir(TQString("nntp.%1/").arg(a->id())); } if(c_urrentAccount==a) setCurrentAccount(0); @@ -223,7 +223,7 @@ void KNAccountManager::loadPasswordsAsync() if ( !mWallet && !mWalletOpenFailed ) { if ( knGlobals.top ) mWallet = Wallet::openWallet( Wallet::NetworkWallet(), - knGlobals.topWidget->tqtopLevelWidget()->winId(), + knGlobals.topWidget->topLevelWidget()->winId(), Wallet::Asynchronous ); else mWallet = Wallet::openWallet( Wallet::NetworkWallet(), 0, Wallet::Asynchronous ); @@ -263,7 +263,7 @@ KWallet::Wallet* KNAccountManager::wallet() delete mWallet; if ( knGlobals.top ) mWallet = Wallet::openWallet( Wallet::NetworkWallet(), - knGlobals.topWidget->tqtopLevelWidget()->winId() ); + knGlobals.topWidget->topLevelWidget()->winId() ); else mWallet = Wallet::openWallet( Wallet::NetworkWallet() ); |