A general class for all data that should be "storable". More...
#include <storabledata.h>
Public Slots | |
virtual void | notify () |
Signals | |
void | dataChanged () |
Public Member Functions | |
unsigned | id () const |
Protected Member Functions | |
void | deleteDependentData () |
Private Member Functions | |
virtual QList< StorableData * > | dependentData () const |
Friends | |
class | TaskManagerData |
A general class for all data that should be "storable".
This class is used as an abstraction for any kind of data that can be stored in a TaskManagerData object. It is also used for conveniently managing dependencies between different data objects.
Definition at line 21 of file storabledata.h.
void domain::StorableData::dataChanged | ( | ) | [signal] |
Emitted when some property changed.
void StorableData::deleteDependentData | ( | ) | [protected] |
Deletes all objects in the list returned by deleteDependentData(). This function is available for subclasses to be able to delete their dependent data at a convenient time during destruction.
Definition at line 32 of file storabledata.cpp.
QList< StorableData * > StorableData::dependentData | ( | ) | const [private, virtual] |
Returns a list of objects that depend on the existence of this object.
Reimplemented in domain::Project, domain::Resource, domain::Task, and domain::User.
Definition at line 27 of file storabledata.cpp.
void StorableData::notify | ( | ) | [virtual, slot] |
This can be used to notify this object when something has happened that could have changed something about this object.
Reimplemented in domain::Task.
Definition at line 23 of file storabledata.cpp.