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 /libtdepim/tdefileio.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 'libtdepim/tdefileio.h')
| -rw-r--r-- | libtdepim/tdefileio.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libtdepim/tdefileio.h b/libtdepim/tdefileio.h index baadf027..02a6f49f 100644 --- a/libtdepim/tdefileio.h +++ b/libtdepim/tdefileio.h @@ -19,11 +19,11 @@ namespace KPIM { /** Load a file. Returns a pointer to the memory-block that contains * the loaded file. Returns a null string if the file could not be loaded. - * If withDialogs is FALSE no warning dialogs are opened if there are + * If withDialogs is false no warning dialogs are opened if there are * problems. * The string returned is always zero-terminated and therefore one * byte longer than the file itself. - * If ensureNewline is TRUE the string will always have a trailing newline. + * If ensureNewline is true the string will always have a trailing newline. */ TQCString kFileToString(const TQString &fileName, bool ensureNewline=true, bool withDialogs=true) TDE_EXPORT; @@ -32,10 +32,10 @@ TQCString kFileToString(const TQString &fileName, bool ensureNewline=true, //TQByteArray kFileToBytes(const TQString &fileName, bool withDialogs=true); -/** Save a file. If withDialogs is FALSE no warning dialogs are opened if - * there are problems. Returns TRUE on success and FALSE on failure. - * Replaces existing files without warning if askIfExists==FALSE. - * Makes a copy if the file exists to filename~ if createBackup==TRUE. +/** Save a file. If withDialogs is false no warning dialogs are opened if + * there are problems. Returns true on success and false on failure. + * Replaces existing files without warning if askIfExists==false. + * Makes a copy if the file exists to filename~ if createBackup==true. */ bool kBytesToFile(const char* aBuffer, int len, const TQString &aFileName, |
