Akonadi::CollectionCalendar
#include <collectioncalendar.h>
Public Types | |
using | Ptr = QSharedPointer<CollectionCalendar> |
Public Types inherited from Akonadi::CalendarBase | |
using | Ptr = QSharedPointer<CalendarBase> |
Public Types inherited from KCalendarCore::MemoryCalendar | |
typedef QSharedPointer< MemoryCalendar > | Ptr |
Public Types inherited from KCalendarCore::Calendar | |
typedef QSharedPointer< Calendar > | Ptr |
Public Types inherited from QObject | |
typedef | QObjectList |
Signals | |
void | calendarChanged () |
Signals inherited from Akonadi::CalendarBase | |
void | createFinished (bool success, const QString &errorMessage) |
void | deleteFinished (bool success, const QString &errorMessage) |
void | modifyFinished (bool success, const QString &errorMessage) |
Signals inherited from KCalendarCore::Calendar | |
void | accessModeChanged () |
void | filterChanged () |
void | iconChanged () |
void | idChanged () |
void | isLoadingChanged () |
void | nameChanged () |
void | ownerChanged () |
Additional Inherited Members | |
Properties inherited from QObject | |
objectName | |
Static Public Member Functions inherited from KCalendarCore::Calendar | |
static Incidence::Ptr | createException (const Incidence::Ptr &incidence, const QDateTime &recurrenceId, bool thisAndFuture=false) |
static Incidence::List | mergeIncidenceList (const Event::List &events, const Todo::List &todos, const Journal::List &journals) |
static Event::List | sortEvents (Event::List &&eventList, EventSortField sortField, SortDirection sortDirection) |
static Journal::List | sortJournals (Journal::List &&journalList, JournalSortField sortField, SortDirection sortDirection) |
static Todo::List | sortTodos (Todo::List &&todoList, TodoSortField sortField, SortDirection sortDirection) |
Static Public Member Functions inherited from QObject | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
bool | disconnect (const QMetaObject::Connection &connection) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
Static Public Member Functions inherited from KCalendarCore::CustomProperties | |
static QByteArray | customPropertyName (const QByteArray &app, const QByteArray &key) |
Protected Member Functions inherited from Akonadi::CalendarBase | |
CalendarBase (CalendarBasePrivate *const d, QObject *parent) | |
Protected Member Functions inherited from KCalendarCore::MemoryCalendar | |
void | virtual_hook (int id, void *data) override |
Protected Member Functions inherited from KCalendarCore::Calendar | |
void | appendAlarms (Alarm::List &alarms, const Incidence::Ptr &incidence, const QDateTime &from, const QDateTime &to) const |
void | appendRecurringAlarms (Alarm::List &alarms, const Incidence::Ptr &incidence, const QDateTime &from, const QDateTime &to) const |
void | customPropertyUpdated () override |
void | notifyIncidenceAboutToBeDeleted (const Incidence::Ptr &incidence) |
void | notifyIncidenceAdded (const Incidence::Ptr &incidence) |
void | notifyIncidenceAdditionCanceled (const Incidence::Ptr &incidence) |
void | notifyIncidenceChanged (const Incidence::Ptr &incidence) |
void | notifyIncidenceDeleted (const Incidence::Ptr &incidence) |
void | setIsLoading (bool isLoading) |
void | setObserversEnabled (bool enabled) |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Protected Member Functions inherited from KCalendarCore::CustomProperties | |
virtual void | customPropertyUpdate () |
Protected Attributes inherited from Akonadi::CalendarBase | |
std::unique_ptr< CalendarBasePrivate > const | d_ptr |
Detailed Description
Calendar representing a single Akonadi::Collection.
Definition at line 22 of file collectioncalendar.h.
Member Typedef Documentation
◆ Ptr
Definition at line 26 of file collectioncalendar.h.
Constructor & Destructor Documentation
◆ CollectionCalendar() [1/2]
|
explicit |
Definition at line 277 of file collectioncalendar.cpp.
◆ CollectionCalendar() [2/2]
CollectionCalendar::CollectionCalendar | ( | QAbstractItemModel * | model, |
const Akonadi::Collection & | col, | ||
QObject * | parent = nullptr ) |
Definition at line 287 of file collectioncalendar.cpp.
Member Function Documentation
◆ addEvent()
|
overridevirtual |
Adds an Event to the calendar.
It's added to akonadi in the background
- See also
- createFinished().
- Parameters
-
event the event to be added
Reimplemented from Akonadi::CalendarBase.
Definition at line 327 of file collectioncalendar.cpp.
◆ addJournal()
|
overridevirtual |
Adds a Journal to the calendar.
It's added to akonadi in the background
- See also
- createFinished().
- Parameters
-
journal the journal to add
Reimplemented from Akonadi::CalendarBase.
Definition at line 347 of file collectioncalendar.cpp.
◆ addTodo()
|
overridevirtual |
Adds a Todo to the calendar.
It's added to akonadi in the background
- See also
- createFinished().
- Parameters
-
todo the todo to add
Reimplemented from Akonadi::CalendarBase.
Definition at line 337 of file collectioncalendar.cpp.
◆ calendarChanged
|
signal |
Emitted whenever an incidence is added, removed or changed.
◆ collection()
|
nodiscard |
Definition at line 295 of file collectioncalendar.cpp.
◆ hasRight()
|
nodiscard |
Definition at line 357 of file collectioncalendar.cpp.
◆ model()
|
nodiscard |
Definition at line 321 of file collectioncalendar.cpp.
◆ setCollection()
void CollectionCalendar::setCollection | ( | const Akonadi::Collection & | c | ) |
Definition at line 301 of file collectioncalendar.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.