domain::StorableData Class Reference

A general class for all data that should be "storable". More...

#include <storabledata.h>

Inheritance diagram for domain::StorableData:
Inheritance graph
[legend]
Collaboration diagram for domain::StorableData:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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.


Member Function Documentation

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.

Here is the call graph for this function:

QList< StorableData * > StorableData::dependentData (  )  const [private, virtual]

Returns a list of objects that depend on the existence of this object.

See also:
deleteDependentData()

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.

See also:
Clock

Reimplemented in domain::Task.

Definition at line 23 of file storabledata.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator
Generated on Thu May 27 14:20:16 2010 for MopTaskManager by  doxygen 1.6.3