#include </home/clem/local/src/opie/noncore/unsupported/libopie/pim/oevent.h>
Inheritance diagram for OEvent:


Public Types | |
| typedef QValueList< OEvent > | ValueList |
| enum | RecordFields { FUid = Qtopia::UID_ID, FCategories = Qtopia::CATEGORY_ID, FDescription = 0, FLocation, FType, FAlarm, FSound, FRType, FRWeekdays, FRPosition, FRFreq, FRHasEndDate, FREndDate, FRCreated, FRExceptions, FStart, FEnd, FNote, FTimeZone, FRecParent, FRecChildren } |
Public Member Functions | |
| OEvent (int uid=0) | |
| OEvent (const OEvent &) | |
| OEvent (const QMap< int, QString > map) | |
| ~OEvent () | |
| OEvent & | operator= (const OEvent &) |
| QString | description () const |
| void | setDescription (const QString &description) |
| QString | location () const |
| void | setLocation (const QString &loc) |
| bool | hasNotifiers () const |
| OPimNotifyManager & | notifiers () const |
| ORecur | recurrence () const |
| void | setRecurrence (const ORecur &) |
| bool | hasRecurrence () const |
| QString | note () const |
| void | setNote (const QString ¬e) |
| QDateTime | createdDateTime () const |
| void | setCreatedDateTime (const QDateTime &dt) |
| void | setStartDateTime (const QDateTime &) |
| QDateTime | startDateTime () const |
| QDateTime | startDateTimeInZone () const |
| void | setEndDateTime (const QDateTime &) |
| QDateTime | endDateTime () const |
| QDateTime | endDateTimeInZone () const |
| bool | isMultipleDay () const |
| bool | isAllDay () const |
| void | setAllDay (bool isAllDay) |
| void | setTimeZone (const QString &timeZone) |
| QString | timeZone () const |
| virtual bool | match (const QRegExp &) const |
| QArray< int > | children () const |
| void | setChildren (const QArray< int > &) |
| void | addChild (int uid) |
| void | removeChild (int uid) |
| int | parent () const |
| void | setParent (int uid) |
| QString | toRichText () const |
| QString | toShortText () const |
| QString | type () const |
| QMap< int, QString > | toMap () const |
| void | fromMap (const QMap< int, QString > &map) |
| QString | recordField (int) const |
| bool | loadFromStream (QDataStream &) |
| bool | saveToStream (QDataStream &) const |
Static Public Member Functions | |
| static int | rtti () |
Private Member Functions | |
| void | changeOrModify () |
| void | deref () |
Private Attributes | |
| Data * | data |
| Private * | priv |
Classes | |
| struct | Data |
This is the container for all Events. It encapsules all available information for a single Event
Definition at line 39 of file oevent.h.
|
|
|
|
|
RecordFields contain possible attributes used in the Results of toMap().. |
|
|
Start with an Empty OEvent. UID == 0 means that it is empty Definition at line 71 of file oevent.cpp. References data. |
|
|
copy c'tor Definition at line 75 of file oevent.cpp. References data, and QShared::ref(). |
|
|
Create OEvent, initialized by map
Definition at line 81 of file oevent.cpp. |
|
|
Definition at line 89 of file oevent.cpp. References data, and QShared::deref(). |
|
|
Definition at line 522 of file oevent.cpp. References changeOrModify(), OEvent::Data::child, and data. Referenced by fromMap(), and ODateBookAccessBackend_XML::setField(). |
|
|
Definition at line 334 of file oevent.cpp. References OEvent::Data::child, QShared::count, OEvent::Data::created, data, QShared::deref(), OEvent::Data::description, OEvent::Data::end, OEvent::Data::isAllDay, OEvent::Data::location, OEvent::Data::manager, OEvent::Data::note, OEvent::Data::parent, OEvent::Data::recur, OEvent::Data::start, and OEvent::Data::timezone. Referenced by addChild(), removeChild(), setAllDay(), setChildren(), setCreatedDateTime(), setDescription(), setEndDateTime(), setLocation(), setNote(), setParent(), setRecurrence(), setStartDateTime(), and setTimeZone(). |
|
|
For exception to recurrence here is a list of children... Definition at line 510 of file oevent.cpp. References OEvent::Data::child, and data. Referenced by toMap(). |
|
|
Definition at line 162 of file oevent.cpp. References OEvent::Data::created, and data. |
|
|
Definition at line 363 of file oevent.cpp. References data, and QShared::deref(). Referenced by operator=(). |
|
|
Definition at line 106 of file oevent.cpp. References data, and OEvent::Data::description. Referenced by OEffectiveEvent::description(), ODateBookAccessBackend_XML::finalizeRecord(), toMap(), toRichText(), and toShortText(). |
|
|
in current timezone Definition at line 185 of file oevent.cpp. References data, QDateTime::date(), OEvent::Data::end, OEvent::Data::isAllDay, and OEvent::Data::start. Referenced by OEffectiveEvent::endDate(), endDateTimeInZone(), OEffectiveEvent::OEffectiveEvent(), toMap(), and toRichText(). |
|
|
Definition at line 194 of file oevent.cpp. References OTimeZone::current(), data, OEvent::Data::end, endDateTime(), OEvent::Data::isAllDay, QString::isEmpty(), OEvent::Data::timezone, and OTimeZone::toDateTime(). |
|
|
|
Definition at line 129 of file oevent.cpp. References OPimNotifyManager::alarms(), data, OEvent::Data::manager, and OPimNotifyManager::reminders(). |
|
|
Definition at line 151 of file oevent.cpp. References data, ORecur::doesRecur(), and OEvent::Data::recur. Referenced by OEffectiveEvent::endDate(), ODateBookAccessBackend_XML::finalizeRecord(), OEffectiveEvent::startDate(), and toMap(). |
|
|
Definition at line 208 of file oevent.cpp. References data, and OEvent::Data::isAllDay. Referenced by ODateBookAccessBackend_XML::finalizeRecord(), fromMap(), toMap(), and toRichText(). |
|
|
Definition at line 205 of file oevent.cpp. References data, QDateTime::date(), OEvent::Data::end, and OEvent::Data::start. Referenced by toRichText(). |
|
|
some marshalling and de marshalling code saves the OPimRecord to and from a DataStream Reimplemented from OPimRecord. Definition at line 328 of file oevent.cpp. |
|
|
Definition at line 117 of file oevent.cpp. References data, and OEvent::Data::location. Referenced by OEffectiveEvent::location(), toMap(), and toRichText(). |
|
|
Reimplemented from Qtopia::Record. Definition at line 224 of file oevent.cpp. References data, Qtopia::DatebookDescription, OEvent::Data::description, OEvent::Data::end, Qtopia::EndDateTime, Qtopia::Location, OEvent::Data::location, QRegExp::match(), Qtopia::Note, OEvent::Data::note, OPimRecord::setLastHitField(), OEvent::Data::start, Qtopia::StartDateTime, and QDateTime::toString(). |
|
|
Definition at line 155 of file oevent.cpp. References data, and OEvent::Data::note. Referenced by OEffectiveEvent::note(), toMap(), and toRichText(). |
|
|
Definition at line 120 of file oevent.cpp. References data, and OEvent::Data::manager. Referenced by ODateBookAccessBackend_XML::finalizeRecord(), fromMap(), and toMap(). |
|
|
Definition at line 95 of file oevent.cpp. References data, deref(), and OPimRecord::operator=(). |
|
|
return the parent OEvent Definition at line 503 of file oevent.cpp. References data, and OEvent::Data::parent. Referenced by toMap(). |
|
|
the name for a recordField Implements OPimRecord. Definition at line 322 of file oevent.cpp. References QString::null. |
|
|
Definition at line 138 of file oevent.cpp. References data, and OEvent::Data::recur. Referenced by toMap(). |
|
|
Definition at line 533 of file oevent.cpp. References changeOrModify(), OEvent::Data::child, data, and i. |
|
|
Reimplemented from OPimRecord. Definition at line 325 of file oevent.cpp. References OPimResolver::DateBook. |
|
|
UIDs Reimplemented from OPimRecord. Definition at line 331 of file oevent.cpp. |
|
|
Definition at line 211 of file oevent.cpp. References changeOrModify(), data, OEvent::Data::isAllDay, and OEvent::Data::timezone. Referenced by fromMap(), and ODateBookAccessBackend_XML::setField(). |
|
|
Definition at line 515 of file oevent.cpp. References changeOrModify(), OEvent::Data::child, and data. |
|
|
Definition at line 165 of file oevent.cpp. References changeOrModify(), OEvent::Data::created, and data. |
|
|
Definition at line 109 of file oevent.cpp. References changeOrModify(), data, and OEvent::Data::description. Referenced by fromMap(), and ODateBookAccessBackend_XML::setField(). |
|
|
in current timezone Definition at line 201 of file oevent.cpp. References changeOrModify(), data, and OEvent::Data::end. Referenced by ODateBookAccessBackend_XML::finalizeRecord(), and fromMap(). |
|
|
Definition at line 113 of file oevent.cpp. References changeOrModify(), data, and OEvent::Data::location. Referenced by fromMap(), and ODateBookAccessBackend_XML::setField(). |
|
|
Definition at line 158 of file oevent.cpp. References changeOrModify(), data, and OEvent::Data::note. Referenced by ODateBookAccessBackend_XML::setField(). |
|
|
Definition at line 506 of file oevent.cpp. References changeOrModify(), data, and OEvent::Data::parent. Referenced by fromMap(), and ODateBookAccessBackend_XML::setField(). |
|
|
Definition at line 144 of file oevent.cpp. References changeOrModify(), data, and OEvent::Data::recur. Referenced by ODateBookAccessBackend_XML::finalizeRecord(), and fromMap(). |
|
|
set the date to dt. dt is the QDateTime in localtime Definition at line 181 of file oevent.cpp. References changeOrModify(), data, and OEvent::Data::start. Referenced by ODateBookAccessBackend_XML::finalizeRecord(), and fromMap(). |
|
|
Definition at line 216 of file oevent.cpp. References changeOrModify(), data, and OEvent::Data::timezone. Referenced by ODateBookAccessBackend_XML::finalizeRecord(), fromMap(), and ODateBookAccessBackend_XML::setField(). |
|
|
returns the datetime in the local timeZone Definition at line 169 of file oevent.cpp. References data, QDateTime::date(), OEvent::Data::isAllDay, and OEvent::Data::start. Referenced by ODateBookAccessBackend_XML::finalizeRecord(), fromMap(), OEffectiveEvent::OEffectiveEvent(), OEffectiveEvent::startDate(), startDateTimeInZone(), toMap(), toRichText(), and toShortText(). |
|
|
returns the start datetime in the current zone Definition at line 174 of file oevent.cpp. References OTimeZone::current(), data, OEvent::Data::isAllDay, QString::isEmpty(), OEvent::Data::start, startDateTime(), OEvent::Data::timezone, and OTimeZone::toDateTime(). |
|
|
Definition at line 220 of file oevent.cpp. References data, QString::fromLatin1(), OEvent::Data::isAllDay, and OEvent::Data::timezone. Referenced by ODateBookAccessBackend_XML::finalizeRecord(), fromMap(), and toMap(). |
|
|
|
toRichText summary Implements OPimRecord. Definition at line 247 of file oevent.cpp. References OPimRecord::categoryNames(), description(), endDateTime(), Qtopia::escapeString(), isAllDay(), OPimRecord::isEmpty(), isMultipleDay(), location(), note(), KateCommands::replace(), startDateTime(), text, and tr. Referenced by Datebook::TextShow::show(). |
|
|
a small one line summary Implements OPimRecord. Definition at line 304 of file oevent.cpp. References description(), QString::number(), startDateTime(), and text. |
|
|
the name of the Record Implements OPimRecord. Definition at line 319 of file oevent.cpp. References QString::fromLatin1(). |
|
|
Definition at line 168 of file oevent.h. Referenced by addChild(), changeOrModify(), children(), createdDateTime(), deref(), description(), endDateTime(), endDateTimeInZone(), hasNotifiers(), hasRecurrence(), isAllDay(), isMultipleDay(), location(), match(), note(), notifiers(), OEvent(), operator=(), parent(), recurrence(), removeChild(), setAllDay(), setChildren(), setCreatedDateTime(), setDescription(), setEndDateTime(), setLocation(), setNote(), setParent(), setRecurrence(), setStartDateTime(), setTimeZone(), startDateTime(), startDateTimeInZone(), timeZone(), and ~OEvent(). |
|
|
|
1.4.2