-rw-r--r-- | korganizer/calendarview.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/calendarview.h b/korganizer/calendarview.h index 731298d..e626ea3 100644 --- a/korganizer/calendarview.h +++ b/korganizer/calendarview.h | |||
@@ -396,97 +396,98 @@ class CalendarView : public KOrg::CalendarViewBase, public KCal::Calendar::Obser | |||
396 | void toggleFilter(); | 396 | void toggleFilter(); |
397 | void showFilter(bool visible); | 397 | void showFilter(bool visible); |
398 | void updateFilter(); | 398 | void updateFilter(); |
399 | void filterEdited(); | 399 | void filterEdited(); |
400 | void selectFilter( int ); | 400 | void selectFilter( int ); |
401 | KOFilterView *filterView(); | 401 | KOFilterView *filterView(); |
402 | 402 | ||
403 | void showIntro(); | 403 | void showIntro(); |
404 | 404 | ||
405 | /** Move the curdatepient view date to today */ | 405 | /** Move the curdatepient view date to today */ |
406 | void goToday(); | 406 | void goToday(); |
407 | 407 | ||
408 | /** Move to the next date(s) in the current view */ | 408 | /** Move to the next date(s) in the current view */ |
409 | void goNext(); | 409 | void goNext(); |
410 | 410 | ||
411 | /** Move to the previous date(s) in the current view */ | 411 | /** Move to the previous date(s) in the current view */ |
412 | void goPrevious(); | 412 | void goPrevious(); |
413 | /** Move to the next date(s) in the current view */ | 413 | /** Move to the next date(s) in the current view */ |
414 | void goNextMonth(); | 414 | void goNextMonth(); |
415 | 415 | ||
416 | /** Move to the previous date(s) in the current view */ | 416 | /** Move to the previous date(s) in the current view */ |
417 | void goPreviousMonth(); | 417 | void goPreviousMonth(); |
418 | 418 | ||
419 | void toggleExpand(); | 419 | void toggleExpand(); |
420 | void toggleDateNavigatorWidget(); | 420 | void toggleDateNavigatorWidget(); |
421 | void toggleAllDaySize(); | 421 | void toggleAllDaySize(); |
422 | void dialogClosing(Incidence *); | 422 | void dialogClosing(Incidence *); |
423 | 423 | ||
424 | /** Look for new messages in the inbox */ | 424 | /** Look for new messages in the inbox */ |
425 | void lookForIncomingMessages(); | 425 | void lookForIncomingMessages(); |
426 | /** Look for new messages in the outbox */ | 426 | /** Look for new messages in the outbox */ |
427 | void lookForOutgoingMessages(); | 427 | void lookForOutgoingMessages(); |
428 | 428 | ||
429 | void processMainViewSelection( Incidence * ); | 429 | void processMainViewSelection( Incidence * ); |
430 | void processTodoListSelection( Incidence * ); | 430 | void processTodoListSelection( Incidence * ); |
431 | 431 | ||
432 | void processIncidenceSelection( Incidence * ); | 432 | void processIncidenceSelection( Incidence * ); |
433 | 433 | ||
434 | void purgeCompleted(); | 434 | void purgeCompleted(); |
435 | bool removeCompletedSubTodos( Todo* ); | 435 | bool removeCompletedSubTodos( Todo* ); |
436 | void slotCalendarChanged(); | 436 | void slotCalendarChanged(); |
437 | bool importBday(); | 437 | bool importBday(); |
438 | bool addAnniversary( QDate data, QString name, KCal::Attendee* a , bool birthday ); | 438 | bool addAnniversary( QDate data, QString name, KCal::Attendee* a , bool birthday ); |
439 | bool importQtopia( const QString &categoriesFile, | 439 | bool importQtopia( const QString &categoriesFile, |
440 | const QString &datebookFile, | 440 | const QString &datebookFile, |
441 | const QString &tasklistFile ); | 441 | const QString &tasklistFile ); |
442 | void syncExternal( int mode ); | 442 | void syncExternal( int mode ); |
443 | void slotSelectPickerDate( QDate ) ; | 443 | void slotSelectPickerDate( QDate ) ; |
444 | void showDatePicker( ) ; | 444 | void showDatePicker() ; |
445 | void showDatePickerPopup() ; | ||
445 | void moveIncidence(Incidence *) ; | 446 | void moveIncidence(Incidence *) ; |
446 | void beamIncidence(Incidence *) ; | 447 | void beamIncidence(Incidence *) ; |
447 | void beamCalendar() ; | 448 | void beamCalendar() ; |
448 | void beamFilteredCalendar() ; | 449 | void beamFilteredCalendar() ; |
449 | void beamIncidenceList(QPtrList<Incidence>) ; | 450 | void beamIncidenceList(QPtrList<Incidence>) ; |
450 | void manageCategories(); | 451 | void manageCategories(); |
451 | int addCategories(); | 452 | int addCategories(); |
452 | void removeCategories(); | 453 | void removeCategories(); |
453 | void setSyncDevice( QString ); | 454 | void setSyncDevice( QString ); |
454 | void setSyncName( QString ); | 455 | void setSyncName( QString ); |
455 | void showDay( QDate ); | 456 | void showDay( QDate ); |
456 | void undo_delete(); | 457 | void undo_delete(); |
457 | protected slots: | 458 | protected slots: |
458 | void timerAlarm(); | 459 | void timerAlarm(); |
459 | void suspendAlarm(); | 460 | void suspendAlarm(); |
460 | void beamDone( Ir *ir ); | 461 | void beamDone( Ir *ir ); |
461 | /** Select a view or adapt the current view to display the specified dates. */ | 462 | /** Select a view or adapt the current view to display the specified dates. */ |
462 | void showDates( const KCal::DateList & ); | 463 | void showDates( const KCal::DateList & ); |
463 | void selectWeekNum ( int ); | 464 | void selectWeekNum ( int ); |
464 | 465 | ||
465 | public: | 466 | public: |
466 | // show a standard warning | 467 | // show a standard warning |
467 | // returns KMsgBox::yesNoCancel() | 468 | // returns KMsgBox::yesNoCancel() |
468 | int msgCalModified(); | 469 | int msgCalModified(); |
469 | virtual bool sync(KSyncManager* manager, QString filename, int mode); | 470 | virtual bool sync(KSyncManager* manager, QString filename, int mode); |
470 | 471 | ||
471 | virtual bool syncExternal(KSyncManager* manager, QString resource); | 472 | virtual bool syncExternal(KSyncManager* manager, QString resource); |
472 | virtual void removeSyncInfo( QString syncProfile); | 473 | virtual void removeSyncInfo( QString syncProfile); |
473 | void setSyncManager(KSyncManager* manager); | 474 | void setSyncManager(KSyncManager* manager); |
474 | void setLoadedFileVersion(QDateTime); | 475 | void setLoadedFileVersion(QDateTime); |
475 | bool checkFileVersion(QString fn); | 476 | bool checkFileVersion(QString fn); |
476 | bool checkFileChanged(QString fn); | 477 | bool checkFileChanged(QString fn); |
477 | Event* getLastSyncEvent(); | 478 | Event* getLastSyncEvent(); |
478 | /** Adapt navigation units correpsonding to step size of navigation of the | 479 | /** Adapt navigation units correpsonding to step size of navigation of the |
479 | * current view. | 480 | * current view. |
480 | */ | 481 | */ |
481 | void adaptNavigationUnits(); | 482 | void adaptNavigationUnits(); |
482 | bool synchronizeCalendar( Calendar* local, Calendar* remote, int mode ); | 483 | bool synchronizeCalendar( Calendar* local, Calendar* remote, int mode ); |
483 | int takeEvent( Incidence* local, Incidence* remote, int mode, bool full = false ); | 484 | int takeEvent( Incidence* local, Incidence* remote, int mode, bool full = false ); |
484 | //Attendee* getYourAttendee(Event *event); | 485 | //Attendee* getYourAttendee(Event *event); |
485 | void setBlockShowDates( bool b ) { mBlockShowDates = b ;} | 486 | void setBlockShowDates( bool b ) { mBlockShowDates = b ;} |
486 | protected: | 487 | protected: |
487 | void schedule(Scheduler::Method, Incidence *incidence = 0); | 488 | void schedule(Scheduler::Method, Incidence *incidence = 0); |
488 | 489 | ||
489 | // returns KMsgBox::OKCandel() | 490 | // returns KMsgBox::OKCandel() |
490 | int msgItemDelete(const QString name); | 491 | int msgItemDelete(const QString name); |
491 | void showEventEditor(); | 492 | void showEventEditor(); |
492 | void showTodoEditor(); | 493 | void showTodoEditor(); |