KOrg::BaseView Class Reference
This class provides an interface for all views being displayed within the main calendar view. Base class for calendar views. More...
#include <baseview.h>
Inherits QWidget.
Inherited by KOEventView, KOJournalView, KOProjectView, KOTodoView, and KOWhatsNextView.
Public Slots
- virtual void showDates (const QDate &start, const QDate &end)=0
- virtual void showIncidences (const Incidence::List &incidenceList)=0
- virtual void updateView ()=0
- virtual void dayPassed (const QDate &)
- virtual void setIncidenceChanger (IncidenceChangerBase *changer)
- virtual void flushView ()
- virtual void changeIncidenceDisplay (Incidence *, int)=0
- virtual void updateConfig ()
- virtual void clearSelection ()
- virtual bool eventDurationHint (QDateTime &, QDateTime &, bool &)
Signals
- void incidenceSelected (Incidence *)
- void showIncidenceSignal (Incidence *)
- void editIncidenceSignal (Incidence *)
- void deleteIncidenceSignal (Incidence *)
- void toggleAlarmSignal (Incidence *)
- void dissociateOccurrenceSignal (Incidence *, const QDate &)
- void dissociateFutureOccurrenceSignal (Incidence *, const QDate &)
- void startMultiModify (const QString &)
- void endMultiModify ()
- void newEventSignal ()
- void newEventSignal (const QDate &)
- void newEventSignal (const QDateTime &)
- void newEventSignal (const QDateTime &, const QDateTime &)
- void newTodoSignal (const QDate &)
- void newSubTodoSignal (Todo *)
- void newJournalSignal (const QDate &)
Public Member Functions
- BaseView (Calendar *cal, QWidget *parent=0, const char *name=0)
- virtual ~BaseView ()
- virtual void setCalendar (Calendar *cal)
- virtual Calendar * calendar ()
- virtual Incidence::List selectedIncidences ()=0
- virtual DateList selectedDates ()=0
- virtual CalPrinterBase::PrintType printType ()
- virtual int currentDateCount ()=0
- virtual bool isEventView ()
Protected Attributes
Detailed Description
This class provides an interface for all views being displayed within the main calendar view. Base class for calendar views.It has functions to update the view, to specify date range and other display parameter and to return selected objects. An important class, which inherits KOBaseView is KOEventView, which provides the interface for all views of event data like the agenda or the month view.
- Author:
- Preston Brown, Cornelius Schumacher
- See also:
- KOTodoView, KOEventView, KOListView, KOAgendaView, KOMonthView
Constructor & Destructor Documentation
|
Constructs a view.
|
|
Destructor. Views will do view-specific cleanups here. |
Member Function Documentation
|
Return calendar object of this view.
|
|
Implemented in KOAgendaView, KOJournalView, KOListView, KOMonthView, KOTodoView, KOWhatsNextView, and KOProjectView. |
|
Implemented in KOAgendaView, KOJournalView, KOListView, KOMonthView, KOTodoView, KOWhatsNextView, and KOProjectView. |
|
Return number of currently shown dates. A return value of 0 means no idea. Implemented in KOAgendaView, KOJournalView, KOListView, KOMonthView, KOTodoView, KOWhatsNextView, and KOProjectView. |
|
Return if this view is a view for displaying events.
Reimplemented in KOEventView. |
|
Show incidences for the given date range. The date range actually shown may be different from the requested range, depending on the particular requirements of the view.
Implemented in KOAgendaView, KOJournalView, KOListView, KOMonthView, KOTodoView, KOWhatsNextView, and KOProjectView. |
|
Show given incidences. Depending on the actual view it might not be possible to show all given events.
Implemented in KOAgendaView, KOJournalView, KOListView, KOMonthView, KOTodoView, KOWhatsNextView, and KOProjectView. |
|
Updates the current display to reflect changes that may have happened in the calendar since the last display refresh.
Implemented in KOAgendaView, KOJournalView, KOListView, KOMonthView, KOTodoView, KOWhatsNextView, and KOProjectView. |
|
Assign a new incidence change helper object.
Reimplemented in KOAgendaView, KOJournalView, and KOTodoView. |
|
Write all unsaved data back to calendar store.
Reimplemented in KOJournalView. |
|
Updates the current display to reflect the changes to one particular incidence.
Implemented in KOAgendaView, KOJournalView, KOListView, KOMonthView, KOTodoView, KOWhatsNextView, and KOProjectView. |
|
Re-reads the KOrganizer configuration and picks up relevant changes which are applicable to the view.
Reimplemented in KOAgendaView, KOMonthView, KOTodoView, and KOProjectView. |
|
Clear selection. The incidenceSelected signal is not emitted. Reimplemented in KOAgendaView, KOListView, KOMonthView, and KOTodoView. |
|
Set the default start/end date/time for new events. Return true if anything was changed Reimplemented in KOAgendaView, and KOMonthView. |
|
instructs the receiver to show the incidence in read-only mode.
|
|
instructs the receiver to begin editing the incidence specified in some manner. Doesn't make sense to connect to more than one receiver. |
|
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. |
|
instructs the receiver to toggle the alarms of the Incidence.
|
|
Dissociate from a recurring incidence the occurence on the given date to a new incidence.
|
|
Dissociate from a recurring incidence all occurences after the given date to a new incidence.
|
|
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. |
The documentation for this class was generated from the following file:
- baseview.h