korganizer
#include <multiagendaview.h>
Public Slots | |
void | changeIncidenceDisplay (const Akonadi::Item &, Akonadi::IncidenceChanger::ChangeType) |
void | setIncidenceChanger (Akonadi::IncidenceChanger *changer) |
void | showDates (const QDate &start, const QDate &end, const QDate &preferredMonth=QDate()) |
void | showIncidences (const Akonadi::Item::List &incidenceList, const QDate &date) |
void | updateConfig () |
void | updateView () |
Public Slots inherited from KOEventView | |
void | defaultAction (const Akonadi::Item &incidence) |
void | focusChanged (QWidget *, QWidget *) |
Public Slots inherited from KOrg::BaseView | |
virtual void | changeIncidenceDisplay (const Akonadi::Item &, Akonadi::IncidenceChanger::ChangeType)=0 |
virtual void | clearSelection () |
virtual void | dayPassed (const QDate &) |
virtual void | flushView () |
virtual void | setIncidenceChanger (Akonadi::IncidenceChanger *changer) |
virtual void | showIncidences (const Akonadi::Item::List &incidenceList, const QDate &date)=0 |
virtual void | updateConfig () |
virtual void | updateView ()=0 |
Public Member Functions | |
MultiAgendaView (QWidget *parent=0) | |
~MultiAgendaView () | |
Akonadi::Collection::Id | collectionId () const |
int | currentDateCount () const |
bool | eventDurationHint (QDateTime &startDt, QDateTime &endDt, bool &allDay) |
bool | hasConfigurationDialog () const |
int | maxDatesHint () const |
void | restoreConfig (const KConfigGroup &configGroup) |
void | saveConfig (KConfigGroup &configGroup) |
KCalCore::DateList | selectedIncidenceDates () |
Akonadi::Item::List | selectedIncidences () |
void | setCalendar (const Akonadi::ETMCalendar::Ptr &cal) |
void | setChanges (EventViews::EventView::Changes changes) |
void | setCustomCollectionSelectionProxyModel (KCheckableProxyModel *model) |
void | setDateRange (const KDateTime &start, const KDateTime &end, const QDate &preferredMonth=QDate()) |
void | showConfigurationDialog (QWidget *parent) |
KCheckableProxyModel * | takeCustomCollectionSelectionProxyModel () |
Public Member Functions inherited from KOEventView | |
KOEventView (QWidget *parent=0) | |
virtual | ~KOEventView () |
KOEventPopupMenu * | eventPopup () |
bool | isEventView () |
QMenu * | newEventPopup () |
virtual void | setTypeAheadReceiver (QObject *o) |
int | showMoveRecurDialog (const Akonadi::Item &inc, const QDate &date) |
bool | supportsDateNavigation () const |
Public Member Functions inherited from KOrg::BaseView | |
BaseView (QWidget *parent=0) | |
virtual | ~BaseView () |
KDateTime | actualEndDateTime () const |
KDateTime | actualStartDateTime () const |
virtual Akonadi::ETMCalendar::Ptr | calendar () |
EventViews::EventView::Changes | changes () const |
KDateTime | endDateTime () const |
virtual void | getHighlightMode (bool &highlightEvents, bool &highlightTodos, bool &highlightJournals) |
QByteArray | identifier () const |
virtual CalPrinterBase::PrintType | printType () const |
virtual QDateTime | selectionEnd () |
virtual QDateTime | selectionStart () |
virtual void | setIdentifier (const QByteArray &identifier) |
KDateTime | startDateTime () const |
virtual bool | supportsDateRangeSelection () |
virtual bool | supportsZoom () |
virtual bool | usesFullWindow () |
virtual BaseView * | viewAt (const QPoint &p) |
Additional Inherited Members | |
Public Types inherited from KOEventView | |
enum | { BRIGHTNESS_FACTOR = 125 } |
Signals inherited from KOEventView | |
void | datesSelected (const KCalCore::DateList datelist) |
void | shiftedEvent (const QDate &olddate, const QDate &ewdate) |
Signals inherited from KOrg::BaseView | |
void | copyIncidenceSignal (const Akonadi::Item &) |
void | copyIncidenceToResourceSignal (const Akonadi::Item &, const QString &) |
void | cutIncidenceSignal (const Akonadi::Item &) |
void | deleteIncidenceSignal (const Akonadi::Item &) |
void | dissociateOccurrencesSignal (const Akonadi::Item &, const QDate &) |
void | editIncidenceSignal (const Akonadi::Item &) |
void | endMultiModify () |
void | incidenceSelected (const Akonadi::Item &, const QDate) |
void | moveIncidenceToResourceSignal (const Akonadi::Item &, const QString &) |
void | newEventSignal () |
void | newEventSignal (const QDate &) |
void | newEventSignal (const QDateTime &) |
void | newEventSignal (const QDateTime &, const QDateTime &) |
void | newJournalSignal (const QDate &) |
void | newSubTodoSignal (const Akonadi::Item &) |
void | newTodoSignal (const QDate &) |
void | pasteIncidenceSignal () |
void | showIncidenceSignal (const Akonadi::Item &) |
void | startMultiModify (const QString &) |
void | toggleAlarmSignal (const Akonadi::Item &) |
void | toggleTodoCompletedSignal (const Akonadi::Item &) |
Static Public Member Functions inherited from KOEventView | |
static bool | usesCompletedTodoPixmap (const Akonadi::Item &todo, const QDate &date) |
Protected Slots inherited from KOEventView | |
void | popupCopy () |
void | popupCut () |
void | popupDelete () |
void | popupEdit () |
void | popupShow () |
virtual void | showNewEventPopup () |
Protected Slots inherited from KOrg::BaseView | |
virtual void | calendarReset () |
Protected Member Functions inherited from KOrg::BaseView | |
virtual QPair< KDateTime, KDateTime > | actualDateRange (const KDateTime &start, const KDateTime &end, const QDate &preferredMonth=QDate()) const |
virtual void | doRestoreConfig (const KConfigGroup &configGroup) |
virtual void | doSaveConfig (KConfigGroup &configGroup) |
virtual void | showDates (const QDate &start, const QDate &end, const QDate &preferredMonth=QDate())=0 |
Protected Attributes inherited from KOEventView | |
Akonadi::Item | mCurrentIncidence |
Protected Attributes inherited from KOrg::BaseView | |
Akonadi::IncidenceChanger * | mChanger |
Detailed Description
Shows one agenda for every resource side-by-side.
Definition at line 37 of file multiagendaview.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 69 of file multiagendaview.cpp.
MultiAgendaView::~MultiAgendaView | ( | ) |
Definition at line 149 of file multiagendaview.cpp.
Member Function Documentation
|
slot |
Definition at line 189 of file multiagendaview.cpp.
|
virtual |
Reimplemented from KOrg::BaseView.
Definition at line 184 of file multiagendaview.cpp.
|
virtual |
Returns the number of currently shown dates.
A return value of 0 means no idea.
Implements KOrg::BaseView.
Definition at line 164 of file multiagendaview.cpp.
|
virtual |
Sets the default start/end date/time for new events.
Return true if anything was changed
Reimplemented from KOrg::BaseView.
Definition at line 203 of file multiagendaview.cpp.
|
virtual |
reimplemented from KOrg::BaseView
Reimplemented from KOrg::BaseView.
Definition at line 239 of file multiagendaview.cpp.
|
virtual |
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.
Implements KOEventView.
Definition at line 193 of file multiagendaview.cpp.
|
virtual |
reads the view configuration.
View-specific configuration can be restored via doRestoreConfig()
- Parameters
-
configGroup the group to read settings from
- See also
- doRestoreConfig()
Reimplemented from KOrg::BaseView.
Definition at line 303 of file multiagendaview.cpp.
|
virtual |
writes out the view configuration.
View-specific configuration can be saved via doSaveConfig()
- Parameters
-
configGroup the group to store settings in
- See also
- doSaveConfig()
Reimplemented from KOrg::BaseView.
Definition at line 308 of file multiagendaview.cpp.
|
virtual |
Returns a list of the dates of selected events.
Most views can probably only select a single event at a time, but some may be able to select more than one.
Implements KOrg::BaseView.
Definition at line 159 of file multiagendaview.cpp.
|
virtual |
- Returns
- a list of selected events. Most views can probably only select a single event at a time, but some may be able to select more than one.
Implements KOrg::BaseView.
Definition at line 154 of file multiagendaview.cpp.
|
virtual |
Reimplemented from KOrg::BaseView.
Definition at line 143 of file multiagendaview.cpp.
|
virtual |
Notifies the view that there are pending changes so a redraw is needed.
- Parameters
-
changes Types of changes that were made
Reimplemented from KOrg::BaseView.
Definition at line 219 of file multiagendaview.cpp.
void MultiAgendaView::setCustomCollectionSelectionProxyModel | ( | KCheckableProxyModel * | model | ) |
Definition at line 276 of file multiagendaview.cpp.
|
virtual |
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.
- Parameters
-
start Start of date range. end End of date range.
Reimplemented from KOrg::BaseView.
Definition at line 198 of file multiagendaview.cpp.
|
slot |
Definition at line 209 of file multiagendaview.cpp.
|
virtual |
reimplemented from KOrg::BaseView
Reimplemented from KOrg::BaseView.
Definition at line 245 of file multiagendaview.cpp.
|
slot |
Definition at line 169 of file multiagendaview.cpp.
|
slot |
Definition at line 174 of file multiagendaview.cpp.
KCheckableProxyModel * MultiAgendaView::takeCustomCollectionSelectionProxyModel | ( | ) |
Definition at line 271 of file multiagendaview.cpp.
|
slot |
Definition at line 214 of file multiagendaview.cpp.
|
slot |
Definition at line 179 of file multiagendaview.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.