KOEventView Class Reference
KOEventView is the abstract base class from which all other calendar views for event data are derived. Abstract class from which all event views are derived. More...
#include <koeventview.h>
Inheritance diagram for KOEventView:

Public Slots | |
void | showIncidencePopup (QPopupMenu *popup, Incidence *event) |
void | defaultAction (Incidence *) |
Signals | |
void | datesSelected (const DateList) |
void | showIncidenceSignal (Incidence *) |
void | editIncidenceSignal (Incidence *) |
void | deleteIncidenceSignal (Incidence *) |
void | newEventSignal () |
void | newEventSignal (QDate) |
void | newEventSignal (QDateTime) |
void | newEventSignal (QDateTime, QDateTime) |
void | shiftedEvent (const QDate &olddate, const QDate &newdate) |
Public Methods | |
KOEventView (Calendar *cal, QWidget *parent=0, const char *name=0) | |
virtual | ~KOEventView () |
virtual int | maxDatesHint ()=0 |
KOEventPopupMenu * | eventPopup () |
QPopupMenu * | newEventPopup () |
bool | isEventView () |
Protected Slots | |
void | popupShow () |
void | popupEdit () |
void | popupDelete () |
Protected Attributes | |
Incidence * | mCurrentIncidence |
Detailed Description
KOEventView is the abstract base class from which all other calendar views for event data are derived. Abstract class from which all event views are derived.It provides methods for displaying appointments and events on one or more days. The actual number of days that a view actually supports is not defined by this abstract class; that is up to the classes that inherit from it. It also provides methods for updating the display, retrieving the currently selected event (or events), and the like.
- Author:
- Preston Brown <pbrown@kde.org>
- See also:
- KOListView, KOAgendaView, KOWeekView, KOMonthView
Definition at line 52 of file koeventview.h.
Constructor & Destructor Documentation
|
Constructs a view.
Definition at line 44 of file koeventview.cpp. |
|
Destructor. Views will do view-specific cleanups here. Definition at line 51 of file koeventview.cpp. |
Member Function Documentation
|
provides a hint back to the caller on the maximum number of dates that the view supports. A return value of 0 means no maximum. Implemented in KOAgendaView, and KOListView. |
|
Construct a standard context menu for an event.
Definition at line 57 of file koeventview.cpp. References deleteIncidenceSignal(), editIncidenceSignal(), eventPopup(), and showIncidenceSignal(). Referenced by eventPopup(). |
|
Construct a standard context that allows to create a new event.
Definition at line 71 of file koeventview.cpp. |
|
This view is an view for displaying events.
Reimplemented from KOrg::BaseView. Definition at line 86 of file koeventview.h. |
|
Show context menu for event.
Definition at line 88 of file koeventview.cpp. References QWidget::event(), QPopupMenu::popup(), and QCursor::pos(). |
|
Perform the default action for an incidence, e.g. open the event editor, when double-clicking an event in the agenda view. Definition at line 118 of file koeventview.cpp. References editIncidenceSignal(), and showIncidenceSignal(). |
|
when the view changes the dates that are selected in one way or another, this signal is emitted. It should be connected back to the
|
|
instructs the receiver to show the incidence in read-only mode.
Referenced by defaultAction(), and eventPopup(). |
|
instructs the receiver to begin editing the incidence specified in some manner. Doesn't make sense to connect to more than one receiver. Referenced by defaultAction(), and eventPopup(). |
|
instructs the receiver to delete the Incidence in some manner; some possibilities include automatically, with a confirmation dialog box, etc. Doesn't make sense to connect to more than one receiver. Referenced by eventPopup(). |
|
instructs the receiver to create a new event. Doesn't make sense to connect to more than one receiver. |
|
instructs the receiver to create a new event with the specified beginning time. Doesn't make sense to connect to more than one receiver. |
|
instructs the receiver to create a new event with the specified beginning time. Doesn't make sense to connect to more than one receiver. |
|
instructs the receiver to create a new event, with the specified beginning end ending times. Doesn't make sense to connect to more than one receiver. |
|
Emitted when an event is moved using the mouse in an agenda view (week / month).
|
The documentation for this class was generated from the following files: