-rw-r--r-- | libopie/pim/opimrecord.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/libopie/pim/opimrecord.h b/libopie/pim/opimrecord.h index e4d33d6..dbb94ed 100644 --- a/libopie/pim/opimrecord.h +++ b/libopie/pim/opimrecord.h @@ -8,7 +8,14 @@ #include <qpe/palmtoprecord.h> + +/** + * This is the base class for + * all PIM Records + * + */ class OPimRecord : public Qtopia::Record { public: /** + * c'tor * uid of 0 isEmpty * uid of 1 will be assigned a new one @@ -45,4 +52,5 @@ public: /** * if a Record isEmpty + * it's empty if it's 0 */ virtual bool isEmpty()const; @@ -89,17 +97,22 @@ public: /** - * + * clear the relations for all relations + * with app */ void clearRelation( const QString& app ); /** - * + * add a relation */ void addRelation( const QString& app, int id ); /** - * + * set the relations for an app */ void setRelations( const QString&, QArray<int> ids ); + + /** + * set the uid + */ virtual void setUid( int uid ); |