summaryrefslogtreecommitdiffstats
path: root/korn/password.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/password.cpp')
-rw-r--r--korn/password.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korn/password.cpp b/korn/password.cpp
index 764b90f9..96622139 100644
--- a/korn/password.cpp
+++ b/korn/password.cpp
@@ -30,7 +30,7 @@ KWallet::Wallet* KOrnPassword::m_wallet = 0;
bool KOrnPassword::m_openFailed = false;
bool KOrnPassword::m_useWallet = false; //Not default true until moving works
-TQString KOrnPassword::readKOrnPassword( int box, int account, const KConfigBase &fallbackConfig )
+TQString KOrnPassword::readKOrnPassword( int box, int account, const TDEConfigBase &fallbackConfig )
{
TQString result;
@@ -40,7 +40,7 @@ TQString KOrnPassword::readKOrnPassword( int box, int account, const KConfigBase
return fallbackConfig.readEntry( "password" );
}
-TQString KOrnPassword::readKMailPassword( int accountnr, const KConfigBase& fallbackConfig )
+TQString KOrnPassword::readKMailPassword( int accountnr, const TDEConfigBase& fallbackConfig )
{
TQString password;
open();
@@ -58,7 +58,7 @@ TQString KOrnPassword::readKMailPassword( int accountnr, const KConfigBase& fall
return password;
}
-void KOrnPassword::writeKOrnPassword( int box, int account, KConfigBase& fallbackConfig, const TQString& password )
+void KOrnPassword::writeKOrnPassword( int box, int account, TDEConfigBase& fallbackConfig, const TQString& password )
{
if( writeKOrnPassword( box, account, password ) )
{
@@ -69,7 +69,7 @@ void KOrnPassword::writeKOrnPassword( int box, int account, KConfigBase& fallbac
fallbackConfig.writeEntry( "password", password );
}
-void KOrnPassword::deleteKOrnPassword( int box, int account, KConfigBase& fallbackConfig )
+void KOrnPassword::deleteKOrnPassword( int box, int account, TDEConfigBase& fallbackConfig )
{
deleteKOrnPassword( box, account );
if( fallbackConfig.hasKey( "password" ) )
@@ -103,8 +103,8 @@ bool KOrnPassword::deleteKOrnPassword( int box, int account )
return true;
}
-void KOrnPassword::moveKOrnPassword( int boxSrc, int accountSrc, KConfigBase& configSrc,
- int boxDest, int accountDest, KConfigBase &configDest )
+void KOrnPassword::moveKOrnPassword( int boxSrc, int accountSrc, TDEConfigBase& configSrc,
+ int boxDest, int accountDest, TDEConfigBase &configDest )
{
TQString password;
@@ -113,7 +113,7 @@ void KOrnPassword::moveKOrnPassword( int boxSrc, int accountSrc, KConfigBase& co
writeKOrnPassword( boxDest, accountDest, configDest, password );
}
-void KOrnPassword::swapKOrnPassword( int box1, int account1, KConfigBase &config1, int box2, int account2, KConfigBase &config2 )
+void KOrnPassword::swapKOrnPassword( int box1, int account1, TDEConfigBase &config1, int box2, int account2, TDEConfigBase &config2 )
{
TQString password1, password2;
password1 = readKOrnPassword( box1, account1, config1 );
@@ -149,7 +149,7 @@ void KOrnPassword::swapKOrnWalletPasswords( int box1, int accountnumber1 ,int bo
swapKOrnWalletPassword( box1, xx, box2, xx );
}
-void KOrnPassword::rewritePassword( int box, int account, KConfigBase &config, bool newUseWalletValue )
+void KOrnPassword::rewritePassword( int box, int account, TDEConfigBase &config, bool newUseWalletValue )
{
bool useWallet = m_useWallet;
TQString password;