diff options
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, |