author | zautrix <zautrix> | 2005-01-29 15:23:10 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-29 15:23:10 (UTC) |
commit | c6548bb194a5e73b9b72505c2e952ef6346dec46 (patch) (unidiff) | |
tree | 74039fb5cd5f1a64f6a7844c9ece030e6d76de87 /korganizer/calendarview.h | |
parent | f542fb5846520683e6241a522921e3d5eb24b833 (diff) | |
download | kdepimpi-c6548bb194a5e73b9b72505c2e952ef6346dec46.zip kdepimpi-c6548bb194a5e73b9b72505c2e952ef6346dec46.tar.gz kdepimpi-c6548bb194a5e73b9b72505c2e952ef6346dec46.tar.bz2 |
todo
-rw-r--r-- | korganizer/calendarview.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/calendarview.h b/korganizer/calendarview.h index c8d6bdd..7c59a8d 100644 --- a/korganizer/calendarview.h +++ b/korganizer/calendarview.h | |||
@@ -204,83 +204,85 @@ class CalendarView : public KOrg::CalendarViewBase, public KCal::Calendar::Obser | |||
204 | successfully saved. | 204 | successfully saved. |
205 | */ | 205 | */ |
206 | bool saveCalendar(QString filename); | 206 | bool saveCalendar(QString filename); |
207 | 207 | ||
208 | /** | 208 | /** |
209 | Close calendar. Clear calendar data and reset views to display an empty | 209 | Close calendar. Clear calendar data and reset views to display an empty |
210 | calendar. | 210 | calendar. |
211 | */ | 211 | */ |
212 | void closeCalendar(); | 212 | void closeCalendar(); |
213 | 213 | ||
214 | /** Archive old events of calendar */ | 214 | /** Archive old events of calendar */ |
215 | void archiveCalendar(); | 215 | void archiveCalendar(); |
216 | 216 | ||
217 | void showIncidence(); | 217 | void showIncidence(); |
218 | void editIncidence(); | 218 | void editIncidence(); |
219 | void editIncidenceDescription(); | 219 | void editIncidenceDescription(); |
220 | void deleteIncidence(); | 220 | void deleteIncidence(); |
221 | void cloneIncidence(); | 221 | void cloneIncidence(); |
222 | void moveIncidence(); | 222 | void moveIncidence(); |
223 | void beamIncidence(); | 223 | void beamIncidence(); |
224 | void toggleCancelIncidence(); | 224 | void toggleCancelIncidence(); |
225 | 225 | ||
226 | /** create an editeventwin with supplied date/time, and if bool is true, | 226 | /** create an editeventwin with supplied date/time, and if bool is true, |
227 | * make the event take all day. */ | 227 | * make the event take all day. */ |
228 | void newEvent(QDateTime, QDateTime, bool allDay = false); | 228 | void newEvent(QDateTime, QDateTime, bool allDay ); |
229 | void newEvent(QDateTime, QDateTime); | ||
229 | void newEvent(QDateTime fh); | 230 | void newEvent(QDateTime fh); |
230 | void newEvent(QDate dt); | 231 | void newEvent(QDate dt); |
231 | /** create new event without having a date hint. Takes current date as | 232 | /** create new event without having a date hint. Takes current date as |
232 | default hint. */ | 233 | default hint. */ |
233 | void newEvent(); | 234 | void newEvent(); |
234 | void newFloatingEvent(); | 235 | void newFloatingEvent(); |
235 | 236 | ||
236 | /** Create a read-only viewer dialog for the supplied incidence. It calls the correct showXXX method*/ | 237 | /** Create a read-only viewer dialog for the supplied incidence. It calls the correct showXXX method*/ |
237 | void showIncidence(Incidence *); | 238 | void showIncidence(Incidence *); |
238 | /** Create an editor for the supplied incidence. It calls the correct editXXX method*/ | 239 | /** Create an editor for the supplied incidence. It calls the correct editXXX method*/ |
239 | void editIncidence(Incidence *); | 240 | void editIncidence(Incidence *); |
240 | /** Delete the supplied incidence. It calls the correct deleteXXX method*/ | 241 | /** Delete the supplied incidence. It calls the correct deleteXXX method*/ |
241 | void deleteIncidence(Incidence *); | 242 | void deleteIncidence(Incidence *); |
242 | void cloneIncidence(Incidence *); | 243 | void cloneIncidence(Incidence *); |
243 | void cancelIncidence(Incidence *); | 244 | void cancelIncidence(Incidence *); |
244 | /** Create an editor for the supplied event. */ | 245 | /** Create an editor for the supplied event. */ |
245 | void editEvent(Event *); | 246 | void editEvent(Event *); |
246 | /** Delete the supplied event. */ | 247 | /** Delete the supplied event. */ |
247 | void deleteEvent(Event *); | 248 | void deleteEvent(Event *); |
248 | /** Delete the event with the given unique ID. Returns false, if event wasn't | 249 | /** Delete the event with the given unique ID. Returns false, if event wasn't |
249 | found. */ | 250 | found. */ |
250 | bool deleteEvent(const QString &uid); | 251 | bool deleteEvent(const QString &uid); |
251 | /** Create a read-only viewer dialog for the supplied event. */ | 252 | /** Create a read-only viewer dialog for the supplied event. */ |
252 | void showEvent(Event *); | 253 | void showEvent(Event *); |
253 | 254 | ||
254 | void editJournal(Journal *); | 255 | void editJournal(Journal *); |
255 | void showJournal(Journal *); | 256 | void showJournal(Journal *); |
256 | void deleteJournal(Journal *); | 257 | void deleteJournal(Journal *); |
257 | /** Create an editor dialog for a todo */ | 258 | /** Create an editor dialog for a todo */ |
258 | void editTodo(Todo *); | 259 | void editTodo(Todo *); |
259 | /** Create a read-only viewer dialog for the supplied todo */ | 260 | /** Create a read-only viewer dialog for the supplied todo */ |
260 | void showTodo(Todo *); | 261 | void showTodo(Todo *); |
261 | /** create new todo */ | 262 | /** create new todo */ |
262 | void newTodo(); | 263 | void newTodo(); |
264 | void newTodoDateTime(QDateTime, bool allday); | ||
263 | /** create new todo with a parent todo */ | 265 | /** create new todo with a parent todo */ |
264 | void newSubTodo(); | 266 | void newSubTodo(); |
265 | /** create new todo with a parent todo */ | 267 | /** create new todo with a parent todo */ |
266 | void newSubTodo(Todo *); | 268 | void newSubTodo(Todo *); |
267 | /** Delete todo */ | 269 | /** Delete todo */ |
268 | void deleteTodo(Todo *); | 270 | void deleteTodo(Todo *); |
269 | 271 | ||
270 | 272 | ||
271 | /** Check if clipboard contains vCalendar event. The signal pasteEnabled() is | 273 | /** Check if clipboard contains vCalendar event. The signal pasteEnabled() is |
272 | * emitted as result. */ | 274 | * emitted as result. */ |
273 | void checkClipboard(); | 275 | void checkClipboard(); |
274 | 276 | ||
275 | /** using the KConfig associated with the kapp variable, read in the | 277 | /** using the KConfig associated with the kapp variable, read in the |
276 | * settings from the config file. | 278 | * settings from the config file. |
277 | */ | 279 | */ |
278 | void readSettings(); | 280 | void readSettings(); |
279 | 281 | ||
280 | /** write current state to config file. */ | 282 | /** write current state to config file. */ |
281 | void writeSettings(); | 283 | void writeSettings(); |
282 | 284 | ||
283 | /** read settings for calendar filters */ | 285 | /** read settings for calendar filters */ |
284 | void readFilterSettings(KConfig *config); | 286 | void readFilterSettings(KConfig *config); |
285 | 287 | ||
286 | /** write settings for calendar filters */ | 288 | /** write settings for calendar filters */ |