diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
commit | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch) | |
tree | 89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /libkpgp/kpgpblock.h | |
parent | 1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff) | |
download | tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libkpgp/kpgpblock.h')
-rw-r--r-- | libkpgp/kpgpblock.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libkpgp/kpgpblock.h b/libkpgp/kpgpblock.h index e3308eab9..ac0214aaa 100644 --- a/libkpgp/kpgpblock.h +++ b/libkpgp/kpgpblock.h @@ -58,7 +58,7 @@ typedef enum { NO_SEC_KEY = 0x0100, MISSINGKEY = 0x0200, CANCEL = 0x8000 -} MessagetqStatus; +} MessageStatus; class Base; class Module; @@ -103,7 +103,7 @@ class KDE_EXPORT Block void setProcessedText( const TQCString& str ); int status() const; - void setqStatus( const int status ); + void seStatus( const int status ); BlockType type(); @@ -169,7 +169,7 @@ class KDE_EXPORT Block false if there was an unresolvable error or if encryption was canceled true if everything is o.k. */ - Kpgp::Result encrypt( const TQStringList& tqreceivers, const TQCString& keyId, + Kpgp::Result encrypt( const TQStringList& receivers, const TQCString& keyId, const bool sign, const TQCString& charset = TQCString() ); private: @@ -186,7 +186,7 @@ class KDE_EXPORT Block TQCString mRequiredKey; TQString mRequiredUserId; TQStrList mEncryptedFor; - int mtqStatus; + int mStatus; bool mHasBeenProcessed; BlockType mType; }; @@ -231,13 +231,13 @@ Block::setError( const TQCString& str ) inline int Block::status() const { - return mtqStatus; + return mStatus; } inline void -Block::setqStatus( const int status ) +Block::seStatus( const int status ) { - mtqStatus = status; + mStatus = status; } inline BlockType @@ -317,7 +317,7 @@ Block::encryptedFor() const inline bool Block::isEncrypted() const { - if( mtqStatus & ENCRYPTED ) + if( mStatus & ENCRYPTED ) return true; return false; } @@ -325,7 +325,7 @@ Block::isEncrypted() const inline bool Block::isSigned() const { - if( mtqStatus & SIGNED ) + if( mStatus & SIGNED ) return true; return false; } @@ -333,7 +333,7 @@ Block::isSigned() const inline bool Block::goodSignature() const { - if( mtqStatus & GOODSIG ) + if( mStatus & GOODSIG ) return true; return false; } @@ -342,7 +342,7 @@ Block::goodSignature() const inline bool Block::unknownSigner() const { - if( mtqStatus & UNKNOWN_SIG ) + if( mStatus & UNKNOWN_SIG ) return true; return false; } |