Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QPimDependencyList class manages the dependencies between QPimRecords. More...
#include <QPimDependencyList>
The QPimDependencyList class manages the dependencies between QPimRecords.
This allows the relationships between certain types of records to be maintained. For example, a QContact may have a QAppointment that represents the birthday or anniversary of that contact. In this case, the QAppointment depends on the QContact. When the QContact is removed, the QAppointments will be removed as well.
Currently there are three types of dependencies defined:
See also Pim Library.
Records the dependency of the record given by destid on the parent record srcid, with the given dependency type deptype.
Returns true on success, false otherwise.
Returns the dependency type and identifier of any records that are a dependant of the record with the given recid
See also typedChildrenRecords().
If the record identified by recid has a parent dependency, returns the type of the dependency. Otherwise returns a null string.
See also parentRecord().
If the record identified by recid has a parent dependency, returns the identifier for that parent. Otherwise returns a null identifier.
See also parentDependencyType().
Removes the dependency from the record destid to the record srcid, with the specified dependency type deptype.
Returns true on success, false otherwise.
Returns the identifiers of any records that are a dependant of the record with the given recid, and have the given deptype of dependency.
See also childrenRecords().
Updates the target of the dependency from the given srcid and type deptype to the new destination destid.
Returns true on success, false otherwise.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |