-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 @@ -35,14 +35,16 @@ public: 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: |