#include <Describable.h>
Inheritance diagram for fun::Describable:
Public Methods | |
virtual QString | getDescription () const |
Returns this object's description. | |
virtual void | setDescription (const QString &newDescr) |
Sets this object's description & emits the descrChanged() signal. | |
virtual void | serialize (Serializer &ser) const |
Stores the Serializable object in the given Serializer. | |
virtual void | deserialize (const Deserializer &ser) |
Note that this does not emit the descrChanged() signal. |
I wanted it to be a QObject so that it could emit a signal when its description changed; see Nameable.h for why it isn't.
Definition at line 32 of file Describable.h.
|
Stores the Serializable object in the given Serializer. Derived classes should always start by calling the superclass' serialize(). They should also call setSerializableClass() with their own class name. NOT_DONE include a simple example here. Reimplemented from fun::Serializable. Definition at line 33 of file Describable.cpp. References fun::Serializer::putString(). |