Qtopia::Record Class Reference
The base class of all Records. More...
#include <palmtoprecord.h>
Inheritance diagram for Qtopia::Record:


Public Member Functions | |
| Record (const Record &c) | |
| Record & | operator= (const Record &c) |
| virtual bool | match (const QRegExp &) const |
| void | setCategories (const QArray< int > &v) |
| void | setCategories (int single) |
| const QArray< int > & | categories () const |
| void | reassignCategoryId (int oldId, int newId) |
| int | uid () const |
| virtual void | setUid (int i) |
| bool | isValidUid () const |
| void | assignUid () |
| virtual QString | customField (const QString &) const |
| virtual void | setCustomField (const QString &, const QString &) |
| virtual void | removeCustomField (const QString &) |
| virtual bool | operator== (const Record &r) const |
| virtual bool | operator!= (const Record &r) const |
Static Public Member Functions | |
| QString | idsToString (const QArray< int > &ids) |
| QArray< int > | idsFromString (const QString &str) |
| void | dump (const QMap< int, QString > &map) |
Protected Member Functions | |
| virtual UidGen & | uidGen ()=0 |
| virtual QString | customToXml () const |
Detailed Description
The base class of all Records.The base class for Records in Qtopia
Definition at line 50 of file palmtoprecord.h.
Member Function Documentation
|
|
Returns the string stored for the custom field key. Returns a null string if the field does not exist. Definition at line 89 of file palmtoprecord.cpp. References QMap< QString, QString >::contains(). |
|
||||||||||||
|
Sets the string stored for the custom field key to value. Definition at line 100 of file palmtoprecord.cpp. References QMap< QString, QString >::contains(), QMap< QString, QString >::insert(), and QMap< QString, QString >::replace(). |
|
|
Removes the custom field key. Definition at line 114 of file palmtoprecord.cpp. References QMap< QString, QString >::remove(). |
The documentation for this class was generated from the following files:
