-rw-r--r-- | library/filemanager.h | 6 |
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 | |||
@@ -33,18 +33,20 @@ public: | |||
33 | FileManager(); | 33 | FileManager(); |
34 | ~FileManager(); | 34 | ~FileManager(); |
35 | 35 | ||
36 | bool saveFile( const DocLnk&, const QByteArray &data ); | 36 | bool saveFile( const DocLnk&, const QByteArray &data ); |
37 | bool saveFile( const DocLnk&, const QString &text ); | 37 | bool saveFile( const DocLnk&, const QString &text ); |
38 | bool loadFile( const DocLnk&, QByteArray &data ); | 38 | bool loadFile( const DocLnk&, QByteArray &data ); |
39 | bool loadFile( const DocLnk&, QString &text ); | 39 | bool loadFile( const DocLnk&, QString &text ); |
40 | bool copyFile( const AppLnk &src, const AppLnk &dest ); | 40 | bool copyFile( const AppLnk &src, const AppLnk &dest ); |
41 | 41 | bool copyFile( const QString & src, const QString & dest ); | |
42 | // The caller must delete the return values. | 42 | bool renameFile( const QString &, const QString &); |
43 | |||
44 | // The caller must delete the return values. | ||
43 | QIODevice* openFile( const DocLnk& ); | 45 | QIODevice* openFile( const DocLnk& ); |
44 | QIODevice* saveFile( const DocLnk& ); | 46 | QIODevice* saveFile( const DocLnk& ); |
45 | 47 | ||
46 | bool exists( const DocLnk& ); | 48 | bool exists( const DocLnk& ); |
47 | 49 | ||
48 | protected: | 50 | protected: |
49 | bool ensurePathExists( const QString &fn ); | 51 | bool ensurePathExists( const QString &fn ); |
50 | 52 | ||