summaryrefslogtreecommitdiffabout
path: root/korganizer/komonthview.h
authorzautrix <zautrix>2005-02-04 16:26:39 (UTC)
committer zautrix <zautrix>2005-02-04 16:26:39 (UTC)
commitb7c502a598566264e6e7129524104b6e39438f03 (patch) (side-by-side diff)
tree9be2449e9607b7bb73f94f85ae3abb27412fe682 /korganizer/komonthview.h
parent76e6ad6cc6a3be8df896a3e7cf8375234b3212a9 (diff)
downloadkdepimpi-b7c502a598566264e6e7129524104b6e39438f03.zip
kdepimpi-b7c502a598566264e6e7129524104b6e39438f03.tar.gz
kdepimpi-b7c502a598566264e6e7129524104b6e39438f03.tar.bz2
mv faster
Diffstat (limited to 'korganizer/komonthview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/komonthview.h10
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
@@ -22,12 +22,13 @@
#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>
@@ -122,13 +123,13 @@ 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;
@@ -253,12 +254,16 @@ class KOMonthView: public KOEventView
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;
@@ -266,12 +271,15 @@ class KOMonthView: public KOEventView
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;