kfileio.h
00001
00002
00003
00004
00005
00006
00007
00008
#ifndef kpim_kfileio_h
00009
#define kpim_kfileio_h
00010
00011
#include <qcstring.h>
00012
00013
class QString;
00014
00015
namespace KPIM {
00016
00025
QCString kFileToString(
const QString &fileName,
bool ensureNewline=
true,
00026
bool withDialogs=
true);
00027
00028
00029
00030
00031
00037
bool kBytesToFile(
const char* aBuffer,
int len,
00038
const QString &aFileName,
00039
bool aAskIfExists,
bool aBackup,
bool aVerbose);
00040
00041
bool kCStringToFile(
const QCString& buffer,
const QString &fileName,
00042
bool askIfExists=
false,
bool createBackup=
true,
00043
bool withDialogs=
true);
00045
bool kByteArrayToFile(
const QByteArray& buffer,
const QString &fileName,
00046
bool askIfExists=
false,
bool createBackup=
true,
00047
bool withDialogs=
true);
00048
00049 }
00050
00051
#endif
This file is part of the documentation for libkdepim Library Version 3.3.0.