[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kwallet/client
From:       George Staikos <staikos () kde ! org>
Date:       2003-08-04 23:39:02
[Download RAW message or body]

CVS commit by staikos: 

anonymous entry writes


  M +16 -0     kwallet.cc   1.22
  M +2 -0      kwallet.h   1.15


--- kdelibs/kwallet/client/kwallet.cc  #1.21:1.22
@@ -375,4 +375,20 @@ return rc;
 
 
+int Wallet::writeEntry(const QString& key, const QByteArray& value, EntryType \
entryType) { +int rc = -1;
+
+        if (_handle == -1) {
+                return rc;
+        }
+
+        DCOPReply r = _dcopRef->call("writeEntry", _handle, _folder, key, value, \
long(entryType)); +        if (r.isValid()) {
+                r.get(rc);
+        }
+
+return rc;
+}
+
+
 int Wallet::writeEntry(const QString& key, const QByteArray& value) {
 int rc = -1;

--- kdelibs/kwallet/client/kwallet.h  #1.14:1.15
@@ -90,4 +90,6 @@ class Wallet : public QObject, public DC
                 virtual int readPassword(const QString& key, QString& value);
 
+                virtual int writeEntry(const QString& key, const QByteArray& value, \
EntryType entryType); +
                 virtual int writeEntry(const QString& key, const QByteArray& value);
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic