summaryrefslogtreecommitdiffstats
path: root/libkpgp/kpgp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkpgp/kpgp.cpp')
-rw-r--r--libkpgp/kpgp.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libkpgp/kpgp.cpp b/libkpgp/kpgp.cpp
index 8a9c68989..53b77913f 100644
--- a/libkpgp/kpgp.cpp
+++ b/libkpgp/kpgp.cpp
@@ -313,7 +313,7 @@ Module::clearsign( Block& block,
Kpgp::Result
Module::encrypt( Block& block,
- const TQStringList& receivers, const KeyID& keyId,
+ const TQStringList& tqreceivers, const KeyID& keyId,
bool sign, const TQCString& charset )
{
KeyIDList encryptionKeyIds; // list of keys which are used for encryption
@@ -324,8 +324,8 @@ Module::encrypt( Block& block,
setUser( keyId );
- if( !receivers.empty() ) {
- Kpgp::Result result = getEncryptionKeys( encryptionKeyIds, receivers,
+ if( !tqreceivers.empty() ) {
+ Kpgp::Result result = getEncryptionKeys( encryptionKeyIds, tqreceivers,
keyId );
if( Kpgp::Ok != result ) {
return result;
@@ -1705,7 +1705,7 @@ Module::keysForAddress( const TQString& address )
return KeyIDList();
}
TQString addr = canonicalAddress( address ).lower();
- if( addressDataDict.contains( addr ) ) {
+ if( addressDataDict.tqcontains( addr ) ) {
return addressDataDict[addr].keyIds;
}
else {
@@ -1720,7 +1720,7 @@ Module::setKeysForAddress( const TQString& address, const KeyIDList& keyIds )
return;
}
TQString addr = canonicalAddress( address ).lower();
- if( addressDataDict.contains( addr ) ) {
+ if( addressDataDict.tqcontains( addr ) ) {
addressDataDict[addr].keyIds = keyIds;
}
else {
@@ -1782,7 +1782,7 @@ EncryptPref
Module::encryptionPreference( const TQString& address )
{
TQString addr = canonicalAddress( address ).lower();
- if( addressDataDict.contains( addr ) ) {
+ if( addressDataDict.tqcontains( addr ) ) {
return addressDataDict[addr].encrPref;
}
else {
@@ -1798,7 +1798,7 @@ Module::setEncryptionPreference( const TQString& address,
return;
}
TQString addr = canonicalAddress( address ).lower();
- if( addressDataDict.contains( addr ) ) {
+ if( addressDataDict.tqcontains( addr ) ) {
addressDataDict[addr].encrPref = pref;
}
else {