diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-27 16:55:48 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-29 22:58:05 +0900 |
| commit | a88d4d648a4ae2d7d7abd23916b49b41c1a867f3 (patch) | |
| tree | 73aacc657e135ab179010d102fdbd7a0a9edc40d /libkpgp/kpgp.h | |
| parent | 409b67ac0559a06dc58da81fc90f0ba959d6068c (diff) | |
| download | tdepim-a88d4d64.tar.gz tdepim-a88d4d64.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8f878546e0a859e78dfc2c6ff7f08507347a76ea)
Diffstat (limited to 'libkpgp/kpgp.h')
| -rw-r--r-- | libkpgp/kpgp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkpgp/kpgp.h b/libkpgp/kpgp.h index bb4cc6fa..26f56cc8 100644 --- a/libkpgp/kpgp.h +++ b/libkpgp/kpgp.h @@ -198,8 +198,8 @@ public: */ Validity keyTrust( const TQString& userID ); - /** Returns TRUE if the given key is at least trusted marginally. Otherwise - FALSE is returned. + /** Returns true if the given key is at least trusted marginally. Otherwise + false is returned. */ bool isTrusted( const KeyID& keyID ); @@ -231,7 +231,7 @@ public: bool storePassPhrase(void) const; /** clears everything from memory */ - void clear(const bool erasePassPhrase = FALSE); + void clear(const bool erasePassPhrase = false); /** returns the last error that occurred */ const TQString lastErrorMsg(void) const; @@ -308,8 +308,8 @@ public: /** Parses the given message and splits it into OpenPGP blocks and Non-OpenPGP blocks. - Returns TRUE if the message contains at least one OpenPGP block and - FALSE otherwise. + Returns true if the message contains at least one OpenPGP block and + false otherwise. The format is then: <pre> 1st Non-OpenPGP block @@ -340,7 +340,7 @@ private: 0 (together with some warning message) if something is missing -1 if the passphrase dialog was canceled */ - int prepare(bool needPassPhrase=FALSE, Block* block = 0 ); + int prepare(bool needPassPhrase=false, Block* block = 0 ); /** cleanup passphrase if it should not be stored. */ void cleanupPass() { if (!storePass) wipePassPhrase(); } |
