-rw-r--r-- | korganizer/komonthview.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index e962756..e39eeb0 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h @@ -108,6 +108,8 @@ class MonthViewItem: public QListBoxItem void setReply(bool on) { mReply = on; } void setMoreInfo(bool on) { mInfo = on; } void setMultiDay(int type) { mMultiday = type; } + void setMultiDayPos(int type) { mdayPos = type; } + int gettMultiDayPos() { return mdayPos; } void setBlockRepaint(bool on) { mblockRepaint = on; } @@ -123,6 +125,7 @@ class MonthViewItem: public QListBoxItem virtual int width(const QListBox *) const; private: + int mdayPos; bool isWeekItem; bool mblockRepaint; int mMultiday; @@ -160,7 +163,7 @@ class MonthViewCell : public KNoScrollListBox void startUpdateCell(); void finishUpdateCell(); void repaintfinishUpdateCell(); - void insertEvent(Event *); + int insertEvent(Event *); void insertTodo(Todo *); void updateConfig( bool bigFont = false ); @@ -197,6 +200,7 @@ public slots: void newEvent(); private: + int mdayCount; QPtrList <MonthViewItem> mAvailItemList; KOMonthView *mMonthView; int currentPalette; |