summaryrefslogtreecommitdiff
path: root/libopie/pim/opimrecord.h
authorzecke <zecke>2002-09-22 19:25:33 (UTC)
committer zecke <zecke>2002-09-22 19:25:33 (UTC)
commit3f194c85b5b9243ff30f1067361ef9fa5bb85a1e (patch) (side-by-side diff)
tree909eae5d629918d579424a8ca644d6795b43faaf /libopie/pim/opimrecord.h
parent4904161b6b043e1397db4affd7930fd999ff742e (diff)
downloadopie-3f194c85b5b9243ff30f1067361ef9fa5bb85a1e.zip
opie-3f194c85b5b9243ff30f1067361ef9fa5bb85a1e.tar.gz
opie-3f194c85b5b9243ff30f1067361ef9fa5bb85a1e.tar.bz2
Some documentation
and addition to OTodoAccess overDue and effectiveTodos
Diffstat (limited to 'libopie/pim/opimrecord.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/opimrecord.h19
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
@@ -7,9 +7,16 @@
#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
*/
@@ -44,6 +51,7 @@ public:
/**
* if a Record isEmpty
+ * it's empty if it's 0
*/
virtual bool isEmpty()const;
@@ -88,19 +96,24 @@ public:
QArray<int> relations( const QString& app )const;
/**
- *
+ * 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 );
protected: