-rw-r--r-- | korganizer/kolistview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h index bb0e23e..eb5bb6e 100644 --- a/korganizer/kolistview.h +++ b/korganizer/kolistview.h | |||
@@ -230,70 +230,70 @@ class KOListViewListView : public KListView | |||
230 | void contentsMousePressEvent(QMouseEvent *e); | 230 | void contentsMousePressEvent(QMouseEvent *e); |
231 | void contentsMouseReleaseEvent(QMouseEvent *e); | 231 | void contentsMouseReleaseEvent(QMouseEvent *e); |
232 | void contentsMouseMoveEvent(QMouseEvent *e); | 232 | void contentsMouseMoveEvent(QMouseEvent *e); |
233 | bool mMouseDown; | 233 | bool mMouseDown; |
234 | }; | 234 | }; |
235 | 235 | ||
236 | class KOListView : public KOEventView | 236 | class KOListView : public KOEventView |
237 | { | 237 | { |
238 | Q_OBJECT | 238 | Q_OBJECT |
239 | public: | 239 | public: |
240 | KOListView(Calendar *calendar, QWidget *parent = 0, | 240 | KOListView(Calendar *calendar, QWidget *parent = 0, |
241 | const char *name = 0); | 241 | const char *name = 0); |
242 | ~KOListView(); | 242 | ~KOListView(); |
243 | 243 | ||
244 | virtual int maxDatesHint(); | 244 | virtual int maxDatesHint(); |
245 | virtual int currentDateCount(); | 245 | virtual int currentDateCount(); |
246 | virtual QPtrList<Incidence> selectedIncidences(); | 246 | virtual QPtrList<Incidence> selectedIncidences(); |
247 | virtual DateList selectedDates(); | 247 | virtual DateList selectedDates(); |
248 | 248 | ||
249 | void showDates(bool show); | 249 | void showDates(bool show); |
250 | Incidence* currentItem(); | 250 | Incidence* currentItem(); |
251 | void addTodos(QPtrList<Todo> eventList); | 251 | void addTodos(QPtrList<Todo> eventList); |
252 | void addJournals(QPtrList<Journal> eventList); | 252 | void addJournals(QPtrList<Journal> eventList); |
253 | virtual void printPreview(CalPrinter *calPrinter, | 253 | virtual void printPreview(CalPrinter *calPrinter, |
254 | const QDate &, const QDate &); | 254 | const QDate &, const QDate &); |
255 | 255 | ||
256 | void readSettings(KConfig *config, QString setting = "KOListView Layout"); | 256 | void readSettings(KConfig *config, QString setting = "KOListView Layout"); |
257 | void writeSettings(KConfig *config, QString setting = "KOListView Layout"); | 257 | void writeSettings(KConfig *config, QString setting = "KOListView Layout"); |
258 | void updateList(); | 258 | void updateList(); |
259 | void setStartDate(const QDate &start); | 259 | void setStartDate(const QDate &start); |
260 | int count(); | 260 | int count(); |
261 | QString getWhatsThisText(QPoint p); | 261 | QString getWhatsThisText(QPoint p); |
262 | void resetFocus(); | ||
263 | signals: | 262 | signals: |
264 | void signalNewEvent(); | 263 | void signalNewEvent(); |
265 | void beamIncidenceList(QPtrList<Incidence>); | 264 | void beamIncidenceList(QPtrList<Incidence>); |
266 | 265 | ||
267 | public slots: | 266 | public slots: |
267 | void resetFocus(); | ||
268 | virtual void updateView(); | 268 | virtual void updateView(); |
269 | virtual void showDates(const QDate &start, const QDate &end); | 269 | virtual void showDates(const QDate &start, const QDate &end); |
270 | virtual void showEvents(QPtrList<Event> eventList); | 270 | virtual void showEvents(QPtrList<Event> eventList); |
271 | void clearSelection(); | 271 | void clearSelection(); |
272 | void allSelection(); | 272 | void allSelection(); |
273 | 273 | ||
274 | void clear(); | 274 | void clear(); |
275 | void beamDone( Ir *ir ); | 275 | void beamDone( Ir *ir ); |
276 | void showDates(); | 276 | void showDates(); |
277 | void hideDates(); | 277 | void hideDates(); |
278 | void deleteAll(); | 278 | void deleteAll(); |
279 | void saveToFile(); | 279 | void saveToFile(); |
280 | void saveToFileVCS(); | 280 | void saveToFileVCS(); |
281 | void saveDescriptionToFile(); | 281 | void saveDescriptionToFile(); |
282 | void beamSelected(); | 282 | void beamSelected(); |
283 | void updateConfig(); | 283 | void updateConfig(); |
284 | void addCat(); | 284 | void addCat(); |
285 | void setCat(); | 285 | void setCat(); |
286 | void setAlarm(); | 286 | void setAlarm(); |
287 | void setCategories( bool removeOld ); | 287 | void setCategories( bool removeOld ); |
288 | void changeEventDisplay(Event *, int); | 288 | void changeEventDisplay(Event *, int); |
289 | 289 | ||
290 | void defaultItemAction(QListViewItem *item); | 290 | void defaultItemAction(QListViewItem *item); |
291 | void popupMenu(QListViewItem *item,const QPoint &,int); | 291 | void popupMenu(QListViewItem *item,const QPoint &,int); |
292 | 292 | ||
293 | protected slots: | 293 | protected slots: |
294 | void processSelectionChange(QListViewItem *); | 294 | void processSelectionChange(QListViewItem *); |
295 | 295 | ||
296 | protected: | 296 | protected: |
297 | void writeToFile( bool iCal ); | 297 | void writeToFile( bool iCal ); |
298 | void addEvents(QPtrList<Event> eventList); | 298 | void addEvents(QPtrList<Event> eventList); |
299 | void addIncidence(Incidence *); | 299 | void addIncidence(Incidence *); |