-rw-r--r-- | korganizer/calendarview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/calendarview.h b/korganizer/calendarview.h index 557554f..f7a1213 100644 --- a/korganizer/calendarview.h +++ b/korganizer/calendarview.h | |||
@@ -438,97 +438,97 @@ class CalendarView : public KOrg::CalendarViewBase, public KCal::Calendar::Obser | |||
438 | void setSyncName( QString ); | 438 | void setSyncName( QString ); |
439 | protected slots: | 439 | protected slots: |
440 | void timerAlarm(); | 440 | void timerAlarm(); |
441 | void suspendAlarm(); | 441 | void suspendAlarm(); |
442 | void beamDone( Ir *ir ); | 442 | void beamDone( Ir *ir ); |
443 | /** Select a view or adapt the current view to display the specified dates. */ | 443 | /** Select a view or adapt the current view to display the specified dates. */ |
444 | void showDates( const KCal::DateList & ); | 444 | void showDates( const KCal::DateList & ); |
445 | void selectWeekNum ( int ); | 445 | void selectWeekNum ( int ); |
446 | 446 | ||
447 | public: | 447 | public: |
448 | // show a standard warning | 448 | // show a standard warning |
449 | // returns KMsgBox::yesNoCancel() | 449 | // returns KMsgBox::yesNoCancel() |
450 | int msgCalModified(); | 450 | int msgCalModified(); |
451 | void confSync(); | 451 | void confSync(); |
452 | void setLoadedFileVersion(QDateTime); | 452 | void setLoadedFileVersion(QDateTime); |
453 | bool checkFileVersion(QString fn); | 453 | bool checkFileVersion(QString fn); |
454 | bool checkFileChanged(QString fn); | 454 | bool checkFileChanged(QString fn); |
455 | Event* getLastSyncEvent(); | 455 | Event* getLastSyncEvent(); |
456 | /** Adapt navigation units correpsonding to step size of navigation of the | 456 | /** Adapt navigation units correpsonding to step size of navigation of the |
457 | * current view. | 457 | * current view. |
458 | */ | 458 | */ |
459 | void adaptNavigationUnits(); | 459 | void adaptNavigationUnits(); |
460 | bool synchronizeCalendar( Calendar* local, Calendar* remote, int mode ); | 460 | bool synchronizeCalendar( Calendar* local, Calendar* remote, int mode ); |
461 | int takeEvent( Incidence* local, Incidence* remote, int mode, bool full = false ); | 461 | int takeEvent( Incidence* local, Incidence* remote, int mode, bool full = false ); |
462 | //Attendee* getYourAttendee(Event *event); | 462 | //Attendee* getYourAttendee(Event *event); |
463 | protected: | 463 | protected: |
464 | void schedule(Scheduler::Method, Incidence *incidence = 0); | 464 | void schedule(Scheduler::Method, Incidence *incidence = 0); |
465 | 465 | ||
466 | // returns KMsgBox::OKCandel() | 466 | // returns KMsgBox::OKCandel() |
467 | int msgItemDelete(); | 467 | int msgItemDelete(); |
468 | void showEventEditor(); | 468 | void showEventEditor(); |
469 | void showTodoEditor(); | 469 | void showTodoEditor(); |
470 | void writeLocale(); | 470 | void writeLocale(); |
471 | Todo *selectedTodo(); | 471 | Todo *selectedTodo(); |
472 | 472 | ||
473 | private: | 473 | private: |
474 | AlarmDialog * mAlarmDialog; | 474 | AlarmDialog * mAlarmDialog; |
475 | QString mAlarmNotification; | 475 | QString mAlarmNotification; |
476 | QString mSuspendAlarmNotification; | 476 | QString mSuspendAlarmNotification; |
477 | QTimer* mSuspendTimer; | 477 | QTimer* mSuspendTimer; |
478 | QTimer* mAlarmTimer; | 478 | QTimer* mAlarmTimer; |
479 | QTimer* mRecheckAlarmTimer; | 479 | QTimer* mRecheckAlarmTimer; |
480 | void computeAlarm( QString ); | 480 | void computeAlarm( QString ); |
481 | void startAlarm( QString, QString ); | 481 | void startAlarm( QString, QString ); |
482 | void setSyncEventsReadOnly(); | 482 | void setSyncEventsReadOnly(); |
483 | 483 | ||
484 | QDateTime loadedFileVersion; | 484 | QDateTime loadedFileVersion; |
485 | void checkExternSyncEvent( QPtrList<Event> lastSync , Incidence* toDelete ); | 485 | void checkExternSyncEvent( QPtrList<Event> lastSync , Incidence* toDelete ); |
486 | void checkZaurusId( int id, bool todo = false ); | 486 | void checkExternalId( Incidence * inc ); |
487 | int mGlobalSyncMode; | 487 | int mGlobalSyncMode; |
488 | QString mCurrentSyncDevice; | 488 | QString mCurrentSyncDevice; |
489 | QString mCurrentSyncName; | 489 | QString mCurrentSyncName; |
490 | KOBeamPrefs* beamDialog; | 490 | KOBeamPrefs* beamDialog; |
491 | void init(); | 491 | void init(); |
492 | int mDatePickerMode; | 492 | int mDatePickerMode; |
493 | bool mFlagEditDescription; | 493 | bool mFlagEditDescription; |
494 | QDateTime mLastCalendarSync; | 494 | QDateTime mLastCalendarSync; |
495 | void createPrinter(); | 495 | void createPrinter(); |
496 | 496 | ||
497 | void calendarModified( bool, Calendar * ); | 497 | void calendarModified( bool, Calendar * ); |
498 | 498 | ||
499 | CalPrinter *mCalPrinter; | 499 | CalPrinter *mCalPrinter; |
500 | 500 | ||
501 | QSplitter *mPanner; | 501 | QSplitter *mPanner; |
502 | QSplitter *mLeftSplitter; | 502 | QSplitter *mLeftSplitter; |
503 | QWidget *mLeftFrame; | 503 | QWidget *mLeftFrame; |
504 | QWidgetStack *mRightFrame; | 504 | QWidgetStack *mRightFrame; |
505 | 505 | ||
506 | KDatePicker* mDatePicker; | 506 | KDatePicker* mDatePicker; |
507 | QVBox* mDateFrame; | 507 | QVBox* mDateFrame; |
508 | NavigatorBar *mNavigatorBar; | 508 | NavigatorBar *mNavigatorBar; |
509 | 509 | ||
510 | KDateNavigator *mDateNavigator; // widget showing small month view. | 510 | KDateNavigator *mDateNavigator; // widget showing small month view. |
511 | 511 | ||
512 | KOFilterView *mFilterView; | 512 | KOFilterView *mFilterView; |
513 | 513 | ||
514 | ResourceView *mResourceView; | 514 | ResourceView *mResourceView; |
515 | 515 | ||
516 | // calendar object for this viewing instance | 516 | // calendar object for this viewing instance |
517 | Calendar *mCalendar; | 517 | Calendar *mCalendar; |
518 | 518 | ||
519 | CalendarResourceManager *mResourceManager; | 519 | CalendarResourceManager *mResourceManager; |
520 | 520 | ||
521 | FileStorage *mStorage; | 521 | FileStorage *mStorage; |
522 | 522 | ||
523 | DateNavigator *mNavigator; | 523 | DateNavigator *mNavigator; |
524 | 524 | ||
525 | KOViewManager *mViewManager; | 525 | KOViewManager *mViewManager; |
526 | KODialogManager *mDialogManager; | 526 | KODialogManager *mDialogManager; |
527 | 527 | ||
528 | // Calendar filters | 528 | // Calendar filters |
529 | QPtrList<CalFilter> mFilters; | 529 | QPtrList<CalFilter> mFilters; |
530 | 530 | ||
531 | // various housekeeping variables. | 531 | // various housekeeping variables. |
532 | bool mModified; // flag indicating if calendar is modified | 532 | bool mModified; // flag indicating if calendar is modified |
533 | bool mReadOnly; // flag indicating if calendar is read-only | 533 | bool mReadOnly; // flag indicating if calendar is read-only |
534 | QDate mSaveSingleDate; | 534 | QDate mSaveSingleDate; |