make kBytesToFile 'public'.

svn path=/trunk/kdepim/; revision=265954
wilder-work
Ingo Klcker 23 years ago
parent 5fe1d9e655
commit 434329ff13
  1. 1
      kfileio.cpp
  2. 4
      kfileio.h

@ -157,7 +157,6 @@ QByteArray kFileToBytes(const QString &aFileName, bool aVerbose)
//-----------------------------------------------------------------------------
static
bool kBytesToFile(const char* aBuffer, int len,
const QString &aFileName,
bool aAskIfExists, bool aBackup, bool aVerbose)

@ -31,6 +31,10 @@ QByteArray kFileToBytes(const QString &fileName, bool withDialogs=true);
* 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 QString &aFileName,
bool aAskIfExists, bool aBackup, bool aVerbose);
bool kCStringToFile(const QCString& buffer, const QString &fileName,
bool askIfExists=false, bool createBackup=true,
bool withDialogs=true);

Loading…
Cancel
Save