From ade7e8fcdcf45d5bc73ea73da6f9a1b06964a64e Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 19 Jan 2005 22:57:42 +0000 Subject: many view fixes --- (limited to 'korganizer/komonthview.h') diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index 4c1567c..727f511 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h @@ -40,6 +40,7 @@ class QToolTipGroup; #endif +class KNOWhatsThis; class KOWeekButton : public QPushButton { Q_OBJECT @@ -65,7 +66,7 @@ class KNoScrollListBox: public QListBox Q_OBJECT public: KNoScrollListBox(QWidget *parent=0, const char *name=0); - ~KNoScrollListBox() {} + ~KNoScrollListBox(); QString getWhatsThisText(QPoint p) ; signals: @@ -77,6 +78,9 @@ class KNoScrollListBox: public QListBox void keyPressEvent(QKeyEvent *); void keyReleaseEvent(QKeyEvent *); void mousePressEvent(QMouseEvent *); + + private: + KNOWhatsThis * mWT; }; @@ -212,6 +216,7 @@ class KOMonthView: public KOEventView virtual void printPreview(CalPrinter *calPrinter, const QDate &, const QDate &); bool isMonthView() { return true; } + bool isUpdatePossible() { return updatePossible; } MonthViewCell * selectedCell(); public slots: @@ -239,6 +244,7 @@ class KOMonthView: public KOEventView void updateDayLabels(); private: + bool updatePossible; int mDaysPerWeek; int mNumWeeks; int mNumCells; -- cgit v0.9.0.2