summaryrefslogtreecommitdiff
path: root/library/filemanager.h
Side-by-side diff
Diffstat (limited to 'library/filemanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/filemanager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/filemanager.h b/library/filemanager.h
index f8d9425..61a3341 100644
--- a/library/filemanager.h
+++ b/library/filemanager.h
@@ -17,40 +17,42 @@
** not clear to you.
**
**********************************************************************/
#ifndef FILEMANAGER_H
#define FILEMANAGER_H
#include <qstring.h>
#include <qstringlist.h>
class AppLnk;
class DocLnk;
class FileManagerPrivate;
class FileManager
{
public:
FileManager();
~FileManager();
bool saveFile( const DocLnk&, const QByteArray &data );
bool saveFile( const DocLnk&, const QString &text );
bool loadFile( const DocLnk&, QByteArray &data );
bool loadFile( const DocLnk&, QString &text );
bool copyFile( const AppLnk &src, const AppLnk &dest );
-
- // The caller must delete the return values.
+ bool copyFile( const QString & src, const QString & dest );
+ bool renameFile( const QString &, const QString &);
+
+// The caller must delete the return values.
QIODevice* openFile( const DocLnk& );
QIODevice* saveFile( const DocLnk& );
bool exists( const DocLnk& );
protected:
bool ensurePathExists( const QString &fn );
private:
FileManagerPrivate *d;
};
#endif