|
| CalendarNull (const KDateTime::Spec &timeSpec) |
|
| CalendarNull (const QString &timeZoneId) |
|
| ~CalendarNull () |
|
bool | addEvent (Event *event) |
|
bool | addJournal (Journal *journal) |
|
bool | addTodo (Todo *todo) |
|
Alarm::List | alarms (const KDateTime &from, const KDateTime &to) |
|
void | close () |
|
void | deleteAllEvents () |
|
void | deleteAllJournals () |
|
void | deleteAllTodos () |
|
bool | deleteEvent (Event *event) |
|
bool | deleteJournal (Journal *journal) |
|
bool | deleteTodo (Todo *todo) |
|
Event * | event (const QString &uid) |
|
void | incidenceUpdated (IncidenceBase *incidenceBase) |
|
Journal * | journal (const QString &uid) |
|
Event::List | rawEvents (EventSortField sortField, SortDirection sortDirection) |
|
Event::List | rawEvents (const QDate &start, const QDate &end, const KDateTime::Spec &timeSpec=KDateTime::Spec(), bool inclusive=false) |
|
Event::List | rawEventsForDate (const QDate &date, const KDateTime::Spec &timeSpec=KDateTime::Spec(), EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending) |
|
Event::List | rawEventsForDate (const KDateTime &dt) |
|
Journal::List | rawJournals (JournalSortField sortField, SortDirection sortDirection) |
|
Journal::List | rawJournalsForDate (const QDate &date) |
|
Todo::List | rawTodos (TodoSortField sortField, SortDirection sortDirection) |
|
Todo::List | rawTodosForDate (const QDate &date) |
|
bool | reload () |
|
bool | save () |
|
Todo * | todo (const QString &uid) |
|
| Calendar (const KDateTime::Spec &timeSpec) |
|
| Calendar (const QString &timeZoneId) |
|
virtual | ~Calendar () |
|
virtual bool | addIncidence (Incidence *incidence) |
|
void | beginBatchAdding () |
|
virtual bool | beginChange (Incidence *incidence) |
|
QStringList | categories () |
|
virtual bool | deleteIncidence (Incidence *incidence) |
|
Incidence * | dissociateOccurrence (Incidence *incidence, const QDate &date, const KDateTime::Spec &spec, bool single=true) |
|
void | endBatchAdding () |
|
virtual bool | endChange (Incidence *incidence) |
|
virtual Event::List | events (EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending) |
|
Event::List | events (const KDateTime &dt) |
|
Event::List | events (const QDate &start, const QDate &end, const KDateTime::Spec &timeSpec=KDateTime::Spec(), bool inclusive=false) |
|
Event::List | events (const QDate &date, const KDateTime::Spec &timeSpec=KDateTime::Spec(), EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending) |
|
CalFilter * | filter () |
|
Incidence * | incidence (const QString &uid) |
|
Incidence * | incidenceFromSchedulingID (const QString &sid) |
|
virtual Incidence::List | incidences () |
|
virtual Incidence::List | incidences (const QDate &date) |
|
Incidence::List | incidencesFromSchedulingID (const QString &sid) |
|
bool | isAncestorOf (Incidence *ancestor, Incidence *incidence) |
|
bool | isModified () const |
|
virtual bool | isSaving () |
|
virtual Journal::List | journals (JournalSortField sortField=JournalSortUnsorted, SortDirection sortDirection=SortDirectionAscending) |
|
virtual Journal::List | journals (const QDate &date) |
|
Person | owner () const |
|
QString | productId () const |
|
virtual Incidence::List | rawIncidences () |
|
void | registerObserver (CalendarObserver *observer) |
|
virtual void | removeRelations (Incidence *incidence) |
|
void | setFilter (CalFilter *filter) |
|
void | setModified (bool modified) |
|
void | setOwner (const Person &owner) |
|
void | setProductId (const QString &id) |
|
void | setTimeSpec (const KDateTime::Spec &timeSpec) |
|
void | setTimeZoneId (const QString &timeZoneId) |
|
void | setTimeZones (const ICalTimeZones &zones) |
|
virtual void | setupRelations (Incidence *incidence) |
|
void | setViewTimeSpec (const KDateTime::Spec &timeSpec) const |
|
void | setViewTimeZoneId (const QString &timeZoneId) const |
|
void | shiftTimes (const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec) |
|
KDateTime::Spec | timeSpec () const |
|
QString | timeZoneId () const |
|
ICalTimeZones * | timeZones () const |
|
virtual Todo::List | todos (TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending) |
|
virtual Todo::List | todos (const QDate &date) |
|
void | unregisterObserver (CalendarObserver *observer) |
|
KDateTime::Spec | viewTimeSpec () const |
|
QString | viewTimeZoneId () const |
|
| QObject (QObject *parent) |
|
| QObject (QObject *parent, const char *name) |
|
bool | blockSignals (bool block) |
|
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
|
const QObjectList & | children () const |
|
const char * | className () const |
|
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const QObject *receiver, const char *method) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
|
void | dumpObjectInfo () |
|
void | dumpObjectTree () |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
T | findChild (const QString &name) const |
|
QList< T > | findChildren (const QRegExp ®Exp) const |
|
QList< T > | findChildren (const QString &name) const |
|
bool | inherits (const char *className) const |
|
void | insertChild (QObject *object) |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isA (const char *className) const |
|
bool | isWidgetType () const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const |
|
void | moveToThread (QThread *targetThread) |
|
const char * | name () const |
|
const char * | name (const char *defaultName) const |
|
QString | objectName () const |
|
QObject * | parent () const |
|
QVariant | property (const char *name) const |
|
void | removeChild (QObject *object) |
|
void | removeEventFilter (QObject *obj) |
|
void | setName (const char *name) |
|
void | setObjectName (const QString &name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | signalsBlocked () const |
|
int | startTimer (int interval) |
|
QThread * | thread () const |
|
| CustomProperties () |
|
| CustomProperties (const CustomProperties &other) |
|
virtual | ~CustomProperties () |
|
QMap< QByteArray, QString > | customProperties () const |
|
QString | customProperty (const QByteArray &app, const QByteArray &key) const |
|
QString | nonKDECustomProperty (const QByteArray &name) const |
|
CustomProperties & | operator= (const CustomProperties &other) |
|
bool | operator== (const CustomProperties &properties) const |
|
void | removeCustomProperty (const QByteArray &app, const QByteArray &key) |
|
void | removeNonKDECustomProperty (const QByteArray &name) |
|
void | setCustomProperties (const QMap< QByteArray, QString > &properties) |
|
void | setCustomProperty (const QByteArray &app, const QByteArray &key, const QString &value) |
|
void | setNonKDECustomProperty (const QByteArray &name, const QString &value) |
|
virtual | ~IncidenceObserver () |
|
|
static CalendarNull * | self () |
|
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 Event::List | sortEventsForDate (Event::List *eventList, const QDate &date, const KDateTime::Spec &timeSpec, 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) |
|
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
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) |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
static QByteArray | customPropertyName (const QByteArray &app, const QByteArray &key) |
|
Represents a null calendar class; that is, a calendar which contains no information and provides no capabilities.
The null calendar can be passed to functions which need a calendar object when there is no real calendar available yet.
CalendarNull can be used to implement the null object design pattern: pass a CalendarNull object instead of passing a 0 pointer and checking for 0 with each access.
Definition at line 48 of file calendarnull.h.