From 53d7ec81939a9cf7ea2f63f133c1b61b2e2a9216 Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 05 Apr 2005 09:30:00 +0000 Subject: fix --- (limited to 'korganizer/komonthview.h') 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 mAvailItemList; KOMonthView *mMonthView; int currentPalette; -- cgit v0.9.0.2