diff options
Diffstat (limited to 'libkpgp/kpgpblock.cpp')
-rw-r--r-- | libkpgp/kpgpblock.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkpgp/kpgpblock.cpp b/libkpgp/kpgpblock.cpp index 4e5f92393..f1c6a5aef 100644 --- a/libkpgp/kpgpblock.cpp +++ b/libkpgp/kpgpblock.cpp @@ -27,7 +27,7 @@ Block::Block( const TQCString& str ) : mText(str), mProcessedText(), mError(), mSignatureUserId(), mSignatureKeyId(), mSignatureDate(), mRequiredKey(), mEncryptedFor(), - mtqStatus(0), mHasBeenProcessed(false), mType(NoPgpBlock) + mStatus(0), mHasBeenProcessed(false), mType(NoPgpBlock) { mEncryptedFor.setAutoDelete( true ); } @@ -46,7 +46,7 @@ Block::reset() mSignatureDate = TQCString(); mRequiredKey = TQCString(); mEncryptedFor.clear(); - mtqStatus = 0; + mStatus = 0; mHasBeenProcessed = false; } @@ -122,7 +122,7 @@ Block::clearsign( const TQCString& keyId, const TQCString& charset ) } Kpgp::Result -Block::encrypt( const TQStringList& tqreceivers, const TQCString& keyId, +Block::encrypt( const TQStringList& receivers, const TQCString& keyId, const bool sign, const TQCString& charset ) { Kpgp::Module *pgp = Kpgp::Module::getKpgp(); @@ -130,7 +130,7 @@ Block::encrypt( const TQStringList& tqreceivers, const TQCString& keyId, if( pgp == 0 ) return Kpgp::Failure; - return pgp->encrypt( *this, tqreceivers, keyId, sign, charset ); + return pgp->encrypt( *this, receivers, keyId, sign, charset ); } } // namespace Kpgp |