summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--mimetypes/application/x-kde-wallet.desktop2
-rw-r--r--tdehtml/html/html_formimpl.cpp20
-rw-r--r--tdehtml/html/html_formimpl.h4
-rw-r--r--tdehtml/tdehtml_part.cpp20
-rw-r--r--tdehtml/tdehtml_part.h6
-rw-r--r--tdehtml/tdehtmlpart_p.h12
-rw-r--r--tdeio/kpasswdserver/kpasswdserver.cpp24
-rw-r--r--tdeio/kpasswdserver/kpasswdserver.h4
-rw-r--r--tdeio/kssl/ksslkeygen.cc4
-rw-r--r--tdeio/magic2
-rw-r--r--tdeio/misc/tdewalletd/tdewalletd.cpp336
-rw-r--r--tdeio/misc/tdewalletd/tdewalletd.desktop224
-rw-r--r--tdeio/misc/tdewalletd/tdewalletd.h16
-rw-r--r--tdeio/misc/tdewalletd/tdewalletwizard.ui20
-rw-r--r--tdeio/misc/tdewalletd/tdewalletwizard.ui.h10
-rw-r--r--tdeio/tdeio/tdeprotocolmanager.h2
-rw-r--r--tdewallet/README4
-rw-r--r--tdewallet/backend/tdewalletbackend.cc18
-rw-r--r--tdewallet/backend/tdewalletbackend.h2
-rw-r--r--tdewallet/backend/tdewalletentry.cc2
-rw-r--r--tdewallet/backend/tdewalletentry.h2
-rw-r--r--tdewallet/backend/tests/backendtest.cpp4
-rw-r--r--tdewallet/client/tdewallet.cc2
-rw-r--r--tdewallet/client/tdewallet.h8
-rw-r--r--tdewallet/tests/tdewalletasync.cpp2
-rw-r--r--tdewallet/tests/tdewalletboth.cpp4
-rw-r--r--tdewallet/tests/tdewalletsync.cpp2
-rw-r--r--tdewallet/tests/tdewallettest.h2
29 files changed, 380 insertions, 380 deletions
diff --git a/TODO b/TODO
index fe2c608a0..94b6e27e1 100644
--- a/TODO
+++ b/TODO
@@ -178,7 +178,7 @@ that we would like to make for the next binary incompatible release.
- Rename KDirNotify_stub and update API (no need for '*' arguments anymore)
-- KWallet::Wallet::* functions - remove the default = 0 argument for mainwindow for the dialog
+- TDEWallet::Wallet::* functions - remove the default = 0 argument for mainwindow for the dialog
- Make libtdewalletclient part of libtdeio and get rid of libtdewalletclient.
diff --git a/mimetypes/application/x-kde-wallet.desktop b/mimetypes/application/x-kde-wallet.desktop
index 2f3c9aa10..499cc0951 100644
--- a/mimetypes/application/x-kde-wallet.desktop
+++ b/mimetypes/application/x-kde-wallet.desktop
@@ -48,7 +48,7 @@ Comment[ms]=Fail TDE Wallet
Comment[nb]=TDE lommebokfil
Comment[nds]="TDE Wallet"-Datei
Comment[ne]=TDE वालेट फाइल
-Comment[nl]=KWallet-portefeuillebestand
+Comment[nl]=TDEWallet-portefeuillebestand
Comment[nn]=TDE Wallet-fil
Comment[pa]=TDE ਵਾਲਿਟ ਫਾਇਲ
Comment[pl]=Plik Portfela TDE
diff --git a/tdehtml/html/html_formimpl.cpp b/tdehtml/html/html_formimpl.cpp
index 6fae233dd..5dc44ad04 100644
--- a/tdehtml/html/html_formimpl.cpp
+++ b/tdehtml/html/html_formimpl.cpp
@@ -428,8 +428,8 @@ void HTMLFormElementImpl::doAutoFill()
#ifndef TDEHTML_NO_WALLET
const TQString key = calculateAutoFillKey(*this);
- if (KWallet::Wallet::keyDoesNotExist(KWallet::Wallet::NetworkWallet(),
- KWallet::Wallet::FormDataFolder(),
+ if (TDEWallet::Wallet::keyDoesNotExist(TDEWallet::Wallet::NetworkWallet(),
+ TDEWallet::Wallet::FormDataFolder(),
key))
return;
@@ -439,14 +439,14 @@ void HTMLFormElementImpl::doAutoFill()
}
-void HTMLFormElementImpl::walletOpened(KWallet::Wallet *w) {
+void HTMLFormElementImpl::walletOpened(TDEWallet::Wallet *w) {
#ifndef TDEHTML_NO_WALLET
assert(w);
const TQString key = calculateAutoFillKey(*this);
- if (!w->hasFolder(KWallet::Wallet::FormDataFolder())) {
+ if (!w->hasFolder(TDEWallet::Wallet::FormDataFolder())) {
return; // failed
}
- w->setFolder(KWallet::Wallet::FormDataFolder());
+ w->setFolder(TDEWallet::Wallet::FormDataFolder());
TQMap<TQString, TQString> map;
if (w->readMap(key, map))
return; // failed, abort
@@ -578,17 +578,17 @@ void HTMLFormElementImpl::submit( )
gatherWalletData();
}
#ifndef TDEHTML_NO_WALLET
- if (m_havePassword && !m_haveTextarea && KWallet::Wallet::isEnabled()) {
+ if (m_havePassword && !m_haveTextarea && TDEWallet::Wallet::isEnabled()) {
const TQString key = calculateAutoFillKey(*this);
- const bool doesnotexist = KWallet::Wallet::keyDoesNotExist(KWallet::Wallet::NetworkWallet(), KWallet::Wallet::FormDataFolder(), key);
- KWallet::Wallet* const w = view->part()->wallet();
+ const bool doesnotexist = TDEWallet::Wallet::keyDoesNotExist(TDEWallet::Wallet::NetworkWallet(), TDEWallet::Wallet::FormDataFolder(), key);
+ TDEWallet::Wallet* const w = view->part()->wallet();
bool login_changed = false;
if (!doesnotexist && w) {
// check if the login information changed from what
// we had so far.
- if (w->hasFolder(KWallet::Wallet::FormDataFolder())) {
- w->setFolder(KWallet::Wallet::FormDataFolder());
+ if (w->hasFolder(TDEWallet::Wallet::FormDataFolder())) {
+ w->setFolder(TDEWallet::Wallet::FormDataFolder());
TQMap<TQString, TQString> map;
if (!w->readMap(key, map)) {
TQMapConstIterator<TQString, TQString> it = map.begin();
diff --git a/tdehtml/html/html_formimpl.h b/tdehtml/html/html_formimpl.h
index 8fe0ef1dd..0888db146 100644
--- a/tdehtml/html/html_formimpl.h
+++ b/tdehtml/html/html_formimpl.h
@@ -49,7 +49,7 @@ namespace tdehtml
typedef TQValueList<TQCString> encodingList;
}
-namespace KWallet {
+namespace TDEWallet {
class Wallet;
}
@@ -85,7 +85,7 @@ public:
bool autoComplete() const { return m_autocomplete; }
void doAutoFill();
- void walletOpened(KWallet::Wallet *w);
+ void walletOpened(TDEWallet::Wallet *w);
virtual void parseAttribute(AttributeImpl *attr);
diff --git a/tdehtml/tdehtml_part.cpp b/tdehtml/tdehtml_part.cpp
index b0a075e99..dd0238aad 100644
--- a/tdehtml/tdehtml_part.cpp
+++ b/tdehtml/tdehtml_part.cpp
@@ -7163,11 +7163,11 @@ void TDEHTMLPart::openWallet(DOM::HTMLFormElementImpl *form)
}
if (!d->m_wq) {
- KWallet::Wallet *wallet = KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(), widget() ? widget()->topLevelWidget()->winId() : 0, KWallet::Wallet::Asynchronous);
+ TDEWallet::Wallet *wallet = TDEWallet::Wallet::openWallet(TDEWallet::Wallet::NetworkWallet(), widget() ? widget()->topLevelWidget()->winId() : 0, TDEWallet::Wallet::Asynchronous);
d->m_wq = new TDEHTMLWalletQueue(this);
d->m_wq->wallet = wallet;
connect(wallet, TQT_SIGNAL(walletOpened(bool)), d->m_wq, TQT_SLOT(walletOpened(bool)));
- connect(d->m_wq, TQT_SIGNAL(walletOpened(KWallet::Wallet*)), this, TQT_SLOT(walletOpened(KWallet::Wallet*)));
+ connect(d->m_wq, TQT_SIGNAL(walletOpened(TDEWallet::Wallet*)), this, TQT_SLOT(walletOpened(TDEWallet::Wallet*)));
}
assert(form);
d->m_wq->callers.append(TDEHTMLWalletQueue::Caller(form, form->getDocument()));
@@ -7191,10 +7191,10 @@ void TDEHTMLPart::saveToWallet(const TQString& key, const TQMap<TQString,TQStrin
if (d->m_wallet) {
if (d->m_bWalletOpened) {
if (d->m_wallet->isOpen()) {
- if (!d->m_wallet->hasFolder(KWallet::Wallet::FormDataFolder())) {
- d->m_wallet->createFolder(KWallet::Wallet::FormDataFolder());
+ if (!d->m_wallet->hasFolder(TDEWallet::Wallet::FormDataFolder())) {
+ d->m_wallet->createFolder(TDEWallet::Wallet::FormDataFolder());
}
- d->m_wallet->setFolder(KWallet::Wallet::FormDataFolder());
+ d->m_wallet->setFolder(TDEWallet::Wallet::FormDataFolder());
d->m_wallet->writeMap(key, data);
return;
}
@@ -7205,11 +7205,11 @@ void TDEHTMLPart::saveToWallet(const TQString& key, const TQMap<TQString,TQStrin
}
if (!d->m_wq) {
- KWallet::Wallet *wallet = KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(), widget() ? widget()->topLevelWidget()->winId() : 0, KWallet::Wallet::Asynchronous);
+ TDEWallet::Wallet *wallet = TDEWallet::Wallet::openWallet(TDEWallet::Wallet::NetworkWallet(), widget() ? widget()->topLevelWidget()->winId() : 0, TDEWallet::Wallet::Asynchronous);
d->m_wq = new TDEHTMLWalletQueue(this);
d->m_wq->wallet = wallet;
connect(wallet, TQT_SIGNAL(walletOpened(bool)), d->m_wq, TQT_SLOT(walletOpened(bool)));
- connect(d->m_wq, TQT_SIGNAL(walletOpened(KWallet::Wallet*)), this, TQT_SLOT(walletOpened(KWallet::Wallet*)));
+ connect(d->m_wq, TQT_SIGNAL(walletOpened(TDEWallet::Wallet*)), this, TQT_SLOT(walletOpened(TDEWallet::Wallet*)));
}
d->m_wq->savers.append(qMakePair(key, data));
#endif // TDEHTML_NO_WALLET
@@ -7235,7 +7235,7 @@ void TDEHTMLPart::dequeueWallet(DOM::HTMLFormElementImpl *form) {
}
-void TDEHTMLPart::walletOpened(KWallet::Wallet *wallet) {
+void TDEHTMLPart::walletOpened(TDEWallet::Wallet *wallet) {
#ifndef TDEHTML_NO_WALLET
assert(!d->m_wallet);
assert(d->m_wq);
@@ -7264,12 +7264,12 @@ void TDEHTMLPart::walletOpened(KWallet::Wallet *wallet) {
} else {
TQToolTip::remove(d->m_statusBarWalletLabel);
}
- TQToolTip::add(d->m_statusBarWalletLabel, i18n("The wallet '%1' is open and being used for form data and passwords.").arg(KWallet::Wallet::NetworkWallet()));
+ TQToolTip::add(d->m_statusBarWalletLabel, i18n("The wallet '%1' is open and being used for form data and passwords.").arg(TDEWallet::Wallet::NetworkWallet()));
#endif // TDEHTML_NO_WALLET
}
-KWallet::Wallet *TDEHTMLPart::wallet()
+TDEWallet::Wallet *TDEHTMLPart::wallet()
{
#ifndef TDEHTML_NO_WALLET
TDEHTMLPart *p;
diff --git a/tdehtml/tdehtml_part.h b/tdehtml/tdehtml_part.h
index 452083708..38a54e18a 100644
--- a/tdehtml/tdehtml_part.h
+++ b/tdehtml/tdehtml_part.h
@@ -106,7 +106,7 @@ namespace KParts
class LiveConnectExtension;
}
-namespace KWallet
+namespace TDEWallet
{
class Wallet;
}
@@ -1540,7 +1540,7 @@ private slots:
*/
void restoreScrollPosition();
- void walletOpened(KWallet::Wallet*);
+ void walletOpened(TDEWallet::Wallet*);
private:
@@ -1564,7 +1564,7 @@ private:
bool processObjectRequest( tdehtml::ChildFrame *child, const KURL &url, const TQString &mimetype );
- KWallet::Wallet* wallet();
+ TDEWallet::Wallet* wallet();
void openWallet(DOM::HTMLFormElementImpl*);
void saveToWallet(const TQString& key, const TQMap<TQString,TQString>& data);
diff --git a/tdehtml/tdehtmlpart_p.h b/tdehtml/tdehtmlpart_p.h
index de99c9400..90be612b2 100644
--- a/tdehtml/tdehtmlpart_p.h
+++ b/tdehtml/tdehtmlpart_p.h
@@ -144,7 +144,7 @@ class TDEHTMLWalletQueue : public TQObject
#endif // TDEHTML_NO_WALLET
}
#ifndef TDEHTML_NO_WALLET
- KWallet::Wallet *wallet;
+ TDEWallet::Wallet *wallet;
#endif // TDEHTML_NO_WALLET
typedef QPair<DOM::HTMLFormElementImpl*, TQGuardedPtr<DOM::DocumentImpl> > Caller;
typedef TQValueList<Caller> CallerList;
@@ -152,7 +152,7 @@ class TDEHTMLWalletQueue : public TQObject
TQValueList<QPair<TQString, TQMap<TQString, TQString> > > savers;
signals:
- void walletOpened(KWallet::Wallet*);
+ void walletOpened(TDEWallet::Wallet*);
public slots:
void walletOpened(bool success) {
@@ -163,15 +163,15 @@ class TDEHTMLWalletQueue : public TQObject
}
emit walletOpened(wallet);
if (wallet) {
- if (!wallet->hasFolder(KWallet::Wallet::FormDataFolder())) {
- wallet->createFolder(KWallet::Wallet::FormDataFolder());
+ if (!wallet->hasFolder(TDEWallet::Wallet::FormDataFolder())) {
+ wallet->createFolder(TDEWallet::Wallet::FormDataFolder());
}
for (CallerList::Iterator i = callers.begin(); i != callers.end(); ++i) {
if ((*i).first && (*i).second) {
(*i).first->walletOpened(wallet);
}
}
- wallet->setFolder(KWallet::Wallet::FormDataFolder());
+ wallet->setFolder(TDEWallet::Wallet::FormDataFolder());
for (TQValueList<QPair<TQString, TQMap<TQString, TQString> > >::Iterator i = savers.begin(); i != savers.end(); ++i) {
wallet->writeMap((*i).first, (*i).second);
}
@@ -326,7 +326,7 @@ public:
TQString scheduledScript;
DOM::Node scheduledScriptNode;
- KWallet::Wallet* m_wallet;
+ TDEWallet::Wallet* m_wallet;
int m_runningScripts;
bool m_bOpenMiddleClick :1;
bool m_bBackRightClick :1;
diff --git a/tdeio/kpasswdserver/kpasswdserver.cpp b/tdeio/kpasswdserver/kpasswdserver.cpp
index cf4e0530c..075843259 100644
--- a/tdeio/kpasswdserver/kpasswdserver.cpp
+++ b/tdeio/kpasswdserver/kpasswdserver.cpp
@@ -100,12 +100,12 @@ static TQString makeMapKey( const char* key, int entryNumber )
return str;
}
-static bool storeInWallet( KWallet::Wallet* wallet, const TQString& key, const TDEIO::AuthInfo &info )
+static bool storeInWallet( TDEWallet::Wallet* wallet, const TQString& key, const TDEIO::AuthInfo &info )
{
- if ( !wallet->hasFolder( KWallet::Wallet::PasswordFolder() ) )
- if ( !wallet->createFolder( KWallet::Wallet::PasswordFolder() ) )
+ if ( !wallet->hasFolder( TDEWallet::Wallet::PasswordFolder() ) )
+ if ( !wallet->createFolder( TDEWallet::Wallet::PasswordFolder() ) )
return false;
- wallet->setFolder( KWallet::Wallet::PasswordFolder() );
+ wallet->setFolder( TDEWallet::Wallet::PasswordFolder() );
// Before saving, check if there's already an entry with this login.
// If so, replace it (with the new password). Otherwise, add a new entry.
typedef TQMap<TQString,TQString> Map;
@@ -135,12 +135,12 @@ static bool storeInWallet( KWallet::Wallet* wallet, const TQString& key, const T
}
-static bool readFromWallet( KWallet::Wallet* wallet, const TQString& key, const TQString& realm, TQString& username, TQString& password, bool userReadOnly, TQMap<TQString,TQString>& knownLogins )
+static bool readFromWallet( TDEWallet::Wallet* wallet, const TQString& key, const TQString& realm, TQString& username, TQString& password, bool userReadOnly, TQMap<TQString,TQString>& knownLogins )
{
//kdDebug(130) << "readFromWallet: key=" << key << " username=" << username << " password=" /*<< password*/ << " userReadOnly=" << userReadOnly << " realm=" << realm << endl;
- if ( wallet->hasFolder( KWallet::Wallet::PasswordFolder() ) )
+ if ( wallet->hasFolder( TDEWallet::Wallet::PasswordFolder() ) )
{
- wallet->setFolder( KWallet::Wallet::PasswordFolder() );
+ wallet->setFolder( TDEWallet::Wallet::PasswordFolder() );
TQMap<TQString,TQString> map;
if ( wallet->readMap( makeWalletKey( key, realm ), map ) == 0 )
@@ -219,8 +219,8 @@ KPasswdServer::checkAuthInfo(TDEIO::AuthInfo info, long windowId, unsigned long
{
if (!result &&
(info.username.isEmpty() || info.password.isEmpty()) &&
- !KWallet::Wallet::keyDoesNotExist(KWallet::Wallet::NetworkWallet(),
- KWallet::Wallet::PasswordFolder(), makeWalletKey(key, info.realmValue)))
+ !TDEWallet::Wallet::keyDoesNotExist(TDEWallet::Wallet::NetworkWallet(),
+ TDEWallet::Wallet::PasswordFolder(), makeWalletKey(key, info.realmValue)))
{
TQMap<TQString, TQString> knownLogins;
if (openWallet(windowId)) {
@@ -304,8 +304,8 @@ KPasswdServer::openWallet( WId windowId )
m_wallet = 0;
}
if ( !m_wallet )
- m_wallet = KWallet::Wallet::openWallet(
- KWallet::Wallet::NetworkWallet(), windowId );
+ m_wallet = TDEWallet::Wallet::openWallet(
+ TDEWallet::Wallet::NetworkWallet(), windowId );
return m_wallet != 0;
}
@@ -359,7 +359,7 @@ KPasswdServer::processRequest()
TQMap<TQString, TQString> knownLogins;
if ( ( username.isEmpty() || password.isEmpty() )
- && !KWallet::Wallet::keyDoesNotExist(KWallet::Wallet::NetworkWallet(), KWallet::Wallet::PasswordFolder(), makeWalletKey( request->key, info.realmValue )) )
+ && !TDEWallet::Wallet::keyDoesNotExist(TDEWallet::Wallet::NetworkWallet(), TDEWallet::Wallet::PasswordFolder(), makeWalletKey( request->key, info.realmValue )) )
{
// no login+pass provided, check if tdewallet has one
if ( openWallet( request->windowId ) )
diff --git a/tdeio/kpasswdserver/kpasswdserver.h b/tdeio/kpasswdserver/kpasswdserver.h
index ce6d0386e..71aab3859 100644
--- a/tdeio/kpasswdserver/kpasswdserver.h
+++ b/tdeio/kpasswdserver/kpasswdserver.h
@@ -32,7 +32,7 @@
#include <tdeio/authinfo.h>
#include <kded/kdedmodule.h>
-namespace KWallet {
+namespace TDEWallet {
class Wallet;
}
@@ -111,7 +111,7 @@ protected:
TQPtrList< Request > m_authWait;
TQIntDict<TQStringList> mWindowIdList;
DCOPClient *m_dcopClient;
- KWallet::Wallet* m_wallet;
+ TDEWallet::Wallet* m_wallet;
long m_seqNr;
};
diff --git a/tdeio/kssl/ksslkeygen.cc b/tdeio/kssl/ksslkeygen.cc
index 654444994..65bd2d0a9 100644
--- a/tdeio/kssl/ksslkeygen.cc
+++ b/tdeio/kssl/ksslkeygen.cc
@@ -103,10 +103,10 @@ void KSSLKeyGen::slotGenerate() {
kpd->progressBar()->setProgress(100);
#ifndef Q_OS_WIN //TODO: reenable for WIN32
- if (rc == 0 && KWallet::Wallet::isEnabled()) {
+ if (rc == 0 && TDEWallet::Wallet::isEnabled()) {
rc = KMessageBox::questionYesNo(this, i18n("Do you wish to store the passphrase in your wallet file?"), TQString::null, i18n("Store"), i18n("Do Not Store"));
if (rc == KMessageBox::Yes) {
- KWallet::Wallet *w = KWallet::Wallet::openWallet(KWallet::Wallet::LocalWallet(), winId());
+ TDEWallet::Wallet *w = TDEWallet::Wallet::openWallet(TDEWallet::Wallet::LocalWallet(), winId());
if (w) {
// FIXME: store passphrase in wallet
delete w;
diff --git a/tdeio/magic b/tdeio/magic
index 6356a04c1..df55ff39c 100644
--- a/tdeio/magic
+++ b/tdeio/magic
@@ -1035,7 +1035,7 @@
0 string #VRML model/vrml
#------------------------------------------------------------------------------
-# KWallet file
+# TDEWallet file
0 string KWALLET\012\015\000\015\012 application/x-kde-wallet
#------------------------------------------------------------------------------
diff --git a/tdeio/misc/tdewalletd/tdewalletd.cpp b/tdeio/misc/tdewalletd/tdewalletd.cpp
index 126f0ce2b..62cbd1d43 100644
--- a/tdeio/misc/tdewalletd/tdewalletd.cpp
+++ b/tdeio/misc/tdewalletd/tdewalletd.cpp
@@ -52,21 +52,21 @@
extern "C" {
KDE_EXPORT KDEDModule *create_tdewalletd(const TQCString &name) {
- return new KWalletD(name);
+ return new TDEWalletD(name);
}
}
-class KWalletTransaction {
+class TDEWalletTransaction {
public:
- KWalletTransaction() {
+ TDEWalletTransaction() {
tType = Unknown;
transaction = 0L;
client = 0L;
modal = false;
}
- ~KWalletTransaction() {
+ ~TDEWalletTransaction() {
// Don't delete these!
transaction = 0L;
client = 0L;
@@ -84,7 +84,7 @@ class KWalletTransaction {
};
-KWalletD::KWalletD(const TQCString &name)
+TDEWalletD::TDEWalletD(const TQCString &name)
: KDEDModule(name), _failed(0) {
srand(time(0));
_showingFailureNotify = false;
@@ -99,14 +99,14 @@ KWalletD::KWalletD(const TQCString &name)
TQT_SIGNAL(applicationRemoved(const TQCString&)),
this,
TQT_SLOT(slotAppUnregistered(const TQCString&)));
- _dw = new KDirWatch(this, "KWallet Directory Watcher");
+ _dw = new KDirWatch(this, "TDEWallet Directory Watcher");
_dw->addDir(TDEGlobal::dirs()->saveLocation("tdewallet"));
_dw->startScan(true);
connect(_dw, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(emitWalletListDirty()));
}
-KWalletD::~KWalletD() {
+TDEWalletD::~TDEWalletD() {
delete _timeouts;
_timeouts = 0;
@@ -115,7 +115,7 @@ KWalletD::~KWalletD() {
}
-int KWalletD::generateHandle() {
+int TDEWalletD::generateHandle() {
int rc;
// ASSUMPTION: RAND_MAX is fairly large.
@@ -127,7 +127,7 @@ int KWalletD::generateHandle() {
}
-void KWalletD::processTransactions() {
+void TDEWalletD::processTransactions() {
static bool processing = false;
if (processing) {
@@ -137,16 +137,16 @@ void KWalletD::processTransactions() {
processing = true;
// Process remaining transactions
- KWalletTransaction *xact;
+ TDEWalletTransaction *xact;
while (!_transactions.isEmpty()) {
xact = _transactions.first();
TQCString replyType;
int res;
- assert(xact->tType != KWalletTransaction::Unknown);
+ assert(xact->tType != TDEWalletTransaction::Unknown);
switch (xact->tType) {
- case KWalletTransaction::Open:
+ case TDEWalletTransaction::Open:
res = doTransactionOpen(xact->appid, xact->wallet, xact->wId, xact->modal);
replyType = "int";
if (!xact->returnObject.isEmpty()) {
@@ -157,8 +157,8 @@ void KWalletD::processTransactions() {
// should not produce multiple password
// dialogs on a failure
if (res < 0) {
- TQPtrListIterator<KWalletTransaction> it(_transactions);
- KWalletTransaction *x;
+ TQPtrListIterator<TDEWalletTransaction> it(_transactions);
+ TDEWalletTransaction *x;
while ((x = it.current()) && x != xact) {
++it;
}
@@ -166,21 +166,21 @@ void KWalletD::processTransactions() {
++it;
}
while ((x = it.current())) {
- if (xact->appid == x->appid && x->tType == KWalletTransaction::Open && x->wallet == xact->wallet && x->wId == xact->wId) {
- x->tType = KWalletTransaction::OpenFail;
+ if (xact->appid == x->appid && x->tType == TDEWalletTransaction::Open && x->wallet == xact->wallet && x->wId == xact->wId) {
+ x->tType = TDEWalletTransaction::OpenFail;
}
++it;
}
}
break;
- case KWalletTransaction::OpenFail:
+ case TDEWalletTransaction::OpenFail:
res = -1;
replyType = "int";
if (!xact->returnObject.isEmpty()) {
DCOPRef(xact->rawappid, xact->returnObject).send("walletOpenResult", res);
}
break;
- case KWalletTransaction::ChangePassword:
+ case TDEWalletTransaction::ChangePassword:
doTransactionChangePassword(xact->appid, xact->wallet, xact->wId);
// fall through - no return
default:
@@ -188,7 +188,7 @@ void KWalletD::processTransactions() {
continue;
}
- if (xact->returnObject.isEmpty() && xact->tType != KWalletTransaction::ChangePassword) {
+ if (xact->returnObject.isEmpty() && xact->tType != TDEWalletTransaction::ChangePassword) {
TQByteArray replyData;
TQDataStream stream(replyData, IO_WriteOnly);
stream << res;
@@ -201,7 +201,7 @@ void KWalletD::processTransactions() {
}
-void KWalletD::openAsynchronous(const TQString& wallet, const TQCString& returnObject, uint wId) {
+void TDEWalletD::openAsynchronous(const TQString& wallet, const TQCString& returnObject, uint wId) {
DCOPClient *dc = callingDcopClient();
if (!dc) {
return;
@@ -216,14 +216,14 @@ void KWalletD::openAsynchronous(const TQString& wallet, const TQCString& returnO
TQCString peerName = friendlyDCOPPeerName();
- KWalletTransaction *xact = new KWalletTransaction;
+ TDEWalletTransaction *xact = new TDEWalletTransaction;
xact->appid = peerName;
xact->rawappid = appid;
xact->client = callingDcopClient();
xact->wallet = wallet;
xact->wId = wId;
- xact->tType = KWalletTransaction::Open;
+ xact->tType = TDEWalletTransaction::Open;
xact->returnObject = returnObject;
_transactions.append(xact);
@@ -234,7 +234,7 @@ void KWalletD::openAsynchronous(const TQString& wallet, const TQCString& returnO
}
-int KWalletD::openPath(const TQString& path, uint wId) {
+int TDEWalletD::openPath(const TQString& path, uint wId) {
if (!_enabled) { // guard
return -1;
}
@@ -245,7 +245,7 @@ int KWalletD::openPath(const TQString& path, uint wId) {
}
-int KWalletD::open(const TQString& wallet, uint wId) {
+int TDEWalletD::open(const TQString& wallet, uint wId) {
if (!_enabled) { // guard
return -1;
}
@@ -256,7 +256,7 @@ int KWalletD::open(const TQString& wallet, uint wId) {
TQCString appid = friendlyDCOPPeerName();
- KWalletTransaction *xact = new KWalletTransaction;
+ TDEWalletTransaction *xact = new TDEWalletTransaction;
_transactions.append(xact);
xact->appid = appid;
@@ -264,7 +264,7 @@ int KWalletD::open(const TQString& wallet, uint wId) {
xact->transaction = xact->client->beginTransaction();
xact->wallet = wallet;
xact->wId = wId;
- xact->tType = KWalletTransaction::Open;
+ xact->tType = TDEWalletTransaction::Open;
xact->modal = true; // mark dialogs as modal, the app has blocking wait
TQTimer::singleShot(0, this, TQT_SLOT(processTransactions()));
checkActiveDialog();
@@ -273,7 +273,7 @@ int KWalletD::open(const TQString& wallet, uint wId) {
// Sets up a dialog that will be shown by tdewallet.
-void KWalletD::setupDialog( TQWidget* dialog, WId wId, const TQCString& appid, bool modal ) {
+void TDEWalletD::setupDialog( TQWidget* dialog, WId wId, const TQCString& appid, bool modal ) {
if( wId != 0 )
KWin::setMainWindow( dialog, wId ); // correct, set dialog parent
else {
@@ -298,7 +298,7 @@ void KWalletD::setupDialog( TQWidget* dialog, WId wId, const TQCString& appid, b
// KWin properly handles focus changes and so on, but there's currently no support for multiple
// dialog parents. Hopefully to be done in KDE4, for now just use all kinds of bad hacks to make
// sure the user doesn't overlook the active dialog.
-void KWalletD::checkActiveDialog() {
+void TDEWalletD::checkActiveDialog() {
if( !activeDialog || !activeDialog->isShown())
return;
kapp->updateUserTimestamp();
@@ -307,10 +307,10 @@ void KWalletD::checkActiveDialog() {
KWin::forceActiveWindow( activeDialog->winId());
}
-int KWalletD::doTransactionOpen(const TQCString& appid, const TQString& wallet, uint wId, bool modal) {
- if (_firstUse && !wallets().contains(KWallet::Wallet::LocalWallet())) {
+int TDEWalletD::doTransactionOpen(const TQCString& appid, const TQString& wallet, uint wId, bool modal) {
+ if (_firstUse && !wallets().contains(TDEWallet::Wallet::LocalWallet())) {
// First use wizard
- KWalletWizard *wiz = new KWalletWizard(0);
+ TDEWalletWizard *wiz = new TDEWalletWizard(0);
setupDialog( wiz, wId, appid, modal );
int rc = wiz->exec();
if (rc == TQDialog::Accepted) {
@@ -329,12 +329,12 @@ int KWalletD::doTransactionOpen(const TQCString& appid, const TQString& wallet,
}
// Create the wallet
- KWallet::Backend *b = new KWallet::Backend(KWallet::Wallet::LocalWallet());
+ TDEWallet::Backend *b = new TDEWallet::Backend(TDEWallet::Wallet::LocalWallet());
TQByteArray p;
p.duplicate(wiz->_pass1->text().utf8(), wiz->_pass1->text().length());
b->open(p);
- b->createFolder(KWallet::Wallet::PasswordFolder());
- b->createFolder(KWallet::Wallet::FormDataFolder());
+ b->createFolder(TDEWallet::Wallet::PasswordFolder());
+ b->createFolder(TDEWallet::Wallet::FormDataFolder());
b->close(p);
p.fill(0);
delete b;
@@ -355,7 +355,7 @@ int KWalletD::doTransactionOpen(const TQCString& appid, const TQString& wallet,
return rc;
}
-int KWalletD::tryOpen(const TQString& wallet, const TQCString& password)
+int TDEWalletD::tryOpen(const TQString& wallet, const TQCString& password)
{
if (isOpen(wallet))
return 0;
@@ -365,10 +365,10 @@ int KWalletD::tryOpen(const TQString& wallet, const TQCString& password)
return -1;
}
- if (!KWallet::Backend::exists(wallet))
+ if (!TDEWallet::Backend::exists(wallet))
return -2;
- KWallet::Backend *b = new KWallet::Backend(wallet, false /*isPath*/);
+ TDEWallet::Backend *b = new TDEWallet::Backend(wallet, false /*isPath*/);
int rc = b->open(TQByteArray().duplicate(password, strlen(password)));
if (rc == 0) {
_wallets.insert(rc = generateHandle(), b);
@@ -394,7 +394,7 @@ int KWalletD::tryOpen(const TQString& wallet, const TQCString& password)
return rc;
}
-int KWalletD::internalOpen(const TQCString& appid, const TQString& wallet, bool isPath, WId w, bool modal) {
+int TDEWalletD::internalOpen(const TQCString& appid, const TQString& wallet, bool isPath, WId w, bool modal) {
int rc = -1;
bool brandNew = false;
@@ -409,7 +409,7 @@ int KWalletD::internalOpen(const TQCString& appid, const TQString& wallet, bool
return -1;
}
- for (TQIntDictIterator<KWallet::Backend> i(_wallets); i.current(); ++i) {
+ for (TQIntDictIterator<TDEWallet::Backend> i(_wallets); i.current(); ++i) {
if (i.current()->walletName() == wallet) {
rc = i.currentKey();
break;
@@ -422,16 +422,16 @@ int KWalletD::internalOpen(const TQCString& appid, const TQString& wallet, bool
return -1;
}
- KWallet::Backend *b = new KWallet::Backend(wallet, isPath);
+ TDEWallet::Backend *b = new TDEWallet::Backend(wallet, isPath);
KPasswordDialog *kpd = 0L;
bool emptyPass = false;
- if ((isPath && TQFile::exists(wallet)) || (!isPath && KWallet::Backend::exists(wallet))) {
+ if ((isPath && TQFile::exists(wallet)) || (!isPath && TDEWallet::Backend::exists(wallet))) {
int pwless = b->open(TQByteArray());
if (0 != pwless || !b->isOpen()) {
if (pwless == 0) {
// release, start anew
delete b;
- b = new KWallet::Backend(wallet, isPath);
+ b = new TDEWallet::Backend(wallet, isPath);
}
kpd = new KPasswordDialog(KPasswordDialog::Password, false, 0);
if (appid.isEmpty()) {
@@ -444,8 +444,8 @@ int KWalletD::internalOpen(const TQCString& appid, const TQString& wallet, bool
} else {
emptyPass = true;
}
- } else if (wallet == KWallet::Wallet::LocalWallet() ||
- wallet == KWallet::Wallet::NetworkWallet()) {
+ } else if (wallet == TDEWallet::Wallet::LocalWallet() ||
+ wallet == TDEWallet::Wallet::NetworkWallet()) {
// Auto create these wallets.
kpd = new KPasswordDialog(KPasswordDialog::NewPassword, false, 0);
if (appid.isEmpty()) {
@@ -479,7 +479,7 @@ int KWalletD::internalOpen(const TQCString& appid, const TQString& wallet, bool
p = kpd->password();
int rc = b->open(TQByteArray().duplicate(p, strlen(p)));
if (!b->isOpen()) {
- kpd->setPrompt(i18n("<qt>Error opening the wallet '<b>%1</b>'. Please try again.<br>(Error code %2: %3)").arg(TQStyleSheet::escape(wallet)).arg(rc).arg(KWallet::Backend::openRCToString(rc)));
+ kpd->setPrompt(i18n("<qt>Error opening the wallet '<b>%1</b>'. Please try again.<br>(Error code %2: %3)").arg(TQStyleSheet::escape(wallet)).arg(rc).arg(TDEWallet::Backend::openRCToString(rc)));
kpd->clearPassword();
}
} else {
@@ -510,8 +510,8 @@ int KWalletD::internalOpen(const TQCString& appid, const TQString& wallet, bool
delete kpd; // don't refactor this!! Argh I hate KPassDlg
if (brandNew) {
- createFolder(rc, KWallet::Wallet::PasswordFolder());
- createFolder(rc, KWallet::Wallet::FormDataFolder());
+ createFolder(rc, TDEWallet::Wallet::PasswordFolder());
+ createFolder(rc, TDEWallet::Wallet::FormDataFolder());
}
b->ref();
@@ -540,7 +540,7 @@ int KWalletD::internalOpen(const TQCString& appid, const TQString& wallet, bool
}
-bool KWalletD::isAuthorizedApp(const TQCString& appid, const TQString& wallet, WId w) {
+bool TDEWalletD::isAuthorizedApp(const TQCString& appid, const TQString& wallet, WId w) {
int response = 0;
TQCString thisApp;
@@ -592,7 +592,7 @@ bool KWalletD::isAuthorizedApp(const TQCString& appid, const TQString& wallet, W
}
-int KWalletD::deleteWallet(const TQString& wallet) {
+int TDEWalletD::deleteWallet(const TQString& wallet) {
TQString path = TDEGlobal::dirs()->saveLocation("tdewallet") + TQDir::separator() + wallet + ".kwl";
if (TQFile::exists(path)) {
@@ -609,16 +609,16 @@ int KWalletD::deleteWallet(const TQString& wallet) {
}
-void KWalletD::changePassword(const TQString& wallet, uint wId) {
+void TDEWalletD::changePassword(const TQString& wallet, uint wId) {
TQCString appid = friendlyDCOPPeerName();
- KWalletTransaction *xact = new KWalletTransaction;
+ TDEWalletTransaction *xact = new TDEWalletTransaction;
xact->appid = appid;
xact->client = callingDcopClient();
xact->wallet = wallet;
xact->wId = wId;
- xact->tType = KWalletTransaction::ChangePassword;
+ xact->tType = TDEWalletTransaction::ChangePassword;
_transactions.append(xact);
@@ -627,9 +627,9 @@ void KWalletD::changePassword(const TQString& wallet, uint wId) {
}
-void KWalletD::doTransactionChangePassword(const TQCString& appid, const TQString& wallet, uint wId) {
- TQIntDictIterator<KWallet::Backend> it(_wallets);
- KWallet::Backend *w = 0L;
+void TDEWalletD::doTransactionChangePassword(const TQCString& appid, const TQString& wallet, uint wId) {
+ TQIntDictIterator<TDEWallet::Backend> it(_wallets);
+ TDEWallet::Backend *w = 0L;
int handle = -1;
bool reclose = false;
@@ -689,11 +689,11 @@ void KWalletD::doTransactionChangePassword(const TQCString& appid, const TQStrin
}
-int KWalletD::close(const TQString& wallet, bool force) {
+int TDEWalletD::close(const TQString& wallet, bool force) {
int handle = -1;
- KWallet::Backend *w = 0L;
+ TDEWallet::Backend *w = 0L;
- for (TQIntDictIterator<KWallet::Backend> it(_wallets);
+ for (TQIntDictIterator<TDEWallet::Backend> it(_wallets);
it.current();
++it) {
if (it.current()->walletName() == wallet) {
@@ -707,7 +707,7 @@ int KWalletD::close(const TQString& wallet, bool force) {
}
-int KWalletD::closeWallet(KWallet::Backend *w, int handle, bool force) {
+int TDEWalletD::closeWallet(TDEWallet::Backend *w, int handle, bool force) {
if (w) {
const TQString& wallet = w->walletName();
assert(_passwords.contains(wallet));
@@ -733,9 +733,9 @@ int KWalletD::closeWallet(KWallet::Backend *w, int handle, bool force) {
}
-int KWalletD::close(int handle, bool force) {
+int TDEWalletD::close(int handle, bool force) {
TQCString appid = friendlyDCOPPeerName();
- KWallet::Backend *w = _wallets.find(handle);
+ TDEWallet::Backend *w = _wallets.find(handle);
bool contains = false;
if (w) { // the handle is valid
@@ -775,8 +775,8 @@ int KWalletD::close(int handle, bool force) {
}
-bool KWalletD::isOpen(const TQString& wallet) const {
- for (TQIntDictIterator<KWallet::Backend> it(_wallets);
+bool TDEWalletD::isOpen(const TQString& wallet) const {
+ for (TQIntDictIterator<TDEWallet::Backend> it(_wallets);
it.current();
++it) {
if (it.current()->walletName() == wallet) {
@@ -787,12 +787,12 @@ bool KWalletD::isOpen(const TQString& wallet) const {
}
-bool KWalletD::isOpen(int handle) {
+bool TDEWalletD::isOpen(int handle) {
if (handle == 0) {
return false;
}
- KWallet::Backend *rc = _wallets.find(handle);
+ TDEWallet::Backend *rc = _wallets.find(handle);
if (rc == 0 && ++_failed > 5) {
_failed = 0;
@@ -805,7 +805,7 @@ bool KWalletD::isOpen(int handle) {
}
-TQStringList KWalletD::wallets() const {
+TQStringList TDEWalletD::wallets() const {
TQString path = TDEGlobal::dirs()->saveLocation("tdewallet");
TQDir dir(path, "*.kwl");
TQStringList rc;
@@ -827,8 +827,8 @@ TQStringList KWalletD::wallets() const {
}
-void KWalletD::sync(int handle) {
- KWallet::Backend *b;
+void TDEWalletD::sync(int handle) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
TQByteArray p;
@@ -840,8 +840,8 @@ void KWalletD::sync(int handle) {
}
-TQStringList KWalletD::folderList(int handle) {
- KWallet::Backend *b;
+TQStringList TDEWalletD::folderList(int handle) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
return b->folderList();
@@ -851,8 +851,8 @@ TQStringList KWalletD::folderList(int handle) {
}
-bool KWalletD::hasFolder(int handle, const TQString& f) {
- KWallet::Backend *b;
+bool TDEWalletD::hasFolder(int handle, const TQString& f) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
return b->hasFolder(f);
@@ -862,8 +862,8 @@ bool KWalletD::hasFolder(int handle, const TQString& f) {
}
-bool KWalletD::removeFolder(int handle, const TQString& f) {
- KWallet::Backend *b;
+bool TDEWalletD::removeFolder(int handle, const TQString& f) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
bool rc = b->removeFolder(f);
@@ -884,8 +884,8 @@ bool KWalletD::removeFolder(int handle, const TQString& f) {
}
-bool KWalletD::createFolder(int handle, const TQString& f) {
- KWallet::Backend *b;
+bool TDEWalletD::createFolder(int handle, const TQString& f) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
bool rc = b->createFolder(f);
@@ -906,13 +906,13 @@ bool KWalletD::createFolder(int handle, const TQString& f) {
}
-TQByteArray KWalletD::readMap(int handle, const TQString& folder, const TQString& key) {
- KWallet::Backend *b;
+TQByteArray TDEWalletD::readMap(int handle, const TQString& folder, const TQString& key) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
- KWallet::Entry *e = b->readEntry(key);
- if (e && e->type() == KWallet::Wallet::Map) {
+ TDEWallet::Entry *e = b->readEntry(key);
+ if (e && e->type() == TDEWallet::Wallet::Map) {
return e->map();
}
}
@@ -921,17 +921,17 @@ TQByteArray KWalletD::readMap(int handle, const TQString& folder, const TQString
}
-TQMap<TQString,TQByteArray> KWalletD::readMapList(int handle, const TQString& folder, const TQString& key) {
- KWallet::Backend *b;
+TQMap<TQString,TQByteArray> TDEWalletD::readMapList(int handle, const TQString& folder, const TQString& key) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
- TQPtrList<KWallet::Entry> e = b->readEntryList(key);
+ TQPtrList<TDEWallet::Entry> e = b->readEntryList(key);
TQMap<TQString, TQByteArray> rc;
- TQPtrListIterator<KWallet::Entry> it(e);
- KWallet::Entry *entry;
+ TQPtrListIterator<TDEWallet::Entry> it(e);
+ TDEWallet::Entry *entry;
while ((entry = it.current())) {
- if (entry->type() == KWallet::Wallet::Map) {
+ if (entry->type() == TDEWallet::Wallet::Map) {
rc.insert(entry->key(), entry->map());
}
++it;
@@ -943,12 +943,12 @@ TQMap<TQString,TQByteArray> KWalletD::readMapList(int handle, const TQString& fo
}
-TQByteArray KWalletD::readEntry(int handle, const TQString& folder, const TQString& key) {
- KWallet::Backend *b;
+TQByteArray TDEWalletD::readEntry(int handle, const TQString& folder, const TQString& key) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
- KWallet::Entry *e = b->readEntry(key);
+ TDEWallet::Entry *e = b->readEntry(key);
if (e) {
return e->value();
}
@@ -958,15 +958,15 @@ TQByteArray KWalletD::readEntry(int handle, const TQString& folder, const TQStri
}
-TQMap<TQString, TQByteArray> KWalletD::readEntryList(int handle, const TQString& folder, const TQString& key) {
- KWallet::Backend *b;
+TQMap<TQString, TQByteArray> TDEWalletD::readEntryList(int handle, const TQString& folder, const TQString& key) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
- TQPtrList<KWallet::Entry> e = b->readEntryList(key);
+ TQPtrList<TDEWallet::Entry> e = b->readEntryList(key);
TQMap<TQString, TQByteArray> rc;
- TQPtrListIterator<KWallet::Entry> it(e);
- KWallet::Entry *entry;
+ TQPtrListIterator<TDEWallet::Entry> it(e);
+ TDEWallet::Entry *entry;
while ((entry = it.current())) {
rc.insert(entry->key(), entry->value());
++it;
@@ -978,8 +978,8 @@ TQMap<TQString, TQByteArray> KWalletD::readEntryList(int handle, const TQString&
}
-TQStringList KWalletD::entryList(int handle, const TQString& folder) {
- KWallet::Backend *b;
+TQStringList TDEWalletD::entryList(int handle, const TQString& folder) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
@@ -990,13 +990,13 @@ TQStringList KWalletD::entryList(int handle, const TQString& folder) {
}
-TQString KWalletD::readPassword(int handle, const TQString& folder, const TQString& key) {
- KWallet::Backend *b;
+TQString TDEWalletD::readPassword(int handle, const TQString& folder, const TQString& key) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
- KWallet::Entry *e = b->readEntry(key);
- if (e && e->type() == KWallet::Wallet::Password) {
+ TDEWallet::Entry *e = b->readEntry(key);
+ if (e && e->type() == TDEWallet::Wallet::Password) {
return e->password();
}
}
@@ -1005,17 +1005,17 @@ TQString KWalletD::readPassword(int handle, const TQString& folder, const TQStri
}
-TQMap<TQString, TQString> KWalletD::readPasswordList(int handle, const TQString& folder, const TQString& key) {
- KWallet::Backend *b;
+TQMap<TQString, TQString> TDEWalletD::readPasswordList(int handle, const TQString& folder, const TQString& key) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
- TQPtrList<KWallet::Entry> e = b->readEntryList(key);
+ TQPtrList<TDEWallet::Entry> e = b->readEntryList(key);
TQMap<TQString, TQString> rc;
- TQPtrListIterator<KWallet::Entry> it(e);
- KWallet::Entry *entry;
+ TQPtrListIterator<TDEWallet::Entry> it(e);
+ TDEWallet::Entry *entry;
while ((entry = it.current())) {
- if (entry->type() == KWallet::Wallet::Password) {
+ if (entry->type() == TDEWallet::Wallet::Password) {
rc.insert(entry->key(), entry->password());
}
++it;
@@ -1027,15 +1027,15 @@ TQMap<TQString, TQString> KWalletD::readPasswordList(int handle, const TQString&
}
-int KWalletD::writeMap(int handle, const TQString& folder, const TQString& key, const TQByteArray& value) {
- KWallet::Backend *b;
+int TDEWalletD::writeMap(int handle, const TQString& folder, const TQString& key, const TQByteArray& value) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
- KWallet::Entry e;
+ TDEWallet::Entry e;
e.setKey(key);
e.setValue(value);
- e.setType(KWallet::Wallet::Map);
+ e.setType(TDEWallet::Wallet::Map);
b->writeEntry(&e);
// write changes to disk immediately
TQByteArray p;
@@ -1051,15 +1051,15 @@ int KWalletD::writeMap(int handle, const TQString& folder, const TQString& key,
}
-int KWalletD::writeEntry(int handle, const TQString& folder, const TQString& key, const TQByteArray& value, int entryType) {
- KWallet::Backend *b;
+int TDEWalletD::writeEntry(int handle, const TQString& folder, const TQString& key, const TQByteArray& value, int entryType) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
- KWallet::Entry e;
+ TDEWallet::Entry e;
e.setKey(key);
e.setValue(value);
- e.setType(KWallet::Wallet::EntryType(entryType));
+ e.setType(TDEWallet::Wallet::EntryType(entryType));
b->writeEntry(&e);
// write changes to disk immediately
TQByteArray p;
@@ -1075,15 +1075,15 @@ int KWalletD::writeEntry(int handle, const TQString& folder, const TQString& key
}
-int KWalletD::writeEntry(int handle, const TQString& folder, const TQString& key, const TQByteArray& value) {
- KWallet::Backend *b;
+int TDEWalletD::writeEntry(int handle, const TQString& folder, const TQString& key, const TQByteArray& value) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
- KWallet::Entry e;
+ TDEWallet::Entry e;
e.setKey(key);
e.setValue(value);
- e.setType(KWallet::Wallet::Stream);
+ e.setType(TDEWallet::Wallet::Stream);
b->writeEntry(&e);
// write changes to disk immediately
TQByteArray p;
@@ -1099,15 +1099,15 @@ int KWalletD::writeEntry(int handle, const TQString& folder, const TQString& key
}
-int KWalletD::writePassword(int handle, const TQString& folder, const TQString& key, const TQString& value) {
- KWallet::Backend *b;
+int TDEWalletD::writePassword(int handle, const TQString& folder, const TQString& key, const TQString& value) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
- KWallet::Entry e;
+ TDEWallet::Entry e;
e.setKey(key);
e.setValue(value);
- e.setType(KWallet::Wallet::Password);
+ e.setType(TDEWallet::Wallet::Password);
b->writeEntry(&e);
// write changes to disk immediately
TQByteArray p;
@@ -1123,12 +1123,12 @@ int KWalletD::writePassword(int handle, const TQString& folder, const TQString&
}
-int KWalletD::entryType(int handle, const TQString& folder, const TQString& key) {
- KWallet::Backend *b;
+int TDEWalletD::entryType(int handle, const TQString& folder, const TQString& key) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
if (!b->hasFolder(folder)) {
- return KWallet::Wallet::Unknown;
+ return TDEWallet::Wallet::Unknown;
}
b->setFolder(folder);
if (b->hasEntry(key)) {
@@ -1136,12 +1136,12 @@ int KWalletD::entryType(int handle, const TQString& folder, const TQString& key)
}
}
- return KWallet::Wallet::Unknown;
+ return TDEWallet::Wallet::Unknown;
}
-bool KWalletD::hasEntry(int handle, const TQString& folder, const TQString& key) {
- KWallet::Backend *b;
+bool TDEWalletD::hasEntry(int handle, const TQString& folder, const TQString& key) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
if (!b->hasFolder(folder)) {
@@ -1155,8 +1155,8 @@ bool KWalletD::hasEntry(int handle, const TQString& folder, const TQString& key)
}
-int KWalletD::removeEntry(int handle, const TQString& folder, const TQString& key) {
- KWallet::Backend *b;
+int TDEWalletD::removeEntry(int handle, const TQString& folder, const TQString& key) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
if (!b->hasFolder(folder)) {
@@ -1178,12 +1178,12 @@ int KWalletD::removeEntry(int handle, const TQString& folder, const TQString& ke
}
-void KWalletD::slotAppUnregistered(const TQCString& app) {
+void TDEWalletD::slotAppUnregistered(const TQCString& app) {
if (_handles.contains(app)) {
TQValueList<int> l = _handles[app];
for (TQValueList<int>::Iterator i = l.begin(); i != l.end(); ++i) {
_handles[app].remove(*i);
- KWallet::Backend *w = _wallets.find(*i);
+ TDEWallet::Backend *w = _wallets.find(*i);
if (w && !_leaveOpen && 0 == w->deref()) {
close(w->walletName(), true);
}
@@ -1193,7 +1193,7 @@ void KWalletD::slotAppUnregistered(const TQCString& app) {
}
-void KWalletD::invalidateHandle(int handle) {
+void TDEWalletD::invalidateHandle(int handle) {
for (TQMap<TQCString,TQValueList<int> >::Iterator i = _handles.begin();
i != _handles.end();
++i) {
@@ -1202,12 +1202,12 @@ void KWalletD::invalidateHandle(int handle) {
}
-KWallet::Backend *KWalletD::getWallet(const TQCString& appid, int handle) {
+TDEWallet::Backend *TDEWalletD::getWallet(const TQCString& appid, int handle) {
if (handle == 0) {
return 0L;
}
- KWallet::Backend *w = _wallets.find(handle);
+ TDEWallet::Backend *w = _wallets.find(handle);
if (w) { // the handle is valid
if (_handles.contains(appid)) { // we know this app
@@ -1231,7 +1231,7 @@ KWallet::Backend *KWalletD::getWallet(const TQCString& appid, int handle) {
}
-void KWalletD::notifyFailures() {
+void TDEWalletD::notifyFailures() {
if (!_showingFailureNotify) {
_showingFailureNotify = true;
KMessageBox::information(0, i18n("There have been repeated failed attempts to gain access to a wallet. An application may be misbehaving."), i18n("TDE Wallet Service"));
@@ -1240,7 +1240,7 @@ void KWalletD::notifyFailures() {
}
-void KWalletD::doCloseSignals(int handle, const TQString& wallet) {
+void TDEWalletD::doCloseSignals(int handle, const TQString& wallet) {
TQByteArray data;
TQDataStream ds(data, IO_WriteOnly);
ds << handle;
@@ -1257,8 +1257,8 @@ void KWalletD::doCloseSignals(int handle, const TQString& wallet) {
}
-int KWalletD::renameEntry(int handle, const TQString& folder, const TQString& oldName, const TQString& newName) {
- KWallet::Backend *b;
+int TDEWalletD::renameEntry(int handle, const TQString& folder, const TQString& oldName, const TQString& newName) {
+ TDEWallet::Backend *b;
if ((b = getWallet(friendlyDCOPPeerName(), handle))) {
b->setFolder(folder);
@@ -1277,10 +1277,10 @@ int KWalletD::renameEntry(int handle, const TQString& folder, const TQString& ol
}
-TQStringList KWalletD::users(const TQString& wallet) const {
+TQStringList TDEWalletD::users(const TQString& wallet) const {
TQStringList rc;
- for (TQIntDictIterator<KWallet::Backend> it(_wallets);
+ for (TQIntDictIterator<TDEWallet::Backend> it(_wallets);
it.current();
++it) {
if (it.current()->walletName() == wallet) {
@@ -1297,8 +1297,8 @@ TQStringList KWalletD::users(const TQString& wallet) const {
}
-bool KWalletD::disconnectApplication(const TQString& wallet, const TQCString& application) {
- for (TQIntDictIterator<KWallet::Backend> it(_wallets);
+bool TDEWalletD::disconnectApplication(const TQString& wallet, const TQCString& application) {
+ for (TQIntDictIterator<TDEWallet::Backend> it(_wallets);
it.current();
++it) {
if (it.current()->walletName() == wallet) {
@@ -1328,7 +1328,7 @@ bool KWalletD::disconnectApplication(const TQString& wallet, const TQCString& ap
}
-void KWalletD::emitFolderUpdated(const TQString& wallet, const TQString& folder) {
+void TDEWalletD::emitFolderUpdated(const TQString& wallet, const TQString& folder) {
TQByteArray data;
TQDataStream ds(data, IO_WriteOnly);
ds << wallet;
@@ -1337,12 +1337,12 @@ void KWalletD::emitFolderUpdated(const TQString& wallet, const TQString& folder)
}
-void KWalletD::emitWalletListDirty() {
+void TDEWalletD::emitWalletListDirty() {
emitDCOPSignal("walletListDirty()", TQByteArray());
}
-void KWalletD::reconfigure() {
+void TDEWalletD::reconfigure() {
TDEConfig cfg("tdewalletrc");
cfg.setGroup("Wallet");
_firstUse = cfg.readBoolEntry("First Use", true);
@@ -1365,14 +1365,14 @@ void KWalletD::reconfigure() {
// Handle idle changes
if (_closeIdle) {
if (_idleTime != timeSave) { // Timer length changed
- TQIntDictIterator<KWallet::Backend> it(_wallets);
+ TQIntDictIterator<TDEWallet::Backend> it(_wallets);
for (; it.current(); ++it) {
_timeouts->resetTimer(it.currentKey(), _idleTime);
}
}
if (!idleSave) { // add timers for all the wallets
- TQIntDictIterator<KWallet::Backend> it(_wallets);
+ TQIntDictIterator<TDEWallet::Backend> it(_wallets);
for (; it.current(); ++it) {
_timeouts->addTimer(it.currentKey(), _idleTime);
}
@@ -1400,7 +1400,7 @@ void KWalletD::reconfigure() {
// Update if wallet was enabled/disabled
if (!_enabled) { // close all wallets
while (!_wallets.isEmpty()) {
- TQIntDictIterator<KWallet::Backend> it(_wallets);
+ TQIntDictIterator<TDEWallet::Backend> it(_wallets);
if (!it.current()) { // necessary?
break;
}
@@ -1410,23 +1410,23 @@ void KWalletD::reconfigure() {
}
-bool KWalletD::isEnabled() const {
+bool TDEWalletD::isEnabled() const {
return _enabled;
}
-bool KWalletD::folderDoesNotExist(const TQString& wallet, const TQString& folder) {
+bool TDEWalletD::folderDoesNotExist(const TQString& wallet, const TQString& folder) {
if (!wallets().contains(wallet)) {
return true;
}
- for (TQIntDictIterator<KWallet::Backend> it(_wallets); it.current(); ++it) {
+ for (TQIntDictIterator<TDEWallet::Backend> it(_wallets); it.current(); ++it) {
if (it.current()->walletName() == wallet) {
return it.current()->folderDoesNotExist(folder);
}
}
- KWallet::Backend *b = new KWallet::Backend(wallet);
+ TDEWallet::Backend *b = new TDEWallet::Backend(wallet);
b->open(TQByteArray());
bool rc = b->folderDoesNotExist(folder);
delete b;
@@ -1434,18 +1434,18 @@ bool KWalletD::folderDoesNotExist(const TQString& wallet, const TQString& folder
}
-bool KWalletD::keyDoesNotExist(const TQString& wallet, const TQString& folder, const TQString& key) {
+bool TDEWalletD::keyDoesNotExist(const TQString& wallet, const TQString& folder, const TQString& key) {
if (!wallets().contains(wallet)) {
return true;
}
- for (TQIntDictIterator<KWallet::Backend> it(_wallets); it.current(); ++it) {
+ for (TQIntDictIterator<TDEWallet::Backend> it(_wallets); it.current(); ++it) {
if (it.current()->walletName() == wallet) {
return it.current()->entryDoesNotExist(folder, key);
}
}
- KWallet::Backend *b = new KWallet::Backend(wallet);
+ TDEWallet::Backend *b = new TDEWallet::Backend(wallet);
b->open(TQByteArray());
bool rc = b->entryDoesNotExist(folder, key);
delete b;
@@ -1453,17 +1453,17 @@ bool KWalletD::keyDoesNotExist(const TQString& wallet, const TQString& folder, c
}
-bool KWalletD::implicitAllow(const TQString& wallet, const TQCString& app) {
+bool TDEWalletD::implicitAllow(const TQString& wallet, const TQCString& app) {
return _implicitAllowMap[wallet].contains(TQString::fromLocal8Bit(app));
}
-bool KWalletD::implicitDeny(const TQString& wallet, const TQCString& app) {
+bool TDEWalletD::implicitDeny(const TQString& wallet, const TQCString& app) {
return _implicitDenyMap[wallet].contains(TQString::fromLocal8Bit(app));
}
-TQCString KWalletD::friendlyDCOPPeerName() {
+TQCString TDEWalletD::friendlyDCOPPeerName() {
DCOPClient *dc = callingDcopClient();
if (!dc) {
return "";
@@ -1472,18 +1472,18 @@ TQCString KWalletD::friendlyDCOPPeerName() {
}
-void KWalletD::timedOut(int id) {
- KWallet::Backend *w = _wallets.find(id);
+void TDEWalletD::timedOut(int id) {
+ TDEWallet::Backend *w = _wallets.find(id);
if (w) {
closeWallet(w, id, true);
}
}
-void KWalletD::closeAllWallets() {
- TQIntDict<KWallet::Backend> tw = _wallets;
+void TDEWalletD::closeAllWallets() {
+ TQIntDict<TDEWallet::Backend> tw = _wallets;
- for (TQIntDictIterator<KWallet::Backend> it(tw); it.current(); ++it) {
+ for (TQIntDictIterator<TDEWallet::Backend> it(tw); it.current(); ++it) {
closeWallet(it.current(), it.currentKey(), true);
}
@@ -1501,13 +1501,13 @@ void KWalletD::closeAllWallets() {
}
-TQString KWalletD::networkWallet() {
- return KWallet::Wallet::NetworkWallet();
+TQString TDEWalletD::networkWallet() {
+ return TDEWallet::Wallet::NetworkWallet();
}
-TQString KWalletD::localWallet() {
- return KWallet::Wallet::LocalWallet();
+TQString TDEWalletD::localWallet() {
+ return TDEWallet::Wallet::LocalWallet();
}
diff --git a/tdeio/misc/tdewalletd/tdewalletd.desktop b/tdeio/misc/tdewalletd/tdewalletd.desktop
index 1f92976e7..537d1cc6f 100644
--- a/tdeio/misc/tdewalletd/tdewalletd.desktop
+++ b/tdeio/misc/tdewalletd/tdewalletd.desktop
@@ -6,146 +6,146 @@ X-TDE-Library=tdewalletd
X-TDE-FactoryName=tdewalletd
X-TDE-Kded-autoload=false
X-TDE-Kded-load-on-demand=true
-Name=KWallet Daemon Module
+Name=TDEWallet Daemon Module
Name[af]=KBeursie Bediener Module
-Name[ar]=مراقب وحدة KWallet
-Name[az]=KWallet Demon Modulu
-Name[be]=Модуль сервіса KWallet
+Name[ar]=مراقب وحدة TDEWallet
+Name[az]=TDEWallet Demon Modulu
+Name[be]=Модуль сервіса TDEWallet
Name[bg]=Демон Портфейл
Name[bn]=কে-ওয়ালেট ডিমন মডিউল
-Name[br]=Mollad an diaoul KWallet
-Name[ca]=Mòdul del dimoni KWallet
-Name[cs]=Modul démona KWallet
+Name[br]=Mollad an diaoul TDEWallet
+Name[ca]=Mòdul del dimoni TDEWallet
+Name[cs]=Modul démona TDEWallet
Name[csb]=Pòrtfel
Name[cy]=Modiwl Daemon KWaled
-Name[da]=KWallet Dæmonmodul
+Name[da]=TDEWallet Dæmonmodul
Name[de]=Digitale Brieftasche
-Name[el]=Άρθρωμα δαίμονα KWallet
+Name[el]=Άρθρωμα δαίμονα TDEWallet
Name[eo]=Sekreteja demono-modulo
-Name[es]=Módulo de demonio KWallet
-Name[et]=KWalleti deemoni moodul
-Name[eu]=KWallet daemon modulua
-Name[fa]=پیمانه شبح KWallet
-Name[fi]=KWallet-palvelinmoduuli
-Name[fr]=Module démon KWallet
-Name[ga]=Modúl Deamhain KWallet
-Name[gl]=Módulo do Demo KWallet
-Name[he]=מודול תהליך הרקע של KWallet
+Name[es]=Módulo de demonio TDEWallet
+Name[et]=TDEWalleti deemoni moodul
+Name[eu]=TDEWallet daemon modulua
+Name[fa]=پیمانه شبح TDEWallet
+Name[fi]=TDEWallet-palvelinmoduuli
+Name[fr]=Module démon TDEWallet
+Name[ga]=Modúl Deamhain TDEWallet
+Name[gl]=Módulo do Demo TDEWallet
+Name[he]=מודול תהליך הרקע של TDEWallet
Name[hi]=केवैलट डेमन मॉड्यूल
-Name[hr]=Modul KWallet demona
-Name[hu]=KWallet szolgáltatás
-Name[id]=Modul Daemon KWallet
-Name[is]=KWallet þjónseining
-Name[it]=Modulo demone KWallet
-Name[ja]=KWallet デーモンモジュール
-Name[ka]=KWallet გუშაგის მოდული
-Name[kk]=KWallet әмиян қызметтің модулі
-Name[km]=ម៉ូឌុល Daemon KWallet
+Name[hr]=Modul TDEWallet demona
+Name[hu]=TDEWallet szolgáltatás
+Name[id]=Modul Daemon TDEWallet
+Name[is]=TDEWallet þjónseining
+Name[it]=Modulo demone TDEWallet
+Name[ja]=TDEWallet デーモンモジュール
+Name[ka]=TDEWallet გუშაგის მოდული
+Name[kk]=TDEWallet әмиян қызметтің модулі
+Name[km]=ម៉ូឌុល Daemon TDEWallet
Name[ko]=K지갑 데몬 모듈
-Name[lb]=KWallet-Dämonmodul
+Name[lb]=TDEWallet-Dämonmodul
Name[lt]=TDE slaptažodinių tarnybos modulis
-Name[lv]=KWallet Dēmona Modulis
-Name[mn]=KWallet Daemon Модул
-Name[ms]=Modul Daemon KWallet
-Name[nb]=KWallet nisseprogramtillegg
-Name[nds]=KWallet-Dämoon
-Name[ne]=KWallet डेइमन मोड्युल
-Name[nl]=KWallet daemon-module
-Name[nn]=KWallet-nissemodul
-Name[pa]=KWallet ਪੇਸ਼ਕਾਰੀ ਮੈਡੀਊਲ
+Name[lv]=TDEWallet Dēmona Modulis
+Name[mn]=TDEWallet Daemon Модул
+Name[ms]=Modul Daemon TDEWallet
+Name[nb]=TDEWallet nisseprogramtillegg
+Name[nds]=TDEWallet-Dämoon
+Name[ne]=TDEWallet डेइमन मोड्युल
+Name[nl]=TDEWallet daemon-module
+Name[nn]=TDEWallet-nissemodul
+Name[pa]=TDEWallet ਪੇਸ਼ਕਾਰੀ ਮੈਡੀਊਲ
Name[pl]=Portfel
-Name[pt]=Módulo do Servidor do KWallet
-Name[pt_BR]=Módulo do Serviço do KWallet
-Name[ro]=Modul demon KWallet
+Name[pt]=Módulo do Servidor do TDEWallet
+Name[pt_BR]=Módulo do Serviço do TDEWallet
+Name[ro]=Modul demon TDEWallet
Name[ru]=Служба бумажника
Name[rw]=Igice Dayimoni KUruhago
-Name[se]=KWallet-bálvámoduvla
-Name[sk]=Modul démona KWallet
+Name[se]=TDEWallet-bálvámoduvla
+Name[sk]=Modul démona TDEWallet
Name[sl]=Modul demona TDEListnica
-Name[sq]=Demoni për Modulin KWallet
-Name[sr]=KWallet демон модул
-Name[sr@Latn]=KWallet demon modul
+Name[sq]=Demoni për Modulin TDEWallet
+Name[sr]=TDEWallet демон модул
+Name[sr@Latn]=TDEWallet demon modul
Name[sv]=Kwallet-demonmodul
-Name[ta]=KWallet டெமான் பகுதி
+Name[ta]=TDEWallet டெமான் பகுதி
Name[te]=కెవాలెట్ సూత్రధారి మాడ్యూల్
-Name[tg]=Модули Демон KWallet
-Name[th]=โมดูลเดมอน KWallet
-Name[tr]=KWallet Program Modülü
-Name[tt]=KWallet Xezmäteneñ Modulı
-Name[uk]=Модуль демону KWallet
-Name[uz]=KWallet xizmatining moduli
-Name[uz@cyrillic]=KWallet хизматининг модули
-Name[vi]=Mô-đun trình nền KWallet
-Name[zh_CN]=KWallet 守护进程模块
+Name[tg]=Модули Демон TDEWallet
+Name[th]=โมดูลเดมอน TDEWallet
+Name[tr]=TDEWallet Program Modülü
+Name[tt]=TDEWallet Xezmäteneñ Modulı
+Name[uk]=Модуль демону TDEWallet
+Name[uz]=TDEWallet xizmatining moduli
+Name[uz@cyrillic]=TDEWallet хизматининг модули
+Name[vi]=Mô-đun trình nền TDEWallet
+Name[zh_CN]=TDEWallet 守护进程模块
Name[zh_HK]=KWAllet 伺服程式模組
Name[zh_TW]=KWAllet 服務程式模組
-Comment=KWallet daemon module for KDED
+Comment=TDEWallet daemon module for KDED
Comment[af]=KBeursie bediener module vir KDED
-Comment[be]=Модуль сервіса KWallet для KDED
+Comment[be]=Модуль сервіса TDEWallet для KDED
Comment[bg]=Модул демон за системата Портфейл за KDED
Comment[bn]=KDED-র জন্য কে-ওয়ালেট ডিমন মডিউল
-Comment[br]=Mollad an diaoul KWallet evit KDED
-Comment[bs]=KWallet daemon modul za KDED
-Comment[ca]=Mòdul del dimoni KWallet per a KDED
-Comment[cs]=Modul démona KWallet pro KDED
-Comment[csb]=Mòduł KWallet w KDED
-Comment[da]=KWallet Dæmonmodul for KDED
-Comment[de]=Unterstützung für die digitale Brieftasche "KWallet"
-Comment[el]=Άρθρωμα δαίμονα KWallet για το KDED
+Comment[br]=Mollad an diaoul TDEWallet evit KDED
+Comment[bs]=TDEWallet daemon modul za KDED
+Comment[ca]=Mòdul del dimoni TDEWallet per a KDED
+Comment[cs]=Modul démona TDEWallet pro KDED
+Comment[csb]=Mòduł TDEWallet w KDED
+Comment[da]=TDEWallet Dæmonmodul for KDED
+Comment[de]=Unterstützung für die digitale Brieftasche "TDEWallet"
+Comment[el]=Άρθρωμα δαίμονα TDEWallet για το KDED
Comment[eo]=Sekreteja demono-modulo por KDED
-Comment[es]=Módulo de demonio KWallet para KDED
-Comment[et]=KDED KWalleti deemoni moodul
-Comment[eu]=KWallet daemon modulua KDEDrako
-Comment[fa]=پیمانۀ شبح KWallet برای KDED
-Comment[fi]=KWallet palvelinmoduuli KDED:lle
-Comment[fr]=Module démon KWallet pour KDED
-Comment[fy]=KWallet daemon module foar KDED
-Comment[ga]=Modúl deamhain KWallet le haghaidh KDED
-Comment[gl]=Demo de KWallet para KDED
-Comment[he]=מודול תהליך רקע של KWallet עבור KDED
+Comment[es]=Módulo de demonio TDEWallet para KDED
+Comment[et]=KDED TDEWalleti deemoni moodul
+Comment[eu]=TDEWallet daemon modulua KDEDrako
+Comment[fa]=پیمانۀ شبح TDEWallet برای KDED
+Comment[fi]=TDEWallet palvelinmoduuli KDED:lle
+Comment[fr]=Module démon TDEWallet pour KDED
+Comment[fy]=TDEWallet daemon module foar KDED
+Comment[ga]=Modúl deamhain TDEWallet le haghaidh KDED
+Comment[gl]=Demo de TDEWallet para KDED
+Comment[he]=מודול תהליך רקע של TDEWallet עבור KDED
Comment[hi]=केडीईडी के लिए के-वॉलेट डेमन मॉड्यूल
-Comment[hr]=KWallet demon modul za KDED
-Comment[hu]=KWallet szolgáltatásmodul a KDED-hez
-Comment[id]=Modul daemon KWallet untuk KDED
-Comment[is]=KWallet þjónseining fyrir KDED
-Comment[it]=Modulo demone KWallet per KDED
-Comment[ja]=KDED 用の KWallet デーモンモジュール
+Comment[hr]=TDEWallet demon modul za KDED
+Comment[hu]=TDEWallet szolgáltatásmodul a KDED-hez
+Comment[id]=Modul daemon TDEWallet untuk KDED
+Comment[is]=TDEWallet þjónseining fyrir KDED
+Comment[it]=Modulo demone TDEWallet per KDED
+Comment[ja]=KDED 用の TDEWallet デーモンモジュール
Comment[ka]=KSSL მოდული TDE-სთვის
-Comment[kk]=TDE KWallet әмиянін басқару қызметтің модулі
-Comment[km]=ម៉ូឌុល daemon KWallet សម្រាប់ KDED
-Comment[lb]=KWallet-Dämonmodul fir KDED
+Comment[kk]=TDE TDEWallet әмиянін басқару қызметтің модулі
+Comment[km]=ម៉ូឌុល daemon TDEWallet សម្រាប់ KDED
+Comment[lb]=TDEWallet-Dämonmodul fir KDED
Comment[lt]=TDE slaptažodinių tarnybos modulis skirtas KDED
-Comment[lv]=KWallet Dēmona Modulis priekš KDED
-Comment[mk]=KWallet даемон модул за KDED
-Comment[ms]=Modul Daemon KWallet untuk KDED
-Comment[nb]=KWallet nissemodul for KDED
-Comment[nds]=KWallet-Dämoonmoduul för KDED
-Comment[ne]=KDED का लागि डेइमन मोड्युल KWallet
-Comment[nl]=KWallet daemon-module voor KDED
-Comment[nn]=KWallet-nissemodul for KDED
-Comment[pa]=KDED ਲਈ KWallet ਪੇਸ਼ਕਾਰੀ ਮੈਡੀਊਲ
-Comment[pl]=Moduł KWallet w KDED
-Comment[pt]=Módulo servidor do KWallet para o KDED
+Comment[lv]=TDEWallet Dēmona Modulis priekš KDED
+Comment[mk]=TDEWallet даемон модул за KDED
+Comment[ms]=Modul Daemon TDEWallet untuk KDED
+Comment[nb]=TDEWallet nissemodul for KDED
+Comment[nds]=TDEWallet-Dämoonmoduul för KDED
+Comment[ne]=KDED का लागि डेइमन मोड्युल TDEWallet
+Comment[nl]=TDEWallet daemon-module voor KDED
+Comment[nn]=TDEWallet-nissemodul for KDED
+Comment[pa]=KDED ਲਈ TDEWallet ਪੇਸ਼ਕਾਰੀ ਮੈਡੀਊਲ
+Comment[pl]=Moduł TDEWallet w KDED
+Comment[pt]=Módulo servidor do TDEWallet para o KDED
Comment[pt_BR]=Módulo do serviço de carteira para o TDE
-Comment[ro]=Modul demon KWallet pentru KDED
+Comment[ro]=Modul demon TDEWallet pentru KDED
Comment[ru]=Управление бумажником TDE
Comment[rw]=Igice cya dayimoni KUruhago cya KDED
-Comment[se]=KDED:a KWallet-bálvámoduvla
-Comment[sk]=Modul démona KWallet pre KDED
+Comment[se]=KDED:a TDEWallet-bálvámoduvla
+Comment[sk]=Modul démona TDEWallet pre KDED
Comment[sl]=Modul demona TDEListnica za KDED
-Comment[sr]=KWallet демон модул за KDED
-Comment[sr@Latn]=KWallet demon modul za KDED
+Comment[sr]=TDEWallet демон модул за KDED
+Comment[sr@Latn]=TDEWallet demon modul za KDED
Comment[sv]=Kwallet-demonmodul för KDED
-Comment[ta]=KDEDக்கான KWallet Daemon தொகுதி
+Comment[ta]=KDEDக்கான TDEWallet Daemon தொகுதி
Comment[te]=కెడిఈడి కొరకు కెవాలెట్ సూత్రధారి మాడ్యూల్
-Comment[tg]=Модули Демон KWallet барои KDED
-Comment[th]=โมดูลเดมอน KWallet สำหรับ KDED
-Comment[tr]=KDED için KWallet program modülü
-Comment[tt]=KDED öçen KWallet xezmäteneñ modulı
-Comment[uk]=Модуль демону торбинок KWallet для KDED
-Comment[uz]=KDED uchun KWallet xizmatining moduli
-Comment[uz@cyrillic]=KDED учун KWallet хизматининг модули
-Comment[vi]=Mô-đun trình nền KWallet cho KDED.
-Comment[zh_CN]=KDED 的 KWallet 守护进程模块
-Comment[zh_HK]=KDED 的 KWallet 伺服程式模組
-Comment[zh_TW]=KDED 的 KWallet 服務程式模組
+Comment[tg]=Модули Демон TDEWallet барои KDED
+Comment[th]=โมดูลเดมอน TDEWallet สำหรับ KDED
+Comment[tr]=KDED için TDEWallet program modülü
+Comment[tt]=KDED öçen TDEWallet xezmäteneñ modulı
+Comment[uk]=Модуль демону торбинок TDEWallet для KDED
+Comment[uz]=KDED uchun TDEWallet xizmatining moduli
+Comment[uz@cyrillic]=KDED учун TDEWallet хизматининг модули
+Comment[vi]=Mô-đun trình nền TDEWallet cho KDED.
+Comment[zh_CN]=KDED 的 TDEWallet 守护进程模块
+Comment[zh_HK]=KDED 的 TDEWallet 伺服程式模組
+Comment[zh_TW]=KDED 的 TDEWallet 服務程式模組
diff --git a/tdeio/misc/tdewalletd/tdewalletd.h b/tdeio/misc/tdewalletd/tdewalletd.h
index b3a315413..406b88d12 100644
--- a/tdeio/misc/tdewalletd/tdewalletd.h
+++ b/tdeio/misc/tdewalletd/tdewalletd.h
@@ -37,14 +37,14 @@ class KDirWatch;
class KTimeout;
// @Private
-class KWalletTransaction;
+class TDEWalletTransaction;
-class KWalletD : public KDEDModule {
+class TDEWalletD : public KDEDModule {
Q_OBJECT
K_DCOP
public:
- KWalletD(const TQCString &name);
- virtual ~KWalletD();
+ TDEWalletD(const TQCString &name);
+ virtual ~TDEWalletD();
k_dcop:
// Is the wallet enabled? If not, all open() calls fail.
@@ -157,7 +157,7 @@ class KWalletD : public KDEDModule {
int internalOpen(const TQCString& appid, const TQString& wallet, bool isPath = false, WId w = 0, bool modal = false);
bool isAuthorizedApp(const TQCString& appid, const TQString& wallet, WId w);
// This also validates the handle. May return NULL.
- KWallet::Backend* getWallet(const TQCString& appid, int handle);
+ TDEWallet::Backend* getWallet(const TQCString& appid, int handle);
// Generate a new unique handle.
int generateHandle();
// Invalidate a handle (remove it from the TQMap)
@@ -166,7 +166,7 @@ class KWalletD : public KDEDModule {
void doCloseSignals(int,const TQString&);
void emitFolderUpdated(const TQString&, const TQString&);
// Internal - close this wallet.
- int closeWallet(KWallet::Backend *w, int handle, bool force);
+ int closeWallet(TDEWallet::Backend *w, int handle, bool force);
// Implicitly allow access for this application
bool implicitAllow(const TQString& wallet, const TQCString& app);
bool implicitDeny(const TQString& wallet, const TQCString& app);
@@ -178,7 +178,7 @@ class KWalletD : public KDEDModule {
void setupDialog( TQWidget* dialog, WId wId, const TQCString& appid, bool modal );
void checkActiveDialog();
- TQIntDict<KWallet::Backend> _wallets;
+ TQIntDict<TDEWallet::Backend> _wallets;
TQMap<TQCString,TQValueList<int> > _handles;
TQMap<TQString,TQCString> _passwords;
KDirWatch *_dw;
@@ -191,7 +191,7 @@ class KWalletD : public KDEDModule {
KTimeout *_timeouts;
TQTimer _tryOpenBlocked;
- TQPtrList<KWalletTransaction> _transactions;
+ TQPtrList<TDEWalletTransaction> _transactions;
TQGuardedPtr< TQWidget > activeDialog;
};
diff --git a/tdeio/misc/tdewalletd/tdewalletwizard.ui b/tdeio/misc/tdewalletd/tdewalletwizard.ui
index c31062c2a..5b7195806 100644
--- a/tdeio/misc/tdewalletd/tdewalletwizard.ui
+++ b/tdeio/misc/tdewalletd/tdewalletwizard.ui
@@ -1,8 +1,8 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>KWalletWizard</class>
+<class>TDEWalletWizard</class>
<widget class="TQWizard">
<property name="name">
- <cstring>KWalletWizard</cstring>
+ <cstring>TDEWalletWizard</cstring>
</property>
<property name="geometry">
<rect>
@@ -53,7 +53,7 @@
</font>
</property>
<property name="text">
- <string>&lt;u&gt;KWallet&lt;/u&gt; - The KDE Wallet System</string>
+ <string>&lt;u&gt;TDEWallet&lt;/u&gt; - The KDE Wallet System</string>
</property>
<property name="textFormat">
<enum>RichText</enum>
@@ -78,7 +78,7 @@
<number>26</number>
</property>
<property name="text">
- <string>Welcome to KWallet, the KDE Wallet System. KWallet allows you to store your passwords and other personal information on disk in an encrypted file, preventing others from viewing the information. This wizard will tell you about KWallet and help you configure it for the first time.</string>
+ <string>Welcome to TDEWallet, the KDE Wallet System. TDEWallet allows you to store your passwords and other personal information on disk in an encrypted file, preventing others from viewing the information. This wizard will tell you about TDEWallet and help you configure it for the first time.</string>
</property>
<property name="textFormat">
<enum>RichText</enum>
@@ -398,7 +398,7 @@
<cstring>textLabel1_3</cstring>
</property>
<property name="text">
- <string>The KDE Wallet system allows you to control the level of security of your personal data. Some of these settings do impact usability. While the default settings are generally acceptable for most users, you may wish to change some of them. You may further tune these settings from the KWallet control module.</string>
+ <string>The KDE Wallet system allows you to control the level of security of your personal data. Some of these settings do impact usability. While the default settings are generally acceptable for most users, you may wish to change some of them. You may further tune these settings from the TDEWallet control module.</string>
</property>
<property name="textFormat">
<enum>RichText</enum>
@@ -494,31 +494,31 @@
<connection>
<sender>_useWallet</sender>
<signal>clicked()</signal>
- <receiver>KWalletWizard</receiver>
+ <receiver>TDEWalletWizard</receiver>
<slot>passwordPageUpdate()</slot>
</connection>
<connection>
<sender>_pass1</sender>
<signal>textChanged(const TQString&amp;)</signal>
- <receiver>KWalletWizard</receiver>
+ <receiver>TDEWalletWizard</receiver>
<slot>passwordPageUpdate()</slot>
</connection>
<connection>
<sender>_pass2</sender>
<signal>textChanged(const TQString&amp;)</signal>
- <receiver>KWalletWizard</receiver>
+ <receiver>TDEWalletWizard</receiver>
<slot>passwordPageUpdate()</slot>
</connection>
<connection>
<sender>_advanced</sender>
<signal>clicked()</signal>
- <receiver>KWalletWizard</receiver>
+ <receiver>TDEWalletWizard</receiver>
<slot>setAdvanced()</slot>
</connection>
<connection>
<sender>_basic</sender>
<signal>clicked()</signal>
- <receiver>KWalletWizard</receiver>
+ <receiver>TDEWalletWizard</receiver>
<slot>setBasic()</slot>
</connection>
</connections>
diff --git a/tdeio/misc/tdewalletd/tdewalletwizard.ui.h b/tdeio/misc/tdewalletd/tdewalletwizard.ui.h
index a42635e9b..ce1f5eeed 100644
--- a/tdeio/misc/tdewalletd/tdewalletwizard.ui.h
+++ b/tdeio/misc/tdewalletd/tdewalletwizard.ui.h
@@ -7,7 +7,7 @@
** place of a destructor.
*****************************************************************************/
-void KWalletWizard::passwordPageUpdate()
+void TDEWalletWizard::passwordPageUpdate()
{
bool fe = !_useWallet->isChecked() || _pass1->text() == _pass2->text();
if (_basic->isChecked()) {
@@ -34,7 +34,7 @@ void KWalletWizard::passwordPageUpdate()
}
-void KWalletWizard::init()
+void TDEWalletWizard::init()
{
setHelpEnabled(page1, false);
setHelpEnabled(page2, false);
@@ -46,7 +46,7 @@ void KWalletWizard::init()
}
-void KWalletWizard::setAdvanced()
+void TDEWalletWizard::setAdvanced()
{
setAppropriate(page3, true);
setAppropriate(page4, true);
@@ -57,7 +57,7 @@ void KWalletWizard::setAdvanced()
}
-void KWalletWizard::setBasic()
+void TDEWalletWizard::setBasic()
{
setAppropriate(page3, false);
setAppropriate(page4, false);
@@ -67,7 +67,7 @@ void KWalletWizard::setBasic()
}
-void KWalletWizard::destroy()
+void TDEWalletWizard::destroy()
{
_pass1->clear();
_pass2->clear();
diff --git a/tdeio/tdeio/tdeprotocolmanager.h b/tdeio/tdeio/tdeprotocolmanager.h
index 95106f90d..bfafdb3e0 100644
--- a/tdeio/tdeio/tdeprotocolmanager.h
+++ b/tdeio/tdeio/tdeprotocolmanager.h
@@ -189,7 +189,7 @@ public:
* Please note the use of .kionetrc files is highly discouraged since
* password is stored in clear text. For future releases the ability
* to store preset password for proxy servers will probably be supported
- * through KWallet integration.
+ * through TDEWallet integration.
*/
enum ProxyAuthMode
{
diff --git a/tdewallet/README b/tdewallet/README
index 661729a2f..59ca36b1e 100644
--- a/tdewallet/README
+++ b/tdewallet/README
@@ -6,8 +6,8 @@ It has been updated to 10/22/2003.
This directory consists of two libraries: tdewalletbackend and tdewalletclient
-KWallet::Backend is used inside kded to manage the actual files and
-encryption. On the other hand, KWallet::Wallet is used to represent
+TDEWallet::Backend is used inside kded to manage the actual files and
+encryption. On the other hand, TDEWallet::Wallet is used to represent
wallet entries and to encapsulate communication to and from the
wallet server inside kded.
diff --git a/tdewallet/backend/tdewalletbackend.cc b/tdewallet/backend/tdewalletbackend.cc
index 17fecae0c..e8bc45d2c 100644
--- a/tdewallet/backend/tdewalletbackend.cc
+++ b/tdewallet/backend/tdewalletbackend.cc
@@ -49,18 +49,18 @@
#define KWALLET_HASH_MD5 1 // unsupported
-using namespace KWallet;
+using namespace TDEWallet;
#define KWMAGIC "KWALLET\n\r\0\r\n"
#define KWMAGIC_LEN 12
-static void initKWalletDir()
+static void initTDEWalletDir()
{
TDEGlobal::dirs()->addResourceType("tdewallet", "share/apps/tdewallet");
}
Backend::Backend(const TQString& name, bool isPath) : _name(name), _ref(0) {
- initKWalletDir();
+ initTDEWalletDir();
if (isPath) {
_path = name;
} else {
@@ -244,7 +244,7 @@ static int password2hash(const TQByteArray& password, TQByteArray& hash) {
bool Backend::exists(const TQString& wallet) {
- initKWalletDir();
+ initTDEWalletDir();
TQString path = TDEGlobal::dirs()->saveLocation("tdewallet") + "/" + wallet + ".kwl";
// Note: 60 bytes is presently the minimum size of a wallet file.
// Anything smaller is junk.
@@ -453,17 +453,17 @@ int Backend::open(const TQByteArray& password) {
for (size_t i = 0; i < n; i++) {
TQString key;
- KWallet::Wallet::EntryType et = KWallet::Wallet::Unknown;
+ TDEWallet::Wallet::EntryType et = TDEWallet::Wallet::Unknown;
Entry *e = new Entry;
eStream >> key;
TQ_INT32 x = 0; // necessary to read properly
eStream >> x;
- et = static_cast<KWallet::Wallet::EntryType>(x);
+ et = static_cast<TDEWallet::Wallet::EntryType>(x);
switch (et) {
- case KWallet::Wallet::Password:
- case KWallet::Wallet::Stream:
- case KWallet::Wallet::Map:
+ case TDEWallet::Wallet::Password:
+ case TDEWallet::Wallet::Stream:
+ case TDEWallet::Wallet::Map:
break;
default: // Unknown entry
delete e;
diff --git a/tdewallet/backend/tdewalletbackend.h b/tdewallet/backend/tdewalletbackend.h
index 105d421db..dbbddba79 100644
--- a/tdewallet/backend/tdewalletbackend.h
+++ b/tdewallet/backend/tdewalletbackend.h
@@ -30,7 +30,7 @@
#include "tdewalletentry.h"
-namespace KWallet {
+namespace TDEWallet {
class MD5Digest;
diff --git a/tdewallet/backend/tdewalletentry.cc b/tdewallet/backend/tdewalletentry.cc
index a7e8a0425..d6b3aa84e 100644
--- a/tdewallet/backend/tdewalletentry.cc
+++ b/tdewallet/backend/tdewalletentry.cc
@@ -21,7 +21,7 @@
#include "tdewalletentry.h"
-using namespace KWallet;
+using namespace TDEWallet;
Entry::Entry() {
diff --git a/tdewallet/backend/tdewalletentry.h b/tdewallet/backend/tdewalletentry.h
index bd39e97d1..641b52195 100644
--- a/tdewallet/backend/tdewalletentry.h
+++ b/tdewallet/backend/tdewalletentry.h
@@ -27,7 +27,7 @@
#include "tdewallet.h"
-namespace KWallet {
+namespace TDEWallet {
/* @internal
*/
diff --git a/tdewallet/backend/tests/backendtest.cpp b/tdewallet/backend/tests/backendtest.cpp
index 76d59b153..85e916940 100644
--- a/tdewallet/backend/tests/backendtest.cpp
+++ b/tdewallet/backend/tests/backendtest.cpp
@@ -9,8 +9,8 @@
int main(int argc, char **argv) {
TDEApplication a(argc, argv, "tdewalletbackendtest");
- KWallet::Backend be("ktestwallet");
- printf("KWalletBackend constructed\n");
+ TDEWallet::Backend be("ktestwallet");
+ printf("TDEWalletBackend constructed\n");
TQByteArray apass, bpass, cpass;
diff --git a/tdewallet/client/tdewallet.cc b/tdewallet/client/tdewallet.cc
index add75c93d..c730f10d4 100644
--- a/tdewallet/client/tdewallet.cc
+++ b/tdewallet/client/tdewallet.cc
@@ -30,7 +30,7 @@
#include <assert.h>
-using namespace KWallet;
+using namespace TDEWallet;
const TQString Wallet::LocalWallet() {
diff --git a/tdewallet/client/tdewallet.h b/tdewallet/client/tdewallet.h
index fa5dbcbb2..e9bb65cec 100644
--- a/tdewallet/client/tdewallet.h
+++ b/tdewallet/client/tdewallet.h
@@ -38,7 +38,7 @@
class DCOPRef;
/** Namespace collecting all the Wallet-related classes. */
-namespace KWallet {
+namespace TDEWallet {
/**
* KDE Wallet
@@ -55,14 +55,14 @@ class TDEIO_EXPORT Wallet : public TQObject, public DCOPObject {
Q_OBJECT
protected:
/**
- * Construct a KWallet object.
+ * Construct a TDEWallet object.
* @internal
* @param handle The handle for the wallet.
* @param name The name of the wallet.
*/
Wallet(int handle, const TQString& name);
/**
- * Copy a KWallet object.
+ * Copy a TDEWallet object.
* @internal
*/
Wallet(const Wallet&);
@@ -71,7 +71,7 @@ class TDEIO_EXPORT Wallet : public TQObject, public DCOPObject {
enum EntryType { Unknown=0, Password, Stream, Map, Unused=0xffff };
/**
- * Destroy a KWallet object. Closes the wallet.
+ * Destroy a TDEWallet object. Closes the wallet.
*/
virtual ~Wallet();
diff --git a/tdewallet/tests/tdewalletasync.cpp b/tdewallet/tests/tdewalletasync.cpp
index 75d475b97..0c5d05ebc 100644
--- a/tdewallet/tests/tdewalletasync.cpp
+++ b/tdewallet/tests/tdewalletasync.cpp
@@ -19,7 +19,7 @@ void openWallet()
_out << "About to ask for wallet async" << endl;
// we have no wallet: ask for one.
- KWallet::Wallet *wallet = KWallet::Wallet::openWallet( KWallet::Wallet::NetworkWallet(), 0, KWallet::Wallet::Asynchronous );
+ TDEWallet::Wallet *wallet = TDEWallet::Wallet::openWallet( TDEWallet::Wallet::NetworkWallet(), 0, TDEWallet::Wallet::Asynchronous );
WalletReceiver r;
r.connect( wallet, TQT_SIGNAL( walletOpened(bool) ), TQT_SLOT( walletOpened(bool) ) );
diff --git a/tdewallet/tests/tdewalletboth.cpp b/tdewallet/tests/tdewalletboth.cpp
index efeeebc98..5dcdd57cc 100644
--- a/tdewallet/tests/tdewalletboth.cpp
+++ b/tdewallet/tests/tdewalletboth.cpp
@@ -19,14 +19,14 @@ void openWallet()
_out << "About to ask for wallet async" << endl;
// we have no wallet: ask for one.
- KWallet::Wallet *wallet = KWallet::Wallet::openWallet( KWallet::Wallet::NetworkWallet(), 0, KWallet::Wallet::Asynchronous );
+ TDEWallet::Wallet *wallet = TDEWallet::Wallet::openWallet( TDEWallet::Wallet::NetworkWallet(), 0, TDEWallet::Wallet::Asynchronous );
WalletReceiver r;
r.connect( wallet, TQT_SIGNAL( walletOpened(bool) ), TQT_SLOT( walletOpened(bool) ) );
_out << "About to ask for wallet sync" << endl;
- wallet = KWallet::Wallet::openWallet( KWallet::Wallet::NetworkWallet(), 0, KWallet::Wallet::Synchronous );
+ wallet = TDEWallet::Wallet::openWallet( TDEWallet::Wallet::NetworkWallet(), 0, TDEWallet::Wallet::Synchronous );
_out << "Got sync wallet: " << (wallet != 0) << endl;
_out << "About to start 30 second event loop" << endl;
diff --git a/tdewallet/tests/tdewalletsync.cpp b/tdewallet/tests/tdewalletsync.cpp
index 9ee39e4d4..ee0f29064 100644
--- a/tdewallet/tests/tdewalletsync.cpp
+++ b/tdewallet/tests/tdewalletsync.cpp
@@ -16,7 +16,7 @@ void openWallet()
{
_out << "About to ask for wallet sync" << endl;
- KWallet::Wallet *w = KWallet::Wallet::openWallet( KWallet::Wallet::NetworkWallet(), 0, KWallet::Wallet::Synchronous );
+ TDEWallet::Wallet *w = TDEWallet::Wallet::openWallet( TDEWallet::Wallet::NetworkWallet(), 0, TDEWallet::Wallet::Synchronous );
_out << "Got sync wallet: " << (w != 0) << endl;
}
diff --git a/tdewallet/tests/tdewallettest.h b/tdewallet/tests/tdewallettest.h
index c062760a4..e379a6cb4 100644
--- a/tdewallet/tests/tdewallettest.h
+++ b/tdewallet/tests/tdewallettest.h
@@ -3,7 +3,7 @@
#include <tqobject.h>
-namespace KWallet { class Wallet; }
+namespace TDEWallet { class Wallet; }
class WalletReceiver : public TQObject
{