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