oopapidocs  2.0
QObjectWriter Class Reference

Writes out QObject properties and child objects in an XML format that can be read in later. More...

#include <qobjectwriter.h>

Inheritance diagram for QObjectWriter:
Collaboration diagram for QObjectWriter:

List of all members.

Public Member Functions

 QObjectWriter (const VariantWriter *vw=0, bool children=true)
virtual QString toString (const QVariant &variant, const QMetaProperty &meta) const

Detailed Description

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.


Constructor & Destructor Documentation

QObjectWriter::QObjectWriter ( const VariantWriter vw = 0,
bool  children = true 
)
Parameters:
vwan alternate VariantWriter for handling custom types

Definition at line 11 of file qobjectwriter.cpp.


Member Function Documentation

QString QObjectWriter::toString ( const QVariant &  variant,
const QMetaProperty &  meta 
) const [virtual]
Returns:
QString() if you do not know how to handle this type

Implements VariantWriter.

Definition at line 37 of file qobjectwriter.cpp.

References VariantWriter::toString().

Referenced by DataObject::toString().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Enumerations