Interface for all objects that should be serialized by the PersistenceManager. More...
#include <InterfacePersistence.h>
Public Member Functions | |
virtual void | fromVariant (const QVariant &)=0 |
Load data from a QVariant to initialize the current object. More... | |
virtual QVariant | toVariant () const =0 |
Convert all data from the object to a QVariant (usually a QVariantMap) More... | |
Interface for all objects that should be serialized by the PersistenceManager.
|
pure virtual |
Load data from a QVariant to initialize the current object.
Implemented in camitk::PropertyObject, camitk::MeshComponent, camitk::ImageComponent, camitk::Component, and camitk::Action.
|
pure virtual |
Convert all data from the object to a QVariant (usually a QVariantMap)
Implemented in camitk::PropertyObject, camitk::MeshComponent, camitk::ImageComponent, camitk::Component, and camitk::Action.