author | zautrix <zautrix> | 2004-10-06 12:40:40 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-06 12:40:40 (UTC) |
commit | 3e949ed97c7a65eeaddecb1048872cd8595b3caf (patch) (unidiff) | |
tree | a964f4f0ac4d0390655f72aec71185c3f26f04de /korganizer/calendarview.cpp | |
parent | 8ac1973bfa65844df80d74c482559470bc704041 (diff) | |
download | kdepimpi-3e949ed97c7a65eeaddecb1048872cd8595b3caf.zip kdepimpi-3e949ed97c7a65eeaddecb1048872cd8595b3caf.tar.gz kdepimpi-3e949ed97c7a65eeaddecb1048872cd8595b3caf.tar.bz2 |
added missing actions in kopi
-rw-r--r-- | korganizer/calendarview.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index b1da144..38b55f7 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -2400,4 +2400,39 @@ void CalendarView::showTodoEditor() | |||
2400 | #endif | 2400 | #endif |
2401 | } | 2401 | } |
2402 | |||
2403 | void CalendarView::cloneIncidence() | ||
2404 | { | ||
2405 | Incidence *incidence = currentSelection(); | ||
2406 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); | ||
2407 | if ( incidence ) { | ||
2408 | cloneIncidence(incidence); | ||
2409 | } | ||
2410 | } | ||
2411 | void CalendarView::moveIncidence() | ||
2412 | { | ||
2413 | Incidence *incidence = currentSelection(); | ||
2414 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); | ||
2415 | if ( incidence ) { | ||
2416 | moveIncidence(incidence); | ||
2417 | } | ||
2418 | } | ||
2419 | void CalendarView::beamIncidence() | ||
2420 | { | ||
2421 | Incidence *incidence = currentSelection(); | ||
2422 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); | ||
2423 | if ( incidence ) { | ||
2424 | beamIncidence(incidence); | ||
2425 | } | ||
2426 | } | ||
2427 | void CalendarView::toggleCancelIncidence() | ||
2428 | { | ||
2429 | Incidence *incidence = currentSelection(); | ||
2430 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); | ||
2431 | if ( incidence ) { | ||
2432 | cancelIncidence(incidence); | ||
2433 | } | ||
2434 | } | ||
2435 | |||
2436 | |||
2402 | void CalendarView::cancelIncidence(Incidence * inc ) | 2437 | void CalendarView::cancelIncidence(Incidence * inc ) |
2403 | { | 2438 | { |