-rw-r--r-- | korganizer/komonthview.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index 1ed200b..b89b2bc 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h @@ -24,8 +24,9 @@ #include <qframe.h> #include <qdatetime.h> #include <qlistbox.h> #include <qpoint.h> +#include <qwidgetstack.h> #include <qlayout.h> #include <qintdict.h> #include <qpushbutton.h> #include <qvaluelist.h> @@ -124,9 +125,9 @@ class KOMonthView; class MonthViewCell : public QWidget { Q_OBJECT public: - MonthViewCell( KOMonthView * ); + MonthViewCell(KOMonthView *,QWidget* ); void setDate( const QDate & ); QDate date() const; @@ -255,8 +256,12 @@ class KOMonthView: public KOEventView void viewChanged(); void updateDayLabels(); private: + bool clPending; + QWidgetStack * mWidStack; + QWidget* mMonthView; + QWidget* mWeekView; bool mShowWeekView; bool updatePossible; int mDaysPerWeek; int mNumWeeks; @@ -268,8 +273,11 @@ class KOMonthView: public KOEventView QPtrVector<MonthViewCell> mCells; QPtrVector<QLabel> mDayLabels; QPtrVector<KOWeekButton> mWeekLabels; + QPtrVector<MonthViewCell> mCellsW; + QPtrVector<QLabel> mDayLabelsW; + QPtrVector<KOWeekButton> mWeekLabelsW; bool mShortDayLabels; int mWidthLongDayLabel; |