-rw-r--r-- | korganizer/komonthview.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index 65b5e77..159af16 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h @@ -45,4 +45,5 @@ class QToolTipGroup; class KNOWhatsThis; +class MonthViewCell; class KOWeekButton : public QPushButton { @@ -86,4 +87,5 @@ class KNoScrollListBox: public QListBox void nextCell(); void prevCell(); + void highligtIncidence( Incidence * , MonthViewCell*, int ); protected slots: @@ -111,12 +113,13 @@ class MonthViewItem: public QListBoxItem void setMoreInfo(bool on) { mInfo = on; } void setMultiDay(int type) { mMultiday = type; } + int multiDay() { return mMultiday; } void setMultiDayPos(int type) { mdayPos = type; } int gettMultiDayPos() { return mdayPos; } void setBlockRepaint(bool on) { mblockRepaint = on; } - + bool setHighlighted( Incidence * ); void setPalette(const QPalette &p) { mPalette = p; } QPalette palette() const { return mPalette; } - + bool setHighlightedFalse(); Incidence *incidence() const { return mIncidence; } QDate incidenceDate() { return mDate; } @@ -136,4 +139,5 @@ class MonthViewItem: public QListBoxItem bool mReply; bool mInfo; + bool mDisplayHightlighted; QPalette mPalette; @@ -176,5 +180,6 @@ class MonthViewCell : public KNoScrollListBox QDate selectedIncidenceDate(); QPushButton * dateLabel() { return mLabel; } - + void deHightLight(); + bool doHightLight( Incidence *); void deselect(); void select(); @@ -193,5 +198,4 @@ class MonthViewCell : public KNoScrollListBox public slots: void showDay(); - protected slots: void defaultAction( QListBoxItem * ); @@ -259,4 +263,5 @@ class KOMonthView: public KOEventView void clearList(); public slots: + void incidenceHighlighted( Incidence *, MonthViewCell*, int ); void nextCell(); void prevCell(); |