#include <qsserializable.h>
Public Types | |
enum | Flags { CopyAllData = 1<<0 } |
Public Methods | |
QSObjectFactory () | |
virtual | ~QSObjectFactory () |
virtual QSSerializable * | loadObjectFromStream (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 |
|
Constructor |
|
Destructor |
|
Returns flags. |
|
Loads objects from a stream. It loads a type of object ( eg. class name ), creates it, and calls QSSerializable::loadStateFromStream() |
|
Save object to stream. It save a type of object ( eg. class name ) to the stream and calls QSSerializable::saveStateToStream(). |
|
Sets flags |