diff options
Diffstat (limited to 'kftpgrabber/src/misc')
-rw-r--r-- | kftpgrabber/src/misc/kftpgrabber.kcfg | 2 | ||||
-rw-r--r-- | kftpgrabber/src/misc/kftpwalletconnection.cpp | 14 | ||||
-rw-r--r-- | kftpgrabber/src/misc/kftpwalletconnection.h | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/kftpgrabber/src/misc/kftpgrabber.kcfg b/kftpgrabber/src/misc/kftpgrabber.kcfg index 0a3c0ad..2ec861a 100644 --- a/kftpgrabber/src/misc/kftpgrabber.kcfg +++ b/kftpgrabber/src/misc/kftpgrabber.kcfg @@ -86,7 +86,7 @@ <entry name="showWalletSites" type="Bool"> <default>false</default> - <label>Should the sites from KWallet be shown among the bookmarks.</label> + <label>Should the sites from TDEWallet be shown among the bookmarks.</label> </entry> <entry name="confirmDisconnects" type="Bool"> diff --git a/kftpgrabber/src/misc/kftpwalletconnection.cpp b/kftpgrabber/src/misc/kftpwalletconnection.cpp index ca91a54..83dbe17 100644 --- a/kftpgrabber/src/misc/kftpwalletconnection.cpp +++ b/kftpgrabber/src/misc/kftpwalletconnection.cpp @@ -74,9 +74,9 @@ TQValueList<KURL> KFTPWalletConnection::getSiteList() { TQValueList<KURL> sites; - if (!KWallet::Wallet::folderDoesNotExist(KWallet::Wallet::NetworkWallet(), KWallet::Wallet::PasswordFolder())) { + if (!TDEWallet::Wallet::folderDoesNotExist(TDEWallet::Wallet::NetworkWallet(), TDEWallet::Wallet::PasswordFolder())) { if (!m_wallet) { - m_wallet = KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(), 0, KWallet::Wallet::Synchronous); + m_wallet = TDEWallet::Wallet::openWallet(TDEWallet::Wallet::NetworkWallet(), 0, TDEWallet::Wallet::Synchronous); if (m_wallet) { m_walletRefCount++; @@ -88,7 +88,7 @@ TQValueList<KURL> KFTPWalletConnection::getSiteList() return TQValueList<KURL>(); // Get the site list from our wallet - m_wallet->setFolder(KWallet::Wallet::PasswordFolder()); + m_wallet->setFolder(TDEWallet::Wallet::PasswordFolder()); TQStringList list = m_wallet->entryList(); TQStringList::iterator i; @@ -118,10 +118,10 @@ TQValueList<KURL> KFTPWalletConnection::getSiteList() TQString KFTPWalletConnection::getPassword(const TQString &whatFor) { - if (!KWallet::Wallet::folderDoesNotExist(KWallet::Wallet::NetworkWallet(), TQString::fromLatin1("KFTPGrabber"))) { + if (!TDEWallet::Wallet::folderDoesNotExist(TDEWallet::Wallet::NetworkWallet(), TQString::fromLatin1("KFTPGrabber"))) { // We have our own folder if (!m_wallet) { - m_wallet = KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(), 0, KWallet::Wallet::Synchronous); + m_wallet = TDEWallet::Wallet::openWallet(TDEWallet::Wallet::NetworkWallet(), 0, TDEWallet::Wallet::Synchronous); if (m_wallet) { m_walletRefCount++; @@ -141,9 +141,9 @@ TQString KFTPWalletConnection::getPassword(const TQString &whatFor) void KFTPWalletConnection::setPassword(const TQString &whatFor, const TQString &password) { - if (KWallet::Wallet::isEnabled()) { + if (TDEWallet::Wallet::isEnabled()) { if (!m_wallet) { - m_wallet = KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(), 0, KWallet::Wallet::Synchronous); + m_wallet = TDEWallet::Wallet::openWallet(TDEWallet::Wallet::NetworkWallet(), 0, TDEWallet::Wallet::Synchronous); if (m_wallet) { m_walletRefCount++; diff --git a/kftpgrabber/src/misc/kftpwalletconnection.h b/kftpgrabber/src/misc/kftpwalletconnection.h index 34e5a4f..bd971a4 100644 --- a/kftpgrabber/src/misc/kftpwalletconnection.h +++ b/kftpgrabber/src/misc/kftpwalletconnection.h @@ -40,7 +40,7 @@ #include <ntqobject.h> /** -Enables communication of KFTPGrabber with KDE's wallet system (KWallet) +Enables communication of KFTPGrabber with KDE's wallet system (TDEWallet) @author Jernej Kos */ @@ -59,7 +59,7 @@ public: static KFTPWalletConnection *getInstance(); private: static KFTPWalletConnection *m_instance; - KWallet::Wallet *m_wallet; + TDEWallet::Wallet *m_wallet; uint m_walletRefCount; private slots: void slotWalletClosed(); |