author | zecke <zecke> | 2003-05-07 16:02:41 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-05-07 16:02:41 (UTC) |
commit | accd04a63230ac46978f77deae1b0d1419618730 (patch) (unidiff) | |
tree | 6a54ce4cdda8d86a781838b7b990939e2962d461 /libopie/pim/otodo.h | |
parent | ef9b40f99443fabed972d29ce47c2ccb29e77210 (diff) | |
download | opie-accd04a63230ac46978f77deae1b0d1419618730.zip opie-accd04a63230ac46978f77deae1b0d1419618730.tar.gz opie-accd04a63230ac46978f77deae1b0d1419618730.tar.bz2 |
try to use less memory and only create objects like
ORecur, OPimState, OPimNotifyManager and OPimMaintainer if necessary
-rw-r--r-- | libopie/pim/otodo.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libopie/pim/otodo.h b/libopie/pim/otodo.h index 2f66f55..a58d9aa 100644 --- a/libopie/pim/otodo.h +++ b/libopie/pim/otodo.h | |||
@@ -125,22 +125,37 @@ public: | |||
125 | /** | 125 | /** |
126 | * When was it completed? | 126 | * When was it completed? |
127 | */ | 127 | */ |
128 | QDate completedDate()const; | 128 | QDate completedDate()const; |
129 | 129 | ||
130 | /** | 130 | /** |
131 | * does it have a state? | ||
132 | */ | ||
133 | bool hasState()const; | ||
134 | |||
135 | /** | ||
131 | * What is the state of this OTodo? | 136 | * What is the state of this OTodo? |
132 | */ | 137 | */ |
133 | OPimState state()const; | 138 | OPimState state()const; |
134 | 139 | ||
135 | /** | 140 | /** |
141 | * has recurrence? | ||
142 | */ | ||
143 | bool hasRecurrence()const; | ||
144 | |||
145 | /** | ||
136 | * the recurrance of this | 146 | * the recurrance of this |
137 | */ | 147 | */ |
138 | ORecur recurrence()const; | 148 | ORecur recurrence()const; |
139 | 149 | ||
140 | /** | 150 | /** |
151 | * does this OTodo have a maintainer? | ||
152 | */ | ||
153 | bool hasMaintainer()const; | ||
154 | |||
155 | /** | ||
141 | * the Maintainer of this OTodo | 156 | * the Maintainer of this OTodo |
142 | */ | 157 | */ |
143 | OPimMaintainer maintainer()const; | 158 | OPimMaintainer maintainer()const; |
144 | 159 | ||
145 | /** | 160 | /** |
146 | * The description of the todo | 161 | * The description of the todo |
@@ -155,12 +170,13 @@ public: | |||
155 | /** | 170 | /** |
156 | * @reimplemented | 171 | * @reimplemented |
157 | * Return this todoevent in a RichText formatted QString | 172 | * Return this todoevent in a RichText formatted QString |
158 | */ | 173 | */ |
159 | QString toRichText() const; | 174 | QString toRichText() const; |
160 | 175 | ||
176 | bool hasNotifiers()const; | ||
161 | /* | 177 | /* |
162 | * check if the sharing is still fine!! -zecke | 178 | * check if the sharing is still fine!! -zecke |
163 | */ | 179 | */ |
164 | /** | 180 | /** |
165 | * return a reference to our notifiers... | 181 | * return a reference to our notifiers... |
166 | */ | 182 | */ |