summaryrefslogtreecommitdiffabout
path: root/korganizer/komonthview.h
authorzautrix <zautrix>2005-06-28 07:40:22 (UTC)
committer zautrix <zautrix>2005-06-28 07:40:22 (UTC)
commit4385e73c51688f0b8b21bfe061c04a6c42e92701 (patch) (unidiff)
treecc55a5cdfa999b9e285d37116901f4c0a2357b20 /korganizer/komonthview.h
parent386f48c2011e49c7c145bad7754a725cabc25dd5 (diff)
downloadkdepimpi-4385e73c51688f0b8b21bfe061c04a6c42e92701.zip
kdepimpi-4385e73c51688f0b8b21bfe061c04a6c42e92701.tar.gz
kdepimpi-4385e73c51688f0b8b21bfe061c04a6c42e92701.tar.bz2
fixx
Diffstat (limited to 'korganizer/komonthview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/komonthview.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h
index 2622d10..0f3aa54 100644
--- a/korganizer/komonthview.h
+++ b/korganizer/komonthview.h
@@ -73,33 +73,33 @@ private slots :
73}; 73};
74 74
75class KNoScrollListBox: public QListBox 75class KNoScrollListBox: public QListBox
76{ 76{
77 Q_OBJECT 77 Q_OBJECT
78 public: 78 public:
79 KNoScrollListBox(QWidget *parent=0, const char *name=0); 79 KNoScrollListBox(QWidget *parent=0, const char *name=0);
80 ~KNoScrollListBox(); 80 ~KNoScrollListBox();
81 QString getWhatsThisText(QPoint p) ; 81 QString getWhatsThisText(QPoint p) ;
82 82
83 signals: 83 signals:
84 void shiftDown(); 84 void shiftDown();
85 void shiftUp(); 85 void shiftUp();
86 void rightClick(); 86 void rightClick();
87 void nextCell(); 87 void nextCell();
88 void prevCell(); 88 void prevCell();
89 void highligtIncidence( Incidence * , MonthViewCell*, int ); 89 void highlightIncidence( Incidence * , MonthViewCell*, int );
90 90
91 protected slots: 91 protected slots:
92 void oneDown(); 92 void oneDown();
93 void keyPressEvent(QKeyEvent *); 93 void keyPressEvent(QKeyEvent *);
94 void keyReleaseEvent(QKeyEvent *); 94 void keyReleaseEvent(QKeyEvent *);
95 void mousePressEvent(QMouseEvent *); 95 void mousePressEvent(QMouseEvent *);
96 void focusInEvent ( QFocusEvent * ); 96 void focusInEvent ( QFocusEvent * );
97 void focusOutEvent ( QFocusEvent * ); 97 void focusOutEvent ( QFocusEvent * );
98 98
99 private: 99 private:
100 bool resetOnFocusIn; 100 bool resetOnFocusIn;
101 KNOWhatsThis * mWT; 101 KNOWhatsThis * mWT;
102}; 102};
103 103
104 104
105class MonthViewItem: public QListBoxItem 105class MonthViewItem: public QListBoxItem
@@ -124,33 +124,33 @@ class MonthViewItem: public QListBoxItem
124 Incidence *incidence() const { return mIncidence; } 124 Incidence *incidence() const { return mIncidence; }
125 125
126 protected: 126 protected:
127 virtual void paint(QPainter *); 127 virtual void paint(QPainter *);
128 virtual int height(const QListBox *) const; 128 virtual int height(const QListBox *) const;
129 virtual int width(const QListBox *) const; 129 virtual int width(const QListBox *) const;
130 130
131 private: 131 private:
132 int mdayPos; 132 int mdayPos;
133 bool isWeekItem; 133 bool isWeekItem;
134 bool mblockRepaint; 134 bool mblockRepaint;
135 int mMultiday; 135 int mMultiday;
136 bool mRecur; 136 bool mRecur;
137 bool mAlarm; 137 bool mAlarm;
138 bool mReply; 138 bool mReply;
139 bool mInfo; 139 bool mInfo;
140 bool mDisplayHightlighted; 140 bool mDisplayHighlighted;
141 141
142 QPalette mPalette; 142 QPalette mPalette;
143 QDate mDate; 143 QDate mDate;
144 144
145 Incidence *mIncidence; 145 Incidence *mIncidence;
146}; 146};
147 147
148 148
149class KOMonthView; 149class KOMonthView;
150 150
151class MonthViewCell : public KNoScrollListBox 151class MonthViewCell : public KNoScrollListBox
152{ 152{
153 Q_OBJECT 153 Q_OBJECT
154 public: 154 public:
155 MonthViewCell(KOMonthView *,QWidget* ); 155 MonthViewCell(KOMonthView *,QWidget* );
156 ~MonthViewCell() {mAvailItemList.setAutoDelete( true );} 156 ~MonthViewCell() {mAvailItemList.setAutoDelete( true );}
@@ -165,34 +165,34 @@ class MonthViewCell : public KNoScrollListBox
165 void setHoliday( const QString & ); 165 void setHoliday( const QString & );
166 166
167 void updateCell(); 167 void updateCell();
168 void startUpdateCell(); 168 void startUpdateCell();
169 void finishUpdateCell(); 169 void finishUpdateCell();
170 void repaintfinishUpdateCell(); 170 void repaintfinishUpdateCell();
171 int insertEvent(Event *); 171 int insertEvent(Event *);
172 void insertTodo(Todo *); 172 void insertTodo(Todo *);
173 173
174 void updateConfig( bool bigFont = false ); 174 void updateConfig( bool bigFont = false );
175 175
176 void enableScrollBars( bool ); 176 void enableScrollBars( bool );
177 177
178 Incidence *selectedIncidence(); 178 Incidence *selectedIncidence();
179 QDate selectedIncidenceDate(); 179 QDate selectedIncidenceDate();
180 QPushButton * dateLabel() { return mLabel; } 180 QPushButton * dateLabel() { return mLabel; }
181 void deHightLight(); 181 void deHighLight();
182 bool doHightLight( Incidence *); 182 bool doHighLight( Incidence *);
183 void deselect(); 183 void deselect();
184 void select(); 184 void select();
185#ifdef DESKTOP_VERSION 185#ifdef DESKTOP_VERSION
186 static QToolTipGroup *toolTipGroup(); 186 static QToolTipGroup *toolTipGroup();
187#endif 187#endif
188 signals: 188 signals:
189 void defaultAction( Incidence * ); 189 void defaultAction( Incidence * );
190 void newEventSignal( QDateTime ); 190 void newEventSignal( QDateTime );
191 void showDaySignal( QDate ); 191 void showDaySignal( QDate );
192 192
193 protected: 193 protected:
194 QStringList mToolTip; 194 QStringList mToolTip;
195 void resizeEvent( QResizeEvent * ); 195 void resizeEvent( QResizeEvent * );
196 196
197public slots: 197public slots:
198 void showDay(); 198 void showDay();