• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

korganizer

  • KOrg
  • MultiAgendaView
Public Slots | Public Member Functions | List of all members
KOrg::MultiAgendaView Class Reference

#include <multiagendaview.h>

Inheritance diagram for KOrg::MultiAgendaView:
Inheritance graph
[legend]

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

MultiAgendaView::MultiAgendaView ( QWidget *  parent = 0)
explicit

Definition at line 69 of file multiagendaview.cpp.

MultiAgendaView::~MultiAgendaView ( )

Definition at line 149 of file multiagendaview.cpp.

Member Function Documentation

void MultiAgendaView::changeIncidenceDisplay ( const Akonadi::Item &  ,
Akonadi::IncidenceChanger::ChangeType   
)
slot

Definition at line 189 of file multiagendaview.cpp.

Akonadi::Collection::Id MultiAgendaView::collectionId ( ) const
virtual

Reimplemented from KOrg::BaseView.

Definition at line 184 of file multiagendaview.cpp.

int MultiAgendaView::currentDateCount ( ) const
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.

bool MultiAgendaView::eventDurationHint ( QDateTime &  startDt,
QDateTime &  endDt,
bool &  allDay 
)
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.

bool MultiAgendaView::hasConfigurationDialog ( ) const
virtual

reimplemented from KOrg::BaseView

Reimplemented from KOrg::BaseView.

Definition at line 239 of file multiagendaview.cpp.

int MultiAgendaView::maxDatesHint ( ) const
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.

void MultiAgendaView::restoreConfig ( const KConfigGroup &  configGroup)
virtual

reads the view configuration.

View-specific configuration can be restored via doRestoreConfig()

Parameters
configGroupthe group to read settings from
See also
doRestoreConfig()

Reimplemented from KOrg::BaseView.

Definition at line 303 of file multiagendaview.cpp.

void MultiAgendaView::saveConfig ( KConfigGroup &  configGroup)
virtual

writes out the view configuration.

View-specific configuration can be saved via doSaveConfig()

Parameters
configGroupthe group to store settings in
See also
doSaveConfig()

Reimplemented from KOrg::BaseView.

Definition at line 308 of file multiagendaview.cpp.

KCalCore::DateList MultiAgendaView::selectedIncidenceDates ( )
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.

Akonadi::Item::List MultiAgendaView::selectedIncidences ( )
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.

void MultiAgendaView::setCalendar ( const Akonadi::ETMCalendar::Ptr &  cal)
virtual

Reimplemented from KOrg::BaseView.

Definition at line 143 of file multiagendaview.cpp.

void MultiAgendaView::setChanges ( EventViews::EventView::Changes  changes)
virtual

Notifies the view that there are pending changes so a redraw is needed.

Parameters
changesTypes 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.

void MultiAgendaView::setDateRange ( const KDateTime &  start,
const KDateTime &  end,
const QDate &  preferredMonth = QDate() 
)
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
startStart of date range.
endEnd of date range.

Reimplemented from KOrg::BaseView.

Definition at line 198 of file multiagendaview.cpp.

void MultiAgendaView::setIncidenceChanger ( Akonadi::IncidenceChanger *  changer)
slot

Definition at line 209 of file multiagendaview.cpp.

void MultiAgendaView::showConfigurationDialog ( QWidget *  parent)
virtual

reimplemented from KOrg::BaseView

Reimplemented from KOrg::BaseView.

Definition at line 245 of file multiagendaview.cpp.

void MultiAgendaView::showDates ( const QDate &  start,
const QDate &  end,
const QDate &  preferredMonth = QDate() 
)
slot

Definition at line 169 of file multiagendaview.cpp.

void MultiAgendaView::showIncidences ( const Akonadi::Item::List &  incidenceList,
const QDate &  date 
)
slot

Definition at line 174 of file multiagendaview.cpp.

KCheckableProxyModel * MultiAgendaView::takeCustomCollectionSelectionProxyModel ( )

Definition at line 271 of file multiagendaview.cpp.

void MultiAgendaView::updateConfig ( )
slot

Definition at line 214 of file multiagendaview.cpp.

void MultiAgendaView::updateView ( )
slot

Definition at line 179 of file multiagendaview.cpp.


The documentation for this class was generated from the following files:
  • multiagendaview.h
  • multiagendaview.cpp
This file is part of the KDE documentation.
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.

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal