-rw-r--r-- | korganizer/koagendaview.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/korganizer/koagendaview.h b/korganizer/koagendaview.h index 0cb9310..57b4e46 100644 --- a/korganizer/koagendaview.h +++ b/korganizer/koagendaview.h | |||
@@ -182,49 +182,48 @@ class KOAgendaView : public KOEventView { | |||
182 | virtual void updateView(); | 182 | virtual void updateView(); |
183 | virtual void updateConfig(); | 183 | virtual void updateConfig(); |
184 | virtual void showDates(const QDate &start, const QDate &end); | 184 | virtual void showDates(const QDate &start, const QDate &end); |
185 | virtual void showEvents(QPtrList<Event> eventList); | 185 | virtual void showEvents(QPtrList<Event> eventList); |
186 | 186 | ||
187 | void updateTodo( Todo *, int ); | 187 | void updateTodo( Todo *, int ); |
188 | void changeEventDisplay(Event *, int); | 188 | void changeEventDisplay(Event *, int); |
189 | 189 | ||
190 | void clearSelection(); | 190 | void clearSelection(); |
191 | 191 | ||
192 | void newTodo(int gx,int gy); | 192 | void newTodo(int gx,int gy); |
193 | void newEvent(int gx,int gy); | 193 | void newEvent(int gx,int gy); |
194 | void newEvent(int gxStart, int gyStart, int gxEnd, int gyEnd); | 194 | void newEvent(int gxStart, int gyStart, int gxEnd, int gyEnd); |
195 | void newEventAllDay(int gx, int gy); | 195 | void newEventAllDay(int gx, int gy); |
196 | void newTodoAllDay(int gx, int gy); | 196 | void newTodoAllDay(int gx, int gy); |
197 | 197 | ||
198 | void startDrag(Event *); | 198 | void startDrag(Event *); |
199 | 199 | ||
200 | void readSettings(); | 200 | void readSettings(); |
201 | void readSettings(KConfig *); | 201 | void readSettings(KConfig *); |
202 | void writeSettings(KConfig *); | 202 | void writeSettings(KConfig *); |
203 | 203 | ||
204 | void setContentsPos(int y); | 204 | void setContentsPos(int y); |
205 | 205 | ||
206 | void setExpandedButton( bool expanded ); | ||
207 | void scrollOneHourUp(); | 206 | void scrollOneHourUp(); |
208 | void scrollOneHourDown(); | 207 | void scrollOneHourDown(); |
209 | void addToCalSlot(Incidence *, Incidence *); | 208 | void addToCalSlot(Incidence *, Incidence *); |
210 | 209 | ||
211 | signals: | 210 | signals: |
212 | void showDateView( int, QDate ); | 211 | void showDateView( int, QDate ); |
213 | void newTodoSignal( QDateTime ,bool ); | 212 | void newTodoSignal( QDateTime ,bool ); |
214 | void toggleExpand(); | 213 | void toggleExpand(); |
215 | void selectWeekNum( int ); | 214 | void selectWeekNum( int ); |
216 | void todoMoved( Todo *, int ); | 215 | void todoMoved( Todo *, int ); |
217 | void incidenceChanged(Incidence * , int ); | 216 | void incidenceChanged(Incidence * , int ); |
218 | // void cloneIncidenceSignal(Incidence *); | 217 | // void cloneIncidenceSignal(Incidence *); |
219 | 218 | ||
220 | protected: | 219 | protected: |
221 | KOAgendaButton* getNewDaylabel(); | 220 | KOAgendaButton* getNewDaylabel(); |
222 | bool mBlockUpdating; | 221 | bool mBlockUpdating; |
223 | int mUpcomingWidth; | 222 | int mUpcomingWidth; |
224 | /** Fill agenda beginning with date startDate */ | 223 | /** Fill agenda beginning with date startDate */ |
225 | void fillAgenda(const QDate &startDate); | 224 | void fillAgenda(const QDate &startDate); |
226 | void resizeEvent( QResizeEvent* e ); | 225 | void resizeEvent( QResizeEvent* e ); |
227 | /** Fill agenda using the current set value for the start date */ | 226 | /** Fill agenda using the current set value for the start date */ |
228 | void fillAgenda(); | 227 | void fillAgenda(); |
229 | 228 | ||
230 | /** Create labels for the selected dates. */ | 229 | /** Create labels for the selected dates. */ |
@@ -259,34 +258,32 @@ class KOAgendaView : public KOEventView { | |||
259 | KOAgenda *mAgenda; | 258 | KOAgenda *mAgenda; |
260 | TimeLabels *mTimeLabels; | 259 | TimeLabels *mTimeLabels; |
261 | QWidget *mDummyAllDayLeft; | 260 | QWidget *mDummyAllDayLeft; |
262 | 261 | ||
263 | KDGanttMinimizeSplitter* mSplitterAgenda; | 262 | KDGanttMinimizeSplitter* mSplitterAgenda; |
264 | QPushButton *mExpandButton; | 263 | QPushButton *mExpandButton; |
265 | 264 | ||
266 | DateList mSelectedDates; // List of dates to be displayed | 265 | DateList mSelectedDates; // List of dates to be displayed |
267 | int mViewType; | 266 | int mViewType; |
268 | 267 | ||
269 | bool mWeekStartsMonday; | 268 | bool mWeekStartsMonday; |
270 | int mStartHour; | 269 | int mStartHour; |
271 | 270 | ||
272 | KOEventPopupMenu *mAgendaPopup; | 271 | KOEventPopupMenu *mAgendaPopup; |
273 | KOEventPopupMenu *mAllDayAgendaPopup; | 272 | KOEventPopupMenu *mAllDayAgendaPopup; |
274 | 273 | ||
275 | EventIndicator *mEventIndicatorTop; | 274 | EventIndicator *mEventIndicatorTop; |
276 | EventIndicator *mEventIndicatorBottom; | 275 | EventIndicator *mEventIndicatorBottom; |
277 | 276 | ||
278 | QMemArray<int> mMinY; | 277 | QMemArray<int> mMinY; |
279 | QMemArray<int> mMaxY; | 278 | QMemArray<int> mMaxY; |
280 | 279 | ||
281 | QMemArray<bool> mHolidayMask; | 280 | QMemArray<bool> mHolidayMask; |
282 | 281 | ||
283 | QPixmap mExpandedPixmap; | ||
284 | QPixmap mNotExpandedPixmap; | ||
285 | QPtrList<KOAgendaButton> mDayLabelsList; | 282 | QPtrList<KOAgendaButton> mDayLabelsList; |
286 | QDateTime mTimeSpanBegin; | 283 | QDateTime mTimeSpanBegin; |
287 | QDateTime mTimeSpanEnd; | 284 | QDateTime mTimeSpanEnd; |
288 | bool mTimeSpanInAllDay; | 285 | bool mTimeSpanInAllDay; |
289 | void keyPressEvent ( QKeyEvent * e ); | 286 | void keyPressEvent ( QKeyEvent * e ); |
290 | }; | 287 | }; |
291 | 288 | ||
292 | #endif // KOAGENDAVIEW_H | 289 | #endif // KOAGENDAVIEW_H |