bool rename(const QString &newName)
Renames the file currently specified by fileName() to newName.
The QImageWriter class provides a format independent interface for writing images to files or other d...
bool write(const QImage &image)
Writes the image image to the assigned device or file name.
\macro QT_RESTRICTED_CAST_FROM_ASCII
#define QStringLiteral(str)