Book Shelf
|
The FileWriter class is responsible for writing a string to a file. More...
#include <filewriter.h>
Public Member Functions | |
FileWriter (const QString &fileName) | |
Construct a new FileWriter object. | |
bool | write (const QString &contents) |
Write a string to the file. | |
The FileWriter class is responsible for writing a string to a file.
FileWriter::FileWriter | ( | const QString & | fileName | ) |
Construct a new FileWriter object.
fileName | The name of the file to write to. |
bool FileWriter::write | ( | const QString & | contents | ) |
Write a string to the file.
contents | The string to write. |