author | zautrix <zautrix> | 2005-03-22 14:37:47 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-22 14:37:47 (UTC) |
commit | 03b3e902ed6362d8f72d0acfc5a9be9d9ee1ef21 (patch) (unidiff) | |
tree | 0c3f06e4a3c73acebd8b9f80271010ee5b8d26e1 /korganizer/datenavigatorcontainer.h | |
parent | 345c70e057e730850493689185b5c358607566f9 (diff) | |
download | kdepimpi-03b3e902ed6362d8f72d0acfc5a9be9d9ee1ef21.zip kdepimpi-03b3e902ed6362d8f72d0acfc5a9be9d9ee1ef21.tar.gz kdepimpi-03b3e902ed6362d8f72d0acfc5a9be9d9ee1ef21.tar.bz2 |
more layout fixes
Diffstat (limited to 'korganizer/datenavigatorcontainer.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/datenavigatorcontainer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/korganizer/datenavigatorcontainer.h b/korganizer/datenavigatorcontainer.h index f45af20..d5e5adf 100644 --- a/korganizer/datenavigatorcontainer.h +++ b/korganizer/datenavigatorcontainer.h | |||
@@ -37,31 +37,35 @@ class DateNavigatorContainer: public QWidget | |||
37 | public: | 37 | public: |
38 | DateNavigatorContainer( QWidget *parent = 0, const char *name = 0 ); | 38 | DateNavigatorContainer( QWidget *parent = 0, const char *name = 0 ); |
39 | ~DateNavigatorContainer(); | 39 | ~DateNavigatorContainer(); |
40 | 40 | ||
41 | /** | 41 | /** |
42 | Associate date navigator with a calendar. It is used by KODayMatrix. | 42 | Associate date navigator with a calendar. It is used by KODayMatrix. |
43 | */ | 43 | */ |
44 | void setCalendar( Calendar * ); | 44 | void setCalendar( Calendar * ); |
45 | 45 | ||
46 | QSize minimumSizeHint() const; | 46 | QSize minimumSizeHint() const; |
47 | QSize sizeHint() const; | 47 | QSize sizeHint() const; |
48 | KDateNavigator * navigatorView() { return mNavigatorView;} | 48 | KDateNavigator * navigatorView() { return mNavigatorView;} |
49 | QDate lastAvailableDate() const ; | ||
50 | QDate firstAvailableDate() const ; | ||
49 | 51 | ||
50 | public slots: | 52 | public slots: |
51 | void selectDates( const KCal::DateList & ); | 53 | void selectDates( const KCal::DateList & ); |
52 | void updateView(); | 54 | void updateView(); |
53 | void updateConfig(); | 55 | void updateConfig(); |
54 | void updateDayMatrix(); | 56 | void updateDayMatrix(); |
57 | void updateDayMatrixDates(); | ||
55 | void updateToday(); | 58 | void updateToday(); |
59 | void slotMonthSelected( int month ); | ||
56 | 60 | ||
57 | signals: | 61 | signals: |
58 | void datesSelected( const KCal::DateList & ); | 62 | void datesSelected( const KCal::DateList & ); |
59 | void incidenceDropped( Incidence *, const QDate & ); | 63 | void incidenceDropped( Incidence *, const QDate & ); |
60 | void incidenceDroppedMove( Incidence *, const QDate & ); | 64 | void incidenceDroppedMove( Incidence *, const QDate & ); |
61 | void weekClicked( const QDate &); | 65 | void weekClicked( const QDate &); |
62 | 66 | ||
63 | void goPrevious(); | 67 | void goPrevious(); |
64 | void goNext(); | 68 | void goNext(); |
65 | 69 | ||
66 | void goNextMonth(); | 70 | void goNextMonth(); |
67 | void goPrevMonth(); | 71 | void goPrevMonth(); |
@@ -69,24 +73,25 @@ class DateNavigatorContainer: public QWidget | |||
69 | void goPrevYear(); | 73 | void goPrevYear(); |
70 | 74 | ||
71 | void monthSelected( int month ); | 75 | void monthSelected( int month ); |
72 | 76 | ||
73 | protected: | 77 | protected: |
74 | void resizeEvent( QResizeEvent * ); | 78 | void resizeEvent( QResizeEvent * ); |
75 | 79 | ||
76 | void setBaseDates(); | 80 | void setBaseDates(); |
77 | void connectNavigatorView( KDateNavigator *v ); | 81 | void connectNavigatorView( KDateNavigator *v ); |
78 | 82 | ||
79 | private: | 83 | private: |
80 | int mLastDisplayedDN; | 84 | int mLastDisplayedDN; |
81 | QDate mDisplayedEndDate; | 85 | QDate mFirstSelectedDate; |
86 | int mSelectedDateCount; | ||
82 | KDateNavigator *mNavigatorView; | 87 | KDateNavigator *mNavigatorView; |
83 | 88 | ||
84 | KCal::Calendar *mCalendar; | 89 | KCal::Calendar *mCalendar; |
85 | 90 | ||
86 | QPtrList<KDateNavigator> mExtraViews; | 91 | QPtrList<KDateNavigator> mExtraViews; |
87 | 92 | ||
88 | int mHorizontalCount; | 93 | int mHorizontalCount; |
89 | int mVerticalCount; | 94 | int mVerticalCount; |
90 | }; | 95 | }; |
91 | 96 | ||
92 | #endif | 97 | #endif |