oopapidocs
2.0
|
Writes out QObject properties and child objects in an XML format that can be read in later. More...
#include <qobjectwriter.h>
Public Member Functions | |
QObjectWriter (const VariantWriter *vw=0, bool children=true) | |
virtual QString | toString (const QVariant &variant, const QMetaProperty &meta) const |
Writes out QObject properties and child objects in an XML format that can be read in later.
Definition at line 22 of file qobjectwriter.h.
QObjectWriter::QObjectWriter | ( | const VariantWriter * | vw = 0 , |
bool | children = true |
||
) |
vw | an alternate VariantWriter for handling custom types |
Definition at line 11 of file qobjectwriter.cpp.
QString QObjectWriter::toString | ( | const QVariant & | variant, |
const QMetaProperty & | meta | ||
) | const [virtual] |
Implements VariantWriter.
Definition at line 37 of file qobjectwriter.cpp.
References VariantWriter::toString().
Referenced by DataObject::toString().