Diffstat (limited to 'libopie2/opiepim/core/opimrecord.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimrecord.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie2/opiepim/core/opimrecord.h b/libopie2/opiepim/core/opimrecord.h index dbb94ed..d9ccad4 100644 --- a/libopie2/opiepim/core/opimrecord.h +++ b/libopie2/opiepim/core/opimrecord.h | |||
@@ -1,24 +1,24 @@ | |||
1 | #ifndef OPIE_PIM_RECORD_H | 1 | #ifndef OPIE_PIM_RECORD_H |
2 | #define OPIE_PIM_RECORD_H | 2 | #define OPIE_PIM_RECORD_H |
3 | 3 | ||
4 | #include <qmap.h> | 4 | #include <qmap.h> |
5 | #include <qstring.h> | 5 | #include <qstring.h> |
6 | #include <qstringlist.h> | 6 | #include <qstringlist.h> |
7 | 7 | ||
8 | #include <qpe/palmtoprecord.h> | 8 | #include <qpe/palmtoprecord.h> |
9 | 9 | ||
10 | 10 | ||
11 | /** | 11 | /** |
12 | * This is the base class for | 12 | * This is the base class for |
13 | * all PIM Records | 13 | * all PIM Records |
14 | * | 14 | * |
15 | */ | 15 | */ |
16 | class OPimRecord : public Qtopia::Record { | 16 | class OPimRecord : public Qtopia::Record { |
17 | public: | 17 | public: |
18 | /** | 18 | /** |
19 | * c'tor | 19 | * c'tor |
20 | * uid of 0 isEmpty | 20 | * uid of 0 isEmpty |
21 | * uid of 1 will be assigned a new one | 21 | * uid of 1 will be assigned a new one |
22 | */ | 22 | */ |
23 | OPimRecord(int uid = 0); | 23 | OPimRecord(int uid = 0); |
24 | ~OPimRecord(); | 24 | ~OPimRecord(); |
@@ -101,25 +101,25 @@ public: | |||
101 | */ | 101 | */ |
102 | void clearRelation( const QString& app ); | 102 | void clearRelation( const QString& app ); |
103 | 103 | ||
104 | /** | 104 | /** |
105 | * add a relation | 105 | * add a relation |
106 | */ | 106 | */ |
107 | void addRelation( const QString& app, int id ); | 107 | void addRelation( const QString& app, int id ); |
108 | 108 | ||
109 | /** | 109 | /** |
110 | * set the relations for an app | 110 | * set the relations for an app |
111 | */ | 111 | */ |
112 | void setRelations( const QString&, QArray<int> ids ); | 112 | void setRelations( const QString&, QArray<int> ids ); |
113 | 113 | ||
114 | /** | 114 | /** |
115 | * set the uid | 115 | * set the uid |
116 | */ | 116 | */ |
117 | virtual void setUid( int uid ); | 117 | virtual void setUid( int uid ); |
118 | 118 | ||
119 | protected: | 119 | protected: |
120 | Qtopia::UidGen &uidGen(); | 120 | Qtopia::UidGen &uidGen(); |
121 | QString crossToString()const; | 121 | QString crossToString()const; |
122 | 122 | ||
123 | private: | 123 | private: |
124 | class OPimRecordPrivate; | 124 | class OPimRecordPrivate; |
125 | OPimRecordPrivate *d; | 125 | OPimRecordPrivate *d; |