-rw-r--r-- | korganizer/kolistview.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h index bcef0f0..a54b550 100644 --- a/korganizer/kolistview.h +++ b/korganizer/kolistview.h | |||
@@ -17,37 +17,32 @@ | |||
17 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | 19 | ||
20 | As a special exception, permission is given to link this program | 20 | As a special exception, permission is given to link this program |
21 | with any edition of Qt, and distribute the resulting executable, | 21 | with any edition of Qt, and distribute the resulting executable, |
22 | without including the source code for Qt in the source distribution. | 22 | without including the source code for Qt in the source distribution. |
23 | */ | 23 | */ |
24 | #ifndef _KOLISTVIEW_H | 24 | #ifndef _KOLISTVIEW_H |
25 | #define _KOLISTVIEW_H | 25 | #define _KOLISTVIEW_H |
26 | 26 | ||
27 | #include <qlistview.h> | 27 | #include <qlistview.h> |
28 | #include <qmap.h> | 28 | #include <qmap.h> |
29 | #include <qdict.h> | 29 | #include <qdict.h> |
30 | 30 | ||
31 | #include <klistview.h> | 31 | #include <klistview.h> |
32 | 32 | ||
33 | #ifndef DESKTOP_VERSION | ||
34 | #include <qtopia/ir.h> | ||
35 | #else | ||
36 | #define Ir char | ||
37 | #endif | ||
38 | #include <libkcal/incidence.h> | 33 | #include <libkcal/incidence.h> |
39 | 34 | ||
40 | #include "koeventview.h" | 35 | #include "koeventview.h" |
41 | #include "customlistviewitem.h" | 36 | #include "customlistviewitem.h" |
42 | 37 | ||
43 | using namespace KCal; | 38 | using namespace KCal; |
44 | 39 | ||
45 | class KOListViewWhatsThis; | 40 | class KOListViewWhatsThis; |
46 | 41 | ||
47 | #include <qpushbutton.h> | 42 | #include <qpushbutton.h> |
48 | #include <qlayout.h> | 43 | #include <qlayout.h> |
49 | #include <qdialog.h> | 44 | #include <qdialog.h> |
50 | #include <qtimer.h> | 45 | #include <qtimer.h> |
51 | #include <qcombobox.h> | 46 | #include <qcombobox.h> |
52 | #include <qspinbox.h> | 47 | #include <qspinbox.h> |
53 | #include <qtooltip.h> | 48 | #include <qtooltip.h> |
@@ -266,42 +261,40 @@ class KOListView : public KOEventView | |||
266 | void showCompletedTodos(); | 261 | void showCompletedTodos(); |
267 | signals: | 262 | signals: |
268 | void signalNewEvent(); | 263 | void signalNewEvent(); |
269 | void beamIncidenceList(QPtrList<Incidence>); | 264 | void beamIncidenceList(QPtrList<Incidence>); |
270 | 265 | ||
271 | public slots: | 266 | public slots: |
272 | void hideAll(); | 267 | void hideAll(); |
273 | void printList(); | 268 | void printList(); |
274 | void resetFocus(); | 269 | void resetFocus(); |
275 | virtual void updateView(); | 270 | virtual void updateView(); |
276 | virtual void showDates(const QDate &start, const QDate &end); | 271 | virtual void showDates(const QDate &start, const QDate &end); |
277 | virtual void showEvents(QPtrList<Event> eventList); | 272 | virtual void showEvents(QPtrList<Event> eventList); |
278 | void clearSelection(); | 273 | void clearSelection(); |
279 | void allSelection(); | 274 | void allSelection(); |
280 | 275 | ||
281 | void clear(); | 276 | void clear(); |
282 | void beamDone( Ir *ir ); | ||
283 | void showDates(); | 277 | void showDates(); |
284 | void hideDates(); | 278 | void hideDates(); |
285 | void deleteAll(); | 279 | void deleteAll(); |
286 | void saveToFile(); | 280 | void saveToFile(); |
287 | void saveToFileVCS(); | 281 | void saveToFileVCS(); |
288 | void saveDescriptionToFile(); | 282 | void saveDescriptionToFile(); |
289 | void beamSelected(); | 283 | void beamSelected(); |
290 | void updateConfig(); | 284 | void updateConfig(); |
291 | void addCat(); | ||
292 | void setCat(); | 285 | void setCat(); |
293 | void setAlarm(); | 286 | void setAlarm(); |
294 | void setCategories( bool removeOld ); | 287 | void setCategories( bool removeOld ); |
295 | void changeEventDisplay(Event *, int); | 288 | void changeEventDisplay(Event *, int); |
296 | 289 | ||
297 | void defaultItemAction(QListViewItem *item); | 290 | void defaultItemAction(QListViewItem *item); |
298 | void popupMenu(QListViewItem *item,const QPoint &,int); | 291 | void popupMenu(QListViewItem *item,const QPoint &,int); |
299 | void setCalendar( int c ); | 292 | void setCalendar( int c ); |
300 | void populateCalPopup(); | 293 | void populateCalPopup(); |
301 | 294 | ||
302 | protected slots: | 295 | protected slots: |
303 | void processSelectionChange(QListViewItem *); | 296 | void processSelectionChange(QListViewItem *); |
304 | 297 | ||
305 | protected: | 298 | protected: |
306 | void writeToFile( bool iCal ); | 299 | void writeToFile( bool iCal ); |
307 | void addEvents(QPtrList<Event> eventList); | 300 | void addEvents(QPtrList<Event> eventList); |