author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/koeventview.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | korganizer/koeventview.h | 4 |
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 | |||
@@ -17,32 +17,34 @@ | |||
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 _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 | ||
34 | using namespace KCal; | 36 | using namespace KCal; |
35 | 37 | ||
36 | class CalPrinter; | 38 | class 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 |
45 | methods for updating the display, retrieving the currently selected | 47 | methods for updating the display, retrieving the currently selected |
46 | event (or events), and the like. | 48 | event (or events), and the like. |
47 | 49 | ||
48 | @short Abstract class from which all event views are derived. | 50 | @short Abstract class from which all event views are derived. |
@@ -74,33 +76,33 @@ class KOEventView : public KOrg::BaseView | |||
74 | 76 | ||
75 | /** | 77 | /** |
76 | * Construct a standard context menu for an event. | 78 | * Construct a standard context menu for an event. |
77 | */ | 79 | */ |
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, |
103 | * and any other objects that need to be aware that the list of | 105 | * and any other objects that need to be aware that the list of |
104 | * selected dates has changed. | 106 | * selected dates has changed. |
105 | */ | 107 | */ |
106 | void datesSelected(const DateList); | 108 | void datesSelected(const DateList); |