17 #include <QtCore/QString> 18 #include <QtCore/QFile> 34 void close()
override;
35 void write(
const QString &data)
override;
void write(const QString &data) override
Write data to a file using UTF-8 encoding.
Definition: stubOutputDeviceFile.cpp:37
void close() override
Close a file.
Definition: stubOutputDeviceFile.cpp:32
bool open() override
Open a file. File name must be set previously.
Definition: stubOutputDeviceFile.cpp:26
Output device file abstraction.
Definition: outputDeviceFileInterface.h:23
QString fileName() const override
Returns name of a file.
Definition: stubOutputDeviceFile.cpp:42
StubOutputDeviceFile(const QString &fileName)
Constructor.
Definition: stubOutputDeviceFile.cpp:21
Empty implementation of output device file. Only logs operations.
Definition: stubOutputDeviceFile.h:26
Definition: brickFactory.h:21