summaryrefslogtreecommitdiffabout
path: root/korganizer/komonthview.h
authorzautrix <zautrix>2005-03-25 05:47:45 (UTC)
committer zautrix <zautrix>2005-03-25 05:47:45 (UTC)
commite3b935f4e24086117213662e670ab26cb2ad8822 (patch) (side-by-side diff)
treed20ad8e8dd09cc3efb9f9e57568d4d009048d518 /korganizer/komonthview.h
parent658354b7112aff72f0fadd924c82b977d803bc27 (diff)
downloadkdepimpi-e3b935f4e24086117213662e670ab26cb2ad8822.zip
kdepimpi-e3b935f4e24086117213662e670ab26cb2ad8822.tar.gz
kdepimpi-e3b935f4e24086117213662e670ab26cb2ad8822.tar.bz2
mal sehn...
Diffstat (limited to 'korganizer/komonthview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/komonthview.h14
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
@@ -93,12 +93,13 @@ 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; }
void setReply(bool on) { mReply = on; }
void setMoreInfo(bool on) { mInfo = on; }
void setMultiDay(int type) { mMultiday = type; }
+ void setBlockRepaint(bool on) { mblockRepaint = on; }
void setPalette(const QPalette &p) { mPalette = p; }
@@ -113,6 +114,7 @@ class MonthViewItem: public QListBoxItem
virtual int width(const QListBox *) const;
private:
+ bool mblockRepaint;
int mMultiday;
bool mRecur;
bool mAlarm;
@@ -128,11 +130,12 @@ 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 & );
QDate date() const;
@@ -146,6 +149,7 @@ class MonthViewCell : public QWidget
void updateCell();
void startUpdateCell();
void finishUpdateCell();
+ void repaintfinishUpdateCell();
void insertEvent(Event *);
void insertTodo(Todo *);
@@ -183,7 +187,10 @@ public slots:
void newEvent();
private:
+ MonthViewItem* mCurrentAvailItem;
+ QPtrList <MonthViewItem> mAvailItemList;
KOMonthView *mMonthView;
+ int currentPalette;
QDate mDate;
bool mPrimary;
@@ -192,7 +199,7 @@ public slots:
//QLabel *mLabel;
QPushButton *mLabel;
- QListBox *mItemList;
+ //QListBox *mItemList;
#ifdef DESKTOP_VERSION
static QToolTipGroup *mToolTipGroup;
#endif
@@ -204,7 +211,6 @@ public slots:
QPalette mNonPrimaryPalette;
void setMyPalette();
QPalette getPalette ();
- void keyPressEvent ( QKeyEvent * ) ;
};