author | zautrix <zautrix> | 2005-02-04 16:26:39 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-04 16:26:39 (UTC) |
commit | b7c502a598566264e6e7129524104b6e39438f03 (patch) (side-by-side diff) | |
tree | 9be2449e9607b7bb73f94f85ae3abb27412fe682 /korganizer/komonthview.h | |
parent | 76e6ad6cc6a3be8df896a3e7cf8375234b3212a9 (diff) | |
download | kdepimpi-b7c502a598566264e6e7129524104b6e39438f03.zip kdepimpi-b7c502a598566264e6e7129524104b6e39438f03.tar.gz kdepimpi-b7c502a598566264e6e7129524104b6e39438f03.tar.bz2 |
mv faster
-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 @@ -20,16 +20,17 @@ #ifndef _KOMONTHVIEW_H #define _KOMONTHVIEW_H #include <qlabel.h> #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> #include <qptrvector.h> #include <libkcal/calendar.h> #include <libkcal/event.h> @@ -120,17 +121,17 @@ class MonthViewItem: public QListBoxItem class KOMonthView; class MonthViewCell : public QWidget { Q_OBJECT public: - MonthViewCell( KOMonthView * ); + MonthViewCell(KOMonthView *,QWidget* ); void setDate( const QDate & ); QDate date() const; void setPrimary( bool ); bool isPrimary() const; void setHoliday( bool ); @@ -251,29 +252,36 @@ class KOMonthView: public KOEventView void selectWeekNum ( int ); void showDaySignal( QDate ); protected: void resizeEvent(QResizeEvent *); void viewChanged(); void updateDayLabels(); private: + bool clPending; + QWidgetStack * mWidStack; + QWidget* mMonthView; + QWidget* mWeekView; bool mShowWeekView; bool updatePossible; int mDaysPerWeek; int mNumWeeks; int mNumCells; bool mWeekStartsMonday; bool mShowSatSunComp; void computeLayout(); void computeLayoutWeek(); QPtrVector<MonthViewCell> mCells; QPtrVector<QLabel> mDayLabels; QPtrVector<KOWeekButton> mWeekLabels; + QPtrVector<MonthViewCell> mCellsW; + QPtrVector<QLabel> mDayLabelsW; + QPtrVector<KOWeekButton> mWeekLabelsW; bool mShortDayLabels; int mWidthLongDayLabel; QDate mStartDate; MonthViewCell *mSelectedCell; |