-rw-r--r-- | korganizer/komonthview.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index 89912e0..b997c1a 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h @@ -95,3 +95,3 @@ class MonthViewItem: public QListBoxItem MonthViewItem( Incidence *, QDate qd, const QString & title ); - + void recycle( Incidence *incidence, QDate qd, const QString & s); void setRecur(bool on) { mRecur = on; } @@ -101,2 +101,3 @@ class MonthViewItem: public QListBoxItem void setMultiDay(int type) { mMultiday = type; } + void setBlockRepaint(bool on) { mblockRepaint = on; } @@ -115,2 +116,3 @@ class MonthViewItem: public QListBoxItem private: + bool mblockRepaint; int mMultiday; @@ -130,3 +132,3 @@ class KOMonthView; -class MonthViewCell : public QWidget +class MonthViewCell : public KNoScrollListBox { @@ -135,2 +137,3 @@ class MonthViewCell : public QWidget MonthViewCell(KOMonthView *,QWidget* ); + ~MonthViewCell() {mAvailItemList.setAutoDelete( true );} @@ -148,2 +151,3 @@ class MonthViewCell : public QWidget void finishUpdateCell(); + void repaintfinishUpdateCell(); void insertEvent(Event *); @@ -185,3 +189,6 @@ public slots: private: + MonthViewItem* mCurrentAvailItem; + QPtrList <MonthViewItem> mAvailItemList; KOMonthView *mMonthView; + int currentPalette; @@ -194,3 +201,3 @@ public slots: QPushButton *mLabel; - QListBox *mItemList; + //QListBox *mItemList; #ifdef DESKTOP_VERSION @@ -206,3 +213,2 @@ public slots: QPalette getPalette (); - void keyPressEvent ( QKeyEvent * ) ; |