-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 | |||
@@ -29,26 +29,28 @@ class FileManagerPrivate; | |||
29 | 29 | ||
30 | class FileManager | 30 | class FileManager |
31 | { | 31 | { |
32 | public: | 32 | 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 | ||
51 | private: | 53 | private: |
52 | FileManagerPrivate *d; | 54 | FileManagerPrivate *d; |
53 | }; | 55 | }; |
54 | 56 | ||