diff options
author | Timothy Pearson <[email protected]> | 2013-01-27 01:04:58 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-27 01:04:58 -0600 |
commit | b10a61b1fd2fe561ba61a384d4a344bae2a4aa29 (patch) | |
tree | 99dc6b2584265b2df91f7dbc1dcbf7a54efd205e /kget/kfileio.h | |
parent | 64c3be47ff36e40035ead93f913aeeb1e4f85e4b (diff) | |
download | tdenetwork-b10a61b1fd2fe561ba61a384d4a344bae2a4aa29.tar.gz tdenetwork-b10a61b1fd2fe561ba61a384d4a344bae2a4aa29.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kget/kfileio.h')
-rw-r--r-- | kget/kfileio.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/kget/kfileio.h b/kget/kfileio.h deleted file mode 100644 index 84a50cd2..00000000 --- a/kget/kfileio.h +++ /dev/null @@ -1,44 +0,0 @@ -/*************************************************************************** -* kfileio.h -* ------------------- -* -* Revision : $Id$ -* begin : Tue Jan 29 2002 -* copyright : (C) 2002 by Patrick Charbonnier -* -* email : [email protected] -* -***************************************************************************/ - -/* Load / save entire (local) files with nice diagnostics dialog messages. - * These functions load/save the whole buffer in one i/o call, so they - * should be pretty efficient. - * - * Author: Stefan Taferner <[email protected]> - * This code is under GPL. - */ -#ifndef kfileio_h -#define kfileio_h - -/** 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 - * 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. - */ -TQString kFileToString(const TQString & fileName, bool ensureNewline = TRUE, 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. - */ -bool kCStringToFile(const TQCString & buffer, const TQString & fileName, bool askIfExists = FALSE, bool createBackup = TRUE, bool withDialogs = TRUE); - -// Does not stop at NUL -bool kByteArrayToFile(const TQByteArray & buffer, const TQString & fileName, bool askIfExists = FALSE, bool createBackup = TRUE, bool withDialogs = TRUE); - - -#endif /* kfileio_h */ |