Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QPimRecord class is the base class for PIM data recorded in the Qt Extended database. More...
#include <QPimRecord>
Inherited by QAppointment, QContact, and QTask.
The QPimRecord class is the base class for PIM data recorded in the Qt Extended database.
The QPimRecord class contains data that is common to the differing kinds of PIM records such as contacts, tasks and appointments. It is an also abstract and as such should not be created explicitly. Instead use one of the subclasses, QContact, QAppointment or QTask.
See also Pim Library.
Destroys the record.
Returns the set of categories the record belongs to.
See also setCategories() and categoriesRef().
Subclasses should re-implement this function to return a reference to the categories for this object.
See also categories().
This is an overloaded member function, provided for convenience.
Subclasses should re-implement this function to return a reference to the categories for this object.
See also categories().
Returns the string stored for the custom field key. Returns a null string if the field does not exist.
See also setCustomField() and customFields().
Returns a map of custom field key and value pairs for the record.
See also setCustomFields(), customField(), and customFieldsRef().
Subclasses should re-implement this function to return a reference to the custom fields for this object.
See also customFields().
This is an overloaded member function, provided for convenience.
Subclasses should re-implement this function to return a reference to the custom fields for this object.
See also customFields().
Returns the identifiers and type of dependency for any records that depend on this record.
See also dependentChildrenOfType().
Returns the record identifiers for any records that have the specified type of dependency on this record.
For example, if this record is a QContact, there may be QAppointment objects that have a "birthday" or "anniversary" dependency on this record.
See also dependentChildren().
Returns the notes for the record.
See also setNotes().
If this record is a dependant of another record (for example, this record is the appointment that represents a contact's birthday), this function returns the identifier for the original record.
Otherwise, returns a null identifier.
See also parentDependencyType().
If this record is a dependant of another record (for example, this record is the appointment that represents a contact's birthday), this function returns the type of the dependency. The types are defined by the PIM library, and include:
If there is no dependency, this will return a null string.
See also parentDependency().
Removes categories from record that do not appear in the given set of valid categories. Returns true if the record was modified.
Renames category oldId in record to category newId.
Removes the custom field for the given key.
Sets the record to belong to the given set of categories.
See also categories() and Categories.
This is an overloaded member function, provided for convenience.
Sets the record to belong only to the given category identifier.
See also categories() and Categories.
Sets the string stored for the custom field key to the given value.
Keys with empty values will not be stored, and is equivalent to calling removeCustomField().
See also customField().
Sets the custom fields for the record to the given fields.
Custom fields allow storing data that doesn't fit into the existing fields for a given PIM record.
Keys with empty values will not be stored.
See also customFields() and setCustomField().
Sets the notes for the record to the given text.
See also notes().
Sets the record to have given unique identifier.
See also uid().
Returns the unique identifier for this record.
See also setUid() and uidRef().
Subclasses should re-implement this function to return a reference to the identifier for this object.
See also uid().
This is an overloaded member function, provided for convenience.
Subclasses should re-implement this function to return a reference to the identifier for this object.
See also uid().
Returns true if this record and the other record are not equal according to the contract specified by operator==().
See also operator==().
Returns true if this record and the other record have all the same:
and otherwise returns false.
See also operator!=().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |