summaryrefslogtreecommitdiffabout
path: root/korganizer/komonthview.h
Unidiff
Diffstat (limited to 'korganizer/komonthview.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/komonthview.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h
index e39eeb0..c6b6b5e 100644
--- a/korganizer/komonthview.h
+++ b/korganizer/komonthview.h
@@ -74,24 +74,26 @@ private slots :
74class KNoScrollListBox: public QListBox 74class KNoScrollListBox: public QListBox
75{ 75{
76 Q_OBJECT 76 Q_OBJECT
77 public: 77 public:
78 KNoScrollListBox(QWidget *parent=0, const char *name=0); 78 KNoScrollListBox(QWidget *parent=0, const char *name=0);
79 ~KNoScrollListBox(); 79 ~KNoScrollListBox();
80 QString getWhatsThisText(QPoint p) ; 80 QString getWhatsThisText(QPoint p) ;
81 81
82 signals: 82 signals:
83 void shiftDown(); 83 void shiftDown();
84 void shiftUp(); 84 void shiftUp();
85 void rightClick(); 85 void rightClick();
86 void nextCell();
87 void prevCell();
86 88
87 protected slots: 89 protected slots:
88 void oneDown(); 90 void oneDown();
89 void keyPressEvent(QKeyEvent *); 91 void keyPressEvent(QKeyEvent *);
90 void keyReleaseEvent(QKeyEvent *); 92 void keyReleaseEvent(QKeyEvent *);
91 void mousePressEvent(QMouseEvent *); 93 void mousePressEvent(QMouseEvent *);
92 void focusInEvent ( QFocusEvent * ); 94 void focusInEvent ( QFocusEvent * );
93 void focusOutEvent ( QFocusEvent * ); 95 void focusOutEvent ( QFocusEvent * );
94 96
95 private: 97 private:
96 bool resetOnFocusIn; 98 bool resetOnFocusIn;
97 KNOWhatsThis * mWT; 99 KNOWhatsThis * mWT;
@@ -179,25 +181,24 @@ class MonthViewCell : public KNoScrollListBox
179#ifdef DESKTOP_VERSION 181#ifdef DESKTOP_VERSION
180 static QToolTipGroup *toolTipGroup(); 182 static QToolTipGroup *toolTipGroup();
181#endif 183#endif
182 signals: 184 signals:
183 void defaultAction( Incidence * ); 185 void defaultAction( Incidence * );
184 void newEventSignal( QDateTime ); 186 void newEventSignal( QDateTime );
185 void showDaySignal( QDate ); 187 void showDaySignal( QDate );
186 188
187 protected: 189 protected:
188 QStringList mToolTip; 190 QStringList mToolTip;
189 void resizeEvent( QResizeEvent * ); 191 void resizeEvent( QResizeEvent * );
190 192
191
192public slots: 193public slots:
193 void showDay(); 194 void showDay();
194 195
195 protected slots: 196 protected slots:
196 void defaultAction( QListBoxItem * ); 197 void defaultAction( QListBoxItem * );
197 void contextMenu( QListBoxItem * ); 198 void contextMenu( QListBoxItem * );
198 void selection( QListBoxItem * ); 199 void selection( QListBoxItem * );
199 void cellClicked( QListBoxItem * ); 200 void cellClicked( QListBoxItem * );
200 void newEvent(); 201 void newEvent();
201 202
202 private: 203 private:
203 int mdayCount; 204 int mdayCount;
@@ -247,24 +248,26 @@ class KOMonthView: public KOEventView
247 /** returns dates of the currently selected events */ 248 /** returns dates of the currently selected events */
248 virtual DateList selectedDates(); 249 virtual DateList selectedDates();
249 250
250 virtual void printPreview(CalPrinter *calPrinter, 251 virtual void printPreview(CalPrinter *calPrinter,
251 const QDate &, const QDate &); 252 const QDate &, const QDate &);
252 bool isMonthView() { return !mShowWeekView; } 253 bool isMonthView() { return !mShowWeekView; }
253 bool isUpdatePossible() { return updatePossible; } 254 bool isUpdatePossible() { return updatePossible; }
254 255
255 MonthViewCell * selectedCell(); 256 MonthViewCell * selectedCell();
256 bool skipResize; 257 bool skipResize;
257 NavigatorBar* navigatorBar() { return mNavigatorBar ;} 258 NavigatorBar* navigatorBar() { return mNavigatorBar ;}
258 public slots: 259 public slots:
260 void nextCell();
261 void prevCell();
259 virtual void updateView(); 262 virtual void updateView();
260 virtual void updateConfig(); 263 virtual void updateConfig();
261 virtual void showDates(const QDate &start, const QDate &end); 264 virtual void showDates(const QDate &start, const QDate &end);
262 virtual void showEvents(QPtrList<Event> eventList); 265 virtual void showEvents(QPtrList<Event> eventList);
263 266
264 void changeEventDisplay(Event *, int); 267 void changeEventDisplay(Event *, int);
265 268
266 void clearSelection(); 269 void clearSelection();
267 270
268 void showContextMenu( Incidence * ); 271 void showContextMenu( Incidence * );
269 272
270 void setSelectedCell( MonthViewCell * ); 273 void setSelectedCell( MonthViewCell * );