datenavigatorcontainer.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef DATENAVIGATORCONTAINER_H
00025 #define DATENAVIGATORCONTAINER_H
00026
00027 class KDateNavigator;
00028
00029 class DateNavigatorContainer: public QWidget
00030 {
00031 Q_OBJECT
00032 public:
00033 DateNavigatorContainer( QWidget *parent = 0, const char *name = 0 );
00034 ~DateNavigatorContainer();
00035
00039 void setCalendar( Calendar * );
00040
00041 QSize minimumSizeHint() const;
00042 QSize sizeHint() const;
00043
00044 public slots:
00045 void selectDates( const KCal::DateList & );
00046 void updateView();
00047 void updateConfig();
00048 void updateDayMatrix();
00049 void updateToday();
00050
00051 signals:
00052 void datesSelected( const KCal::DateList & );
00053 void incidenceDropped( Incidence * );
00054 void incidenceDroppedMove( Incidence *, Incidence * );
00055 void weekClicked( const QDate &);
00056
00057 void goPrevious();
00058 void goNext();
00059
00060 void goNextMonth();
00061 void goPrevMonth();
00062 void goNextYear();
00063 void goPrevYear();
00064
00065 void goMonth( int month );
00066
00067 protected:
00068 void resizeEvent( QResizeEvent * );
00069
00070 void setBaseDates();
00071 void connectNavigatorView( KDateNavigator *v );
00072
00073 private:
00074 KDateNavigator *mNavigatorView;
00075
00076 KCal::Calendar *mCalendar;
00077
00078 QPtrList<KDateNavigator> mExtraViews;
00079
00080 int mHorizontalCount;
00081 int mVerticalCount;
00082 };
00083
00084 #endif
This file is part of the documentation for korganizer Library Version 3.3.2.