korganizer
multiagendaview.cpp
Go to the documentation of this file.
111 connect( d->mMultiAgendaView, SIGNAL(copyIncidenceToResourceSignal(Akonadi::Item,Akonadi::Collection)),
114 connect( d->mMultiAgendaView, SIGNAL(moveIncidenceToResourceSignal(Akonadi::Item,Akonadi::Collection)),
174 void MultiAgendaView::showIncidences( const Akonadi::Item::List &incidenceList, const QDate &date )
189 void MultiAgendaView::changeIncidenceDisplay( const Akonadi::Item &, Akonadi::IncidenceChanger::ChangeType )
198 void MultiAgendaView::setDateRange( const KDateTime &start, const KDateTime &end, const QDate & )
bool useCustomColumns() const
Definition: multiagendaview.cpp:433
int currentDateCount() const
Returns the number of currently shown dates.
Definition: multiagendaview.cpp:164
void incidenceSelected(const Akonadi::Item &, const QDate)
void setCalendar(const Akonadi::ETMCalendar::Ptr &cal)
Definition: multiagendaview.cpp:143
void showIncidences(const Akonadi::Item::List &incidenceList, const QDate &date)
Definition: multiagendaview.cpp:174
Akonadi::Collection::Id collectionId() const
Definition: multiagendaview.cpp:184
void showDates(const QDate &start, const QDate &end, const QDate &preferredMonth=QDate())
Definition: multiagendaview.cpp:169
virtual void setSourceModel(QAbstractItemModel *sourceModel)
Shows one agenda for every resource side-by-side.
Definition: multiagendaview.h:37
Akonadi::Item::List selectedIncidences()
Definition: multiagendaview.cpp:154
bool hasConfigurationDialog() const
reimplemented from KOrg::BaseView
Definition: multiagendaview.cpp:239
~MultiAgendaViewConfigDialog()
Definition: multiagendaview.cpp:533
void restoreConfig(const KConfigGroup &configGroup)
reads the view configuration.
Definition: multiagendaview.cpp:303
void toggleAlarmSignal(const Akonadi::Item &)
instructs the receiver to toggle the alarms of the Incidence.
void setUseCustomColumns(bool)
Definition: multiagendaview.cpp:438
KOEventView is the abstract base class from which all other calendar views for event data are derived...
Definition: koeventview.h:54
void changeIncidenceDisplay(const Akonadi::Item &, Akonadi::IncidenceChanger::ChangeType)
Definition: multiagendaview.cpp:189
virtual void setData(const QVariant &value, int role)
void saveConfig(KConfigGroup &configGroup)
writes out the view configuration.
Definition: multiagendaview.cpp:308
void newTodoSignal(const QDate &)
KCheckableProxyModel * takeCustomCollectionSelectionProxyModel()
Definition: multiagendaview.cpp:271
QString columnTitle(int column) const
Definition: multiagendaview.cpp:510
bool isValid() const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
MultiAgendaViewConfigDialog(QAbstractItemModel *baseModel, QWidget *parent=0)
Definition: multiagendaview.cpp:313
void datesSelected(const KCalCore::DateList datelist)
When the view changes the dates that are selected in one way or another, this signal is emitted...
KCalCore::DateList selectedIncidenceDates()
Returns a list of the dates of selected events.
Definition: multiagendaview.cpp:159
int toInt(bool *ok) const
void dissociateOccurrencesSignal(const Akonadi::Item &, const QDate &)
Dissociate from a recurring incidence the occurrence on the given date to a new incidence or dissocia...
int maxDatesHint() const
provides a hint back to the caller on the maximum number of dates that the view supports.
Definition: multiagendaview.cpp:193
void editIncidenceSignal(const Akonadi::Item &)
instructs the receiver to begin editing the incidence specified in some manner.
void showIncidenceSignal(const Akonadi::Item &)
instructs the receiver to show the incidence in read-only mode.
void setDynamicSortFilter(bool enable)
bool eventDurationHint(QDateTime &startDt, QDateTime &endDt, bool &allDay)
Sets the default start/end date/time for new events.
Definition: multiagendaview.cpp:203
void copyIncidenceSignal(const Akonadi::Item &)
instructs the receiver to copy the incidence
void newSubTodoSignal(const Akonadi::Item &)
void cutIncidenceSignal(const Akonadi::Item &)
instructs the receiver to cut the Incidence
#define d
void setNumberOfColumns(int n)
Definition: multiagendaview.cpp:452
void setSizePolicy(QSizePolicy)
void toggleTodoCompletedSignal(const Akonadi::Item &)
instructs the receiver to toggle the completion state of the Incidence (which must be a Todo type)...
void showConfigurationDialog(QWidget *parent)
reimplemented from KOrg::BaseView
Definition: multiagendaview.cpp:245
void deleteIncidenceSignal(const Akonadi::Item &)
instructs the receiver to delete the Incidence in some manner; some possibilities include automatical...
void copyIncidenceToResourceSignal(const Akonadi::Item &, const Akonadi::Collection &)
Copy the incidence to the specified resource.
void moveIncidenceToResourceSignal(const Akonadi::Item &, const Akonadi::Collection &)
Move the incidence to the specified resource.
Context menu for event views with standard event actions.
Definition: koeventpopupmenu.h:38
void setText(const QString &text)
void setDateRange(const KDateTime &start, const KDateTime &end, const QDate &preferredMonth=QDate())
Show incidences for the given date range.
Definition: multiagendaview.cpp:198
void setSelectionModel(int column, KCheckableProxyModel *model)
Definition: multiagendaview.cpp:476
This class provides a view of calendar resources.
Definition: akonadicollectionview.h:67
QVariant data(int role) const
void newEventSignal()
instructs the receiver to create a new event in given collection.
int numberOfColumns() const
Definition: multiagendaview.cpp:447
KCheckableProxyModel * takeSelectionModel(int column)
Definition: multiagendaview.cpp:458
void setChanges(EventViews::EventView::Changes changes)
Notifies the view that there are pending changes so a redraw is needed.
Definition: multiagendaview.cpp:219
void setCustomCollectionSelectionProxyModel(KCheckableProxyModel *model)
Definition: multiagendaview.cpp:276
void setCollectionSelectionProxyModel(KCheckableProxyModel *)
Definition: akonadicollectionview.cpp:405
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void newJournalSignal(const QDate &)
QObject * parent() const
int size() const
void shiftedEvent(const QDate &olddate, const QDate &ewdate)
Emitted when an event is moved using the mouse in an agenda view (week / month).
QString toString() const
void setEditable(bool editable)
void setIncidenceChanger(Akonadi::IncidenceChanger *changer)
Definition: multiagendaview.cpp:209
void pasteIncidenceSignal()
instructs the receiver to paste the incidence
void setColumnTitle(int column, const QString &title)
Definition: multiagendaview.cpp:516
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.