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

List:       kde-commits
Subject:    kdepim/libkdenetwork/gpgmepp
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2004-03-29 9:12:13
Message-ID: 20040329091213.4E77090E1 () office ! kde ! org
[Download RAW message or body]

CVS commit by mutz: 

s/isSecret()/hasSecret()/


  M +1 -1      key.cpp   1.7
  M +2 -1      key.h   1.7


--- kdepim/libkdenetwork/gpgmepp/key.cpp  #1.6:1.7
@@ -190,5 +190,5 @@ namespace GpgME {
   }
 
-  bool Key::isSecret() const {
+  bool Key::hasSecret() const {
     return d->key && d->key->secret;
   }

--- kdepim/libkdenetwork/gpgmepp/key.h  #1.6:1.7
@@ -69,5 +69,6 @@ namespace GpgME {
     bool canAuthenticate() const;
 
-    bool isSecret() const;
+    bool hasSecret() const;
+    bool isSecret() const { return hasSecret(); }
 
     enum OwnerTrust { Unknown=0, Undefined=1, Never=2,


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

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