Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Examples  

QSObjectFactory Class Reference

Object that creates and saves serializable objects. More...

#include <qsserializable.h>

List of all members.

Public Types

enum  Flags { CopyAllData = 1<<0 }

Public Methods

 QSObjectFactory ()
virtual ~QSObjectFactory ()
virtual QSSerializableloadObjectFromStream (QDataStream &stream, QObject *parent=NULL)=0
virtual void saveObjectToStream (QSSerializable *object, QDataStream &stream)=0
void setFlags (int flags)
int flags () const

Protected Attributes

int m_flags

Detailed Description

Object that creates and saves serializable objects.

Kamil Dobkowski

Constructor & Destructor Documentation



virtual QSObjectFactory::~QSObjectFactory   [virtual]


Member Function Documentation

int QSObjectFactory::flags   const [inline]

Returns flags.

virtual QSSerializable* QSObjectFactory::loadObjectFromStream QDataStream &    stream,
QObject *    parent = NULL
[pure virtual]

Loads objects from a stream. It loads a type of object ( eg. class name ), creates it, and calls QSSerializable::loadStateFromStream()

virtual void QSObjectFactory::saveObjectToStream QSSerializable   object,
QDataStream &    stream
[pure virtual]

Save object to stream. It save a type of object ( eg. class name ) to the stream and calls QSSerializable::saveStateToStream().

void QSObjectFactory::setFlags int    flags

Sets flags

The documentation for this class was generated from the following file:
Generated on Mon Mar 18 19:16:49 2002 for KMatplot library by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002