summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/cryptplug.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /certmanager/lib/cryptplug.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'certmanager/lib/cryptplug.cpp')
-rw-r--r--certmanager/lib/cryptplug.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/certmanager/lib/cryptplug.cpp b/certmanager/lib/cryptplug.cpp
index c3c8b4622..53865edf4 100644
--- a/certmanager/lib/cryptplug.cpp
+++ b/certmanager/lib/cryptplug.cpp
@@ -226,7 +226,7 @@ OpenPGPCryptPlug::OpenPGPCryptPlug() : CryptPlug() {
/* Max number of parts in a DN */
#define MAX_GPGME_IDX 20
-/* some macros to tqreplace ctype ones and avoid locale problems */
+/* some macros to replace ctype ones and avoid locale problems */
#define spacep(p) (*(p) == ' ' || *(p) == '\t')
#define digitp(p) (*(p) >= '0' && *(p) <= '9')
#define hexdigitp(a) (digitp (a) \
@@ -789,7 +789,7 @@ sig_status_to_string( gpgme_sig_stat_t status )
// gpgme 0.3 version below, too!
static
void obtain_signature_information( gpgme_ctx_t ctx,
- gpgme_sig_stat_t & overallStatus,
+ gpgme_sig_stat_t & overalltqStatus,
struct CryptPlug::SignatureMetaData* sigmeta,
char** attrOrder,
const char* unknownAttrsHandling,
@@ -952,11 +952,11 @@ void obtain_signature_information( gpgme_ctx_t ctx,
storeNewCharPtr( &this_info.status_text, sig_status );
}
sigmeta->extended_info_count = sig_idx;
- overallStatus = intersect_stati( result->signatures );
- sigmeta->status_code = overallStatus;
- storeNewCharPtr( &sigmeta->status, sig_status_to_string( overallStatus ) );
+ overalltqStatus = intersect_stati( result->signatures );
+ sigmeta->status_code = overalltqStatus;
+ storeNewCharPtr( &sigmeta->status, sig_status_to_string( overalltqStatus ) );
if ( signatureFound )
- *signatureFound = ( overallStatus != GPGME_SIG_STAT_NONE );
+ *signatureFound = ( overalltqStatus != GPGME_SIG_STAT_NONE );
}
bool CryptPlug::checkMessageSignature( char** cleartext,