summaryrefslogtreecommitdiffabout
path: root/korganizer/koeventview.h
Unidiff
Diffstat (limited to 'korganizer/koeventview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeventview.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/koeventview.h b/korganizer/koeventview.h
index 77ec111..f28e68b 100644
--- a/korganizer/koeventview.h
+++ b/korganizer/koeventview.h
@@ -21,24 +21,26 @@
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 _KOEVENTVIEW_H 24#ifndef _KOEVENTVIEW_H
25#define _KOEVENTVIEW_H 25#define _KOEVENTVIEW_H
26 26
27#include <libkcal/calendar.h> 27#include <libkcal/calendar.h>
28#include <libkcal/event.h> 28#include <libkcal/event.h>
29 29
30#include <korganizer/baseview.h> 30#include <korganizer/baseview.h>
31 31
32#include "koeventpopupmenu.h" 32#include "koeventpopupmenu.h"
33//Added by qt3to4:
34#include <Q3PopupMenu>
33 35
34using namespace KCal; 36using namespace KCal;
35 37
36class CalPrinter; 38class CalPrinter;
37 39
38/** 40/**
39 KOEventView is the abstract base class from which all other 41 KOEventView is the abstract base class from which all other
40 calendar views for event data are derived. It provides methods for 42 calendar views for event data are derived. It provides methods for
41 displaying 43 displaying
42 appointments and events on one or more days. The actual number of 44 appointments and events on one or more days. The actual number of
43 days that a view actually supports is not defined by this abstract class; 45 days that a view actually supports is not defined by this abstract class;
44 that is up to the classes that inherit from it. It also provides 46 that is up to the classes that inherit from it. It also provides
@@ -78,25 +80,25 @@ class KOEventView : public KOrg::BaseView
78 KOEventPopupMenu *eventPopup(); 80 KOEventPopupMenu *eventPopup();
79 81
80 /** This view is an view for displaying events. */ 82 /** This view is an view for displaying events. */
81 bool isEventView() { return true; } 83 bool isEventView() { return true; }
82 84
83 public slots: 85 public slots:
84 86
85 /** 87 /**
86 * Show context menu for event. 88 * Show context menu for event.
87 * @param event event, which is to be manipulated by the menu actions 89 * @param event event, which is to be manipulated by the menu actions
88 * @param popup a popop menu created with eventPopup() 90 * @param popup a popop menu created with eventPopup()
89 */ 91 */
90 void showIncidencePopup(QPopupMenu *popup, Incidence *event); 92 void showIncidencePopup(Q3PopupMenu *popup, Incidence *event);
91 93
92 /** 94 /**
93 Perform the default action for an incidence, e.g. open the event editor, 95 Perform the default action for an incidence, e.g. open the event editor,
94 when double-clicking an event in the agenda view. 96 when double-clicking an event in the agenda view.
95 */ 97 */
96 void defaultAction( Incidence * ); 98 void defaultAction( Incidence * );
97 99
98 signals: 100 signals:
99 /** 101 /**
100 * when the view changes the dates that are selected in one way or 102 * when the view changes the dates that are selected in one way or
101 * another, this signal is emitted. It should be connected back to 103 * another, this signal is emitted. It should be connected back to
102 * the @see KDateNavigator object so that it changes appropriately, 104 * the @see KDateNavigator object so that it changes appropriately,