summaryrefslogtreecommitdiffstats
path: root/libtdepim/tdefileio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/tdefileio.h')
-rw-r--r--libtdepim/tdefileio.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/libtdepim/tdefileio.h b/libtdepim/tdefileio.h
index f0cd8d8d..02a6f49f 100644
--- a/libtdepim/tdefileio.h
+++ b/libtdepim/tdefileio.h
@@ -11,7 +11,7 @@
#include <tqcstring.h>
#include <tqwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class TQString;
@@ -19,35 +19,35 @@ 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) KDE_EXPORT;
+ bool withDialogs=true) TDE_EXPORT;
// unused
//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,
- bool aAskIfExists, bool aBackup, bool aVerbose) KDE_EXPORT;
+ bool aAskIfExists, bool aBackup, bool aVerbose) TDE_EXPORT;
bool kCStringToFile(const TQCString& buffer, const TQString &fileName,
bool askIfExists=false, bool createBackup=true,
- bool withDialogs=true) KDE_EXPORT;
+ bool withDialogs=true) TDE_EXPORT;
/** Does not stop at NUL */
-KDE_EXPORT bool kByteArrayToFile(const TQByteArray& buffer, const TQString &fileName,
+bool kByteArrayToFile(const TQByteArray& buffer, const TQString &fileName,
bool askIfExists=false, bool createBackup=true,
- bool withDialogs=true) KDE_EXPORT;
+ bool withDialogs=true) TDE_EXPORT;
/**