-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: 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 ); |