static bool setCurrent(const QString &path)
Sets the application's current working directory to path.
void close() override
Calls QFileDevice::flush() and closes the file.
bool open(OpenMode flags) override
Opens the file using OpenMode mode, returning true if successful; otherwise false.
void setFileName(const QString &name)
Sets the name of the file.
qint64 write(const char *data, qint64 len)
Writes at most maxSize bytes of data from data to the device.
size_t qstrlen(const char *str)
void printError(const char *msg)
[0]