| Home · All Classes · Annotated · Functions |
The QPimRecord class is the base class for PIM data recorded in the Qtopia database. More...
#include <QPimRecord>
Inherited by QAppointment, QContact, and QTask.
The QPimRecord class is the base class for PIM data recorded in the Qtopia database.
The Pim record class contains data that is common to all data used by the PIM applications, in particular a unique ID and a set of categories.
A QPimRecord's ID is returned by uid() and is set with setUid(). Each category is represented by an integer. A QPimRecord's categories are returned by categories() and are set with setCategories().
QPimRecord comparisons are provided by operator==() and operator!=().
Destroys the record
Returns the set of categories the record belongs to.
See also setCategories().
Subclass should reimplement this function to return a reference to the categories for this object.
This is an overloaded member function, provided for convenience.
Subclass should reimplement this function to return a reference to the categories for this object.
Returns the string stored for the custom field key. Returns a null string if the field does not exist.
See also setCustomField().
Returns a map of custom field key and value for the record.
See also setCustomFields().
Subclass should reimplement this function to return a reference to the custom fields for this object.
This is an overloaded member function, provided for convenience.
Subclass should reimplement this function to return a reference to the custom fields for this object.
Returns the notes for the record.
See also setNotes().
Removes categories from record that do not appear in validCats
Renames category oldId in record to category newId
Removes the custom field key.
Sets the record to belong to the set of categories specificed by categories.
See also categories().
This is an overloaded member function, provided for convenience.
Sets the record to belong only to the category specified by id.
See also categories().
Sets the string stored for the custom field key to value.
See also customField().
Sets the custom fields for the record to fields.
See also customFields().
Sets the notes for the record to text.
See also notes().
Returns the unique ID for this record.
Subclass should reimplement this function to return a reference to the unqiue id for this object.
This is an overloaded member function, provided for convenience.
Subclass should reimplement this function to return a reference to the unqiue id for this object.
Returns true if the record does not have the same Uid as other; otherwise returns false.
See also operator==().
Returns true if the record has the same Uid as other; otherwise returns false.
See also operator!=().
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |