diff options
Diffstat (limited to 'knode/knserverinfo.cpp')
-rw-r--r-- | knode/knserverinfo.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/knode/knserverinfo.cpp b/knode/knserverinfo.cpp index b79735a2f..d314a7710 100644 --- a/knode/knserverinfo.cpp +++ b/knode/knserverinfo.cpp @@ -25,7 +25,7 @@ using namespace KWallet; #include "knaccountmanager.h" #include "utilities.h" -#include <qwidget.h> +#include <tqwidget.h> KNServerInfo::KNServerInfo() : t_ype(STnntp), i_d(-1), p_ort(119), h_old(300), @@ -77,7 +77,7 @@ void KNServerInfo::readConf(KConfig *conf) if (Wallet::isOpen( Wallet::NetworkWallet() )) readPassword(); - QString encStr = conf->readEntry( "encryption", "None" ); + TQString encStr = conf->readEntry( "encryption", "None" ); if ( encStr.contains( "SSL", false ) ) mEncryption = SSL; else if ( encStr.contains( "TLS", false ) ) @@ -102,7 +102,7 @@ void KNServerInfo::saveConf(KConfig *conf) // open wallet for storing only if the user actually changed the password if (n_eedsLogon && p_assDirty) { Wallet *wallet = KNAccountManager::wallet(); - if (!wallet || wallet->writePassword(QString::number(i_d), p_ass)) { + if (!wallet || wallet->writePassword(TQString::number(i_d), p_ass)) { if ( KMessageBox::warningYesNo( 0, i18n("KWallet is not available. It is strongly recommended to use " "KWallet for managing your passwords.\n" @@ -151,7 +151,7 @@ bool KNServerInfo::operator==(const KNServerInfo &s) } -const QString &KNServerInfo::pass() +const TQString &KNServerInfo::pass() { // if we need to load the password, load all of them if (n_eedsLogon && !mPassLoaded && p_ass.isEmpty() ) @@ -160,7 +160,7 @@ const QString &KNServerInfo::pass() return p_ass; } -void KNServerInfo::setPass(const QString &s) +void KNServerInfo::setPass(const TQString &s) { if (p_ass != s) { p_ass = s; @@ -178,11 +178,11 @@ void KNServerInfo::readPassword() // check wether there is a chance to find our password at all if (Wallet::folderDoesNotExist(Wallet::NetworkWallet(), "knode") || - Wallet::keyDoesNotExist(Wallet::NetworkWallet(), "knode", QString::number(i_d))) + Wallet::keyDoesNotExist(Wallet::NetworkWallet(), "knode", TQString::number(i_d))) return; // finally try to open the wallet and read the password KWallet::Wallet *wallet = KNAccountManager::wallet(); if ( wallet ) - wallet->readPassword( QString::number(i_d), p_ass ); + wallet->readPassword( TQString::number(i_d), p_ass ); } |