author | zautrix <zautrix> | 2005-03-25 05:47:45 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-25 05:47:45 (UTC) |
commit | e3b935f4e24086117213662e670ab26cb2ad8822 (patch) (side-by-side diff) | |
tree | d20ad8e8dd09cc3efb9f9e57568d4d009048d518 /korganizer/komonthview.h | |
parent | 658354b7112aff72f0fadd924c82b977d803bc27 (diff) | |
download | kdepimpi-e3b935f4e24086117213662e670ab26cb2ad8822.zip kdepimpi-e3b935f4e24086117213662e670ab26cb2ad8822.tar.gz kdepimpi-e3b935f4e24086117213662e670ab26cb2ad8822.tar.bz2 |
mal sehn...
-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 @@ -94,5 +94,5 @@ class MonthViewItem: public QListBoxItem public: MonthViewItem( Incidence *, QDate qd, const QString & title ); - + void recycle( Incidence *incidence, QDate qd, const QString & s); void setRecur(bool on) { mRecur = on; } void setAlarm(bool on) { mAlarm = on; } @@ -100,4 +100,5 @@ class MonthViewItem: public QListBoxItem void setMoreInfo(bool on) { mInfo = on; } void setMultiDay(int type) { mMultiday = type; } + void setBlockRepaint(bool on) { mblockRepaint = on; } @@ -114,4 +115,5 @@ class MonthViewItem: public QListBoxItem private: + bool mblockRepaint; int mMultiday; bool mRecur; @@ -129,9 +131,10 @@ class MonthViewItem: public QListBoxItem class KOMonthView; -class MonthViewCell : public QWidget +class MonthViewCell : public KNoScrollListBox { Q_OBJECT public: MonthViewCell(KOMonthView *,QWidget* ); + ~MonthViewCell() {mAvailItemList.setAutoDelete( true );} void setDate( const QDate & ); @@ -147,4 +150,5 @@ class MonthViewCell : public QWidget void startUpdateCell(); void finishUpdateCell(); + void repaintfinishUpdateCell(); void insertEvent(Event *); void insertTodo(Todo *); @@ -184,5 +188,8 @@ public slots: private: + MonthViewItem* mCurrentAvailItem; + QPtrList <MonthViewItem> mAvailItemList; KOMonthView *mMonthView; + int currentPalette; QDate mDate; @@ -193,5 +200,5 @@ public slots: //QLabel *mLabel; QPushButton *mLabel; - QListBox *mItemList; + //QListBox *mItemList; #ifdef DESKTOP_VERSION static QToolTipGroup *mToolTipGroup; @@ -205,5 +212,4 @@ public slots: void setMyPalette(); QPalette getPalette (); - void keyPressEvent ( QKeyEvent * ) ; }; |