diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 04:24:29 +0200 |
commit | e3649f744289c180537d2d8474dc0e39050e654f (patch) | |
tree | 5d3d773985c0bfdfed5e0aed35fe8b2441d60787 /libkdenetwork/gpgmepp | |
parent | 4b4a3f32d8e71d79626206211ee6e23ee1e968b8 (diff) | |
download | tdepim-e3649f744289c180537d2d8474dc0e39050e654f.tar.gz tdepim-e3649f744289c180537d2d8474dc0e39050e654f.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78)
Diffstat (limited to 'libkdenetwork/gpgmepp')
-rw-r--r-- | libkdenetwork/gpgmepp/importresult.cpp | 4 | ||||
-rw-r--r-- | libkdenetwork/gpgmepp/importresult.h | 4 | ||||
-rw-r--r-- | libkdenetwork/gpgmepp/key.cpp | 2 | ||||
-rw-r--r-- | libkdenetwork/gpgmepp/key.h | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/libkdenetwork/gpgmepp/importresult.cpp b/libkdenetwork/gpgmepp/importresult.cpp index 3b4b713c7..d23c195e3 100644 --- a/libkdenetwork/gpgmepp/importresult.cpp +++ b/libkdenetwork/gpgmepp/importresult.cpp @@ -190,7 +190,7 @@ GpgME::Error GpgME::Import::error() const { return isNull() ? 0 : d->imports[idx]->result ; } -GpgME::Import::tqStatus GpgME::Import::status() const { +GpgME::Import::Status GpgME::Import::status() const { if ( isNull() ) return Unknown; unsigned int s = d->imports[idx]->status; @@ -200,5 +200,5 @@ GpgME::Import::tqStatus GpgME::Import::status() const { if ( s & GPGME_IMPORT_SIG ) result |= NewSignatures; if ( s & GPGME_IMPORT_SUBKEY ) result |= NewSubkeys; if ( s & GPGME_IMPORT_SECRET ) result |= ContainedSecretKey; - return static_cast<tqStatus>( result ); + return static_cast<Status>( result ); } diff --git a/libkdenetwork/gpgmepp/importresult.h b/libkdenetwork/gpgmepp/importresult.h index 9a79b7b30..2bb1b61b3 100644 --- a/libkdenetwork/gpgmepp/importresult.h +++ b/libkdenetwork/gpgmepp/importresult.h @@ -83,7 +83,7 @@ namespace GpgME { const char * fingerprint() const; Error error() const; - enum tqStatus { + enum Status { Unknown = 0x0, NewKey = 0x1, NewUserIDs = 0x2, @@ -91,7 +91,7 @@ namespace GpgME { NewSubkeys = 0x8, ContainedSecretKey = 0x10 }; - tqStatus status() const; + Status status() const; private: ImportResult::Private * d; diff --git a/libkdenetwork/gpgmepp/key.cpp b/libkdenetwork/gpgmepp/key.cpp index 13cd0a7ee..cf70aaf03 100644 --- a/libkdenetwork/gpgmepp/key.cpp +++ b/libkdenetwork/gpgmepp/key.cpp @@ -733,7 +733,7 @@ namespace GpgME { return d->sig ? d->sig->sig_class : 0 ; } - UserID::Signature::tqStatus UserID::Signature::status() const { + UserID::Signature::Status UserID::Signature::status() const { if ( !d->sig ) return GeneralError; diff --git a/libkdenetwork/gpgmepp/key.h b/libkdenetwork/gpgmepp/key.h index e143b47e0..c25e3a6f3 100644 --- a/libkdenetwork/gpgmepp/key.h +++ b/libkdenetwork/gpgmepp/key.h @@ -235,9 +235,9 @@ namespace GpgME { unsigned int certClass() const; - enum tqStatus { NoError = 0, SigExpired, KeyExpired, + enum Status { NoError = 0, SigExpired, KeyExpired, BadSignature, NoPublicKey, GeneralError }; - tqStatus status() const; + Status status() const; const char * statusAsString() const; const char * policyURL() const; |