#include <backgroundfileformat.h>
The BackgroundFileFormat class provides a thin QObject wrapper around an instance of Io::FileFormat.
◆ BackgroundFileFormat()
This class takes ownership of format and will delete it when destructed.
◆ setMolecule()
void setMolecule |
( |
Core::Molecule * |
mol | ) |
|
The molecule instance to read/write.
◆ molecule()
Core::Molecule* molecule |
( |
| ) |
const |
The molecule instance to read/write.
◆ setFileName()
void setFileName |
( |
const QString & |
filename | ) |
|
The name of the file to read/write.
◆ fileName()
QString fileName |
( |
| ) |
const |
The name of the file to read/write.
◆ fileFormat()
Io::FileFormat* fileFormat |
( |
| ) |
const |
The Io::FileFormat to use.
◆ success()
- Returns
- True if the operation was successful.
◆ error()
- Returns
- An error string, set if success() is false.
◆ finished
Emitted when a call to read or write is called.
◆ read
◆ write