|
AlbumShaper 1.0a3
|
#include <fstream>#include <qstring.h>#include <qfile.h>#include <qdir.h>#include <qlibrary.h>#include "fileTools.h"
Go to the source code of this file.
Functions | |
| bool | moveFile (QString oldName, QString newName) |
| bool | copyFile (QString oldFilePath, QString newFilePath) |
| Copies a file from one location to another. | |
| QString | fixFilename (QString filename) |
| Replaces invalid characters in filenames with valid ones. | |
| bool copyFile | ( | QString | oldFilePath, |
| QString | newFilePath ) |
Copies a file from one location to another.
Definition at line 61 of file fileTools.cpp.
References buffer.
Referenced by Album::exportCompressedWebAlbum(), Album::exportLargeImages(), Album::exportSubalbumImages(), Album::exportThemeResources(), moveFile(), Photo::setImage(), Photo::setImage(), and setWallpaper().
| QString fixFilename | ( | QString | filename | ) |
Replaces invalid characters in filenames with valid ones.
Definition at line 137 of file fileTools.cpp.
Referenced by TitleWidget::exportLargeImages(), and TitleWidget::exportSmallWebGallery().
| bool moveFile | ( | QString | oldName, |
| QString | newName ) |
Definition at line 40 of file fileTools.cpp.
References copyFile().
Referenced by Photo::applyTransformation(), Album::exportSubalbumImages(), and Album::reorderSubalbumImages().