-rw-r--r-- | korganizer/koviewmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/koviewmanager.h b/korganizer/koviewmanager.h index 66ab138..8f0bf82 100644 --- a/korganizer/koviewmanager.h +++ b/korganizer/koviewmanager.h | |||
@@ -63,56 +63,58 @@ class KOViewManager : public QObject | |||
63 | void writeCurrentView(KConfig *); | 63 | void writeCurrentView(KConfig *); |
64 | 64 | ||
65 | KOrg::BaseView *currentView(); | 65 | KOrg::BaseView *currentView(); |
66 | 66 | ||
67 | void setDocumentId( const QString & ); | 67 | void setDocumentId( const QString & ); |
68 | 68 | ||
69 | void updateView( const QDate &start, const QDate &end ); | 69 | void updateView( const QDate &start, const QDate &end ); |
70 | 70 | ||
71 | void raiseCurrentView( bool fullScreen = false , bool updateView = false); | 71 | void raiseCurrentView( bool fullScreen = false , bool updateView = false); |
72 | 72 | ||
73 | void addView(KOrg::BaseView *); | 73 | void addView(KOrg::BaseView *); |
74 | 74 | ||
75 | Incidence *currentSelection(); | 75 | Incidence *currentSelection(); |
76 | QDate currentSelectionDate(); | 76 | QDate currentSelectionDate(); |
77 | 77 | ||
78 | KOAgendaView *agendaView() const { return mAgendaView; } | 78 | KOAgendaView *agendaView() const { return mAgendaView; } |
79 | 79 | ||
80 | signals: | 80 | signals: |
81 | void printWNV(); | 81 | void printWNV(); |
82 | void signalFullScreen( bool ); | 82 | void signalFullScreen( bool ); |
83 | void signalAgendaView( bool ); | 83 | void signalAgendaView( bool ); |
84 | public slots: | 84 | public slots: |
85 | void showDateView( int, QDate ); | 85 | void showDateView( int, QDate ); |
86 | void updateView(); | 86 | void updateView(); |
87 | void showWhatsNextView(); | 87 | void showWhatsNextView(); |
88 | void showListView(); | 88 | void showListView(); |
89 | void showAgendaView( bool fullScreen = false ); | 89 | void showAgendaView( bool fullScreen = false ); |
90 | void showDayView(); | 90 | void showDayView(); |
91 | void showWorkWeekView(); | 91 | void showWorkWeekView(); |
92 | void showWeekView(); | 92 | void showWeekView(); |
93 | void showNextXView(); | 93 | void showNextXView(); |
94 | void showMonthView(); | 94 | void showMonthView(); |
95 | void showMonthViewWeek(); | ||
95 | void showTodoView(); | 96 | void showTodoView(); |
96 | void showJournalView(); | 97 | void showJournalView(); |
97 | void showTimeSpanView(); | 98 | void showTimeSpanView(); |
98 | 99 | ||
99 | private: | 100 | private: |
101 | void createMonthView(); | ||
100 | CalendarView *mMainView; | 102 | CalendarView *mMainView; |
101 | 103 | ||
102 | int mCurrentAgendaView; | 104 | int mCurrentAgendaView; |
103 | KOAgendaView *mAgendaView; | 105 | KOAgendaView *mAgendaView; |
104 | KOListView *mListView; | 106 | KOListView *mListView; |
105 | KOMonthView *mMonthView; | 107 | KOMonthView *mMonthView; |
106 | KOTodoView *mTodoView; | 108 | KOTodoView *mTodoView; |
107 | KOWhatsNextView *mWhatsNextView; | 109 | KOWhatsNextView *mWhatsNextView; |
108 | KOJournalView *mJournalView; | 110 | KOJournalView *mJournalView; |
109 | KOTimeSpanView *mTimeSpanView; | 111 | KOTimeSpanView *mTimeSpanView; |
110 | 112 | ||
111 | KOrg::BaseView *mCurrentView; // currently active event view | 113 | KOrg::BaseView *mCurrentView; // currently active event view |
112 | 114 | ||
113 | int mAgendaViewMode; | 115 | int mAgendaViewMode; |
114 | bool mFlagShowNextxDays; | 116 | bool mFlagShowNextxDays; |
115 | 117 | ||
116 | }; | 118 | }; |
117 | 119 | ||
118 | #endif | 120 | #endif |