#include </home/clem/local/src/opie/libopie2/opiepim/core/opimrecurrence.h>
Collaboration diagram for Opie::OPimRecurrence:

Public Types | |
| typedef QValueList< QDate > | ExceptionList |
| enum | RepeatType { NoRepeat = -1, Daily, Weekly, MonthlyDay, MonthlyDate, Yearly } |
| enum | Days { MON = 0x01, TUE = 0x02, WED = 0x04, THU = 0x08, FRI = 0x10, SAT = 0x20, SUN = 0x40 } |
| enum | Fields { RType = 0, RWeekdays, RPosition, RFreq, RHasEndDate, EndDate, Created, Exceptions } |
Public Member Functions | |
| OPimRecurrence () | |
| OPimRecurrence (const QMap< int, QString > &map) | |
| OPimRecurrence (const OPimRecurrence &) | |
| ~OPimRecurrence () | |
| OPimRecurrence & | operator= (const OPimRecurrence &) |
| bool | operator== (const OPimRecurrence &) const |
| bool | doesRecur () const |
| bool | doesRecur (const QDate &) |
| RepeatType | type () const |
| int | frequency () const |
| int | position () const |
| char | days () const |
| bool | hasEndDate () const |
| QDate | start () const |
| QDate | endDate () const |
| QDateTime | createdDateTime () const |
| bool | repeatOnWeekDay (int day) const |
| bool | nextOcurrence (const QDate &FromWhereToStart, QDate &recurDate) |
| QString | service () const |
| ExceptionList & | exceptions () |
| int | repetition () const |
| void | setType (const RepeatType &) |
| void | setFrequency (int freq) |
| void | setPosition (int pos) |
| void | setDays (char c) |
| void | setEndDate (const QDate &dt) |
| void | setStart (const QDate &dt) |
| void | setCreatedDateTime (const QDateTime &) |
| void | setHasEndDate (bool b) |
| void | setRepitition (int) |
| void | setService (const QString &ser) |
| QMap< int, QString > | toMap () const |
| void | fromMap (const QMap< int, QString > &map) |
| QString | toString () const |
Private Member Functions | |
| bool | p_nextOccurrence (const QDate &from, QDate &next) |
| void | deref () |
| void | checkOrModify () |
| QString | rTypeString () const |
| QMap< QString, RepeatType > | rTypeValueConvertMap () const |
Private Attributes | |
| Data * | data |
| OPimRecurrencePrivate * | d |
Classes | |
| struct | Data |
Definition at line 46 of file opimrecurrence.h.
|
|
Definition at line 49 of file opimrecurrence.h. |
|
|
Definition at line 52 of file opimrecurrence.h. |
|
|
Definition at line 54 of file opimrecurrence.h. |
|
|
Definition at line 50 of file opimrecurrence.h. |
|
|
Definition at line 68 of file opimrecurrence.cpp. References data. |
|
|
Definition at line 72 of file opimrecurrence.cpp. |
|
|
Definition at line 79 of file opimrecurrence.cpp. References data, and QShared::ref(). |
|
|
Definition at line 86 of file opimrecurrence.cpp. References data, QShared::deref(), and l. |
|
|
|
Definition at line 461 of file opimrecurrence.cpp. References Opie::OPimRecurrence::Data::create, and data. |
|
|
Definition at line 441 of file opimrecurrence.cpp. References data, and Opie::OPimRecurrence::Data::days. Referenced by fromMap(), p_nextOccurrence(), and OPimRecurrenceWidget::setRecurrence(). |
|
|
Definition at line 94 of file opimrecurrence.cpp. References data, QShared::deref(), and l. Referenced by operator=(). |
|
|
Definition at line 127 of file opimrecurrence.cpp. References QDate::addDays(), nextOcurrence(), and recur(). |
|
|
Definition at line 118 of file opimrecurrence.cpp. References NoRepeat, and type(). Referenced by Opie::ODateBookAccessBackend_XML::finalizeRecord(), Opie::OPimTodo::hasRecurrence(), Opie::OPimEvent::hasRecurrence(), and Opie::OPimTodoAccessXML::load(). |
|
|
Definition at line 451 of file opimrecurrence.cpp. References data, and Opie::OPimRecurrence::Data::end. Referenced by p_nextOccurrence(), repeat(), and OPimRecurrenceWidget::setRecurrence(). |
|
|
Definition at line 476 of file opimrecurrence.cpp. References data, and Opie::OPimRecurrence::Data::list. |
|
|
Definition at line 431 of file opimrecurrence.cpp. References data, and Opie::OPimRecurrence::Data::freq. Referenced by p_nextOccurrence(), and OPimRecurrenceWidget::setRecurrence(). |
|
|
Definition at line 664 of file opimrecurrence.cpp. References Created, Opie::OPimTimeZone::current(), data, days(), end, EndDate, Exceptions, Opie::OPimTimeZone::fromUTCDateTime(), list, pos, RFreq, RHasEndDate, RPosition, RType, rTypeValueConvertMap(), RWeekdays, QStringList::split(), and type(). Referenced by OPimRecurrence(). |
|
|
Definition at line 446 of file opimrecurrence.cpp. References data, and Opie::OPimRecurrence::Data::hasEnd. Referenced by p_nextOccurrence(), OPimRecurrenceWidget::recurrence(), repeat(), and OPimRecurrenceWidget::setRecurrence(). |
|
||||||||||||
|
FromWhereToStart is not included!!! Definition at line 142 of file opimrecurrence.cpp. References QDate::addDays(), QValueList< T >::contains(), data, Opie::OPimRecurrence::Data::list, and p_nextOccurrence(). Referenced by doesRecur(), and repeat(). |
|
|
Definition at line 107 of file opimrecurrence.cpp. References data, deref(), and QShared::ref(). |
|
|
Definition at line 102 of file opimrecurrence.cpp. |
|
||||||||||||
|
Definition at line 152 of file opimrecurrence.cpp. References Daily, QDate::dayOfWeek(), days(), QDate::daysInMonth(), diff(), endDate(), FALSE, frequency(), hasEndDate(), QDate::isValid(), MonthlyDate, MonthlyDay, start(), TRUE, type(), Weekly, and Yearly. Referenced by nextOcurrence(). |
|
|
Definition at line 436 of file opimrecurrence.cpp. References data, and Opie::OPimRecurrence::Data::pos. |
|
|
starting on monday=0, sunday=6 for convience |
|
|
the current repetition Definition at line 466 of file opimrecurrence.cpp. References data, and Opie::OPimRecurrence::Data::rep. |
|
|
Definition at line 589 of file opimrecurrence.cpp. References Daily, data, MonthlyDate, MonthlyDay, Opie::OPimRecurrence::Data::type, Weekly, and Yearly. Referenced by toMap(). |
|
|
Definition at line 617 of file opimrecurrence.cpp. References Daily, QMap< Key, T >::insert(), MonthlyDate, MonthlyDay, NoRepeat, Weekly, and Yearly. Referenced by fromMap(). |
|
|
The module this OPimRecurrence belongs to Definition at line 471 of file opimrecurrence.cpp. References Opie::OPimRecurrence::Data::app, and data. |
|
|
Definition at line 511 of file opimrecurrence.cpp. References checkOrModify(), Opie::OPimRecurrence::Data::create, and data. Referenced by Opie::ODateBookAccessBackend_XML::finalizeRecord(). |
|
|
Definition at line 499 of file opimrecurrence.cpp. References checkOrModify(), data, and Opie::OPimRecurrence::Data::days. Referenced by OPimRecurrenceWidget::recurrence(). |
|
|
Definition at line 505 of file opimrecurrence.cpp. References checkOrModify(), data, and Opie::OPimRecurrence::Data::end. Referenced by Opie::ODateBookAccessBackend_XML::finalizeRecord(), Opie::OPimTodoAccessXML::load(), OPimRecurrenceWidget::recurrence(), and repeat(). |
|
|
Definition at line 487 of file opimrecurrence.cpp. References checkOrModify(), data, and Opie::OPimRecurrence::Data::freq. Referenced by OPimRecurrenceWidget::recurrence(). |
|
|
Definition at line 517 of file opimrecurrence.cpp. References checkOrModify(), data, and Opie::OPimRecurrence::Data::hasEnd. Referenced by OPimRecurrenceWidget::recurrence(), and repeat(). |
|
|
Definition at line 493 of file opimrecurrence.cpp. References checkOrModify(), data, and Opie::OPimRecurrence::Data::pos. Referenced by OPimRecurrenceWidget::recurrence(). |
|
|
Definition at line 523 of file opimrecurrence.cpp. References checkOrModify(), data, and Opie::OPimRecurrence::Data::rep. |
|
|
Definition at line 529 of file opimrecurrence.cpp. References Opie::OPimRecurrence::Data::app, checkOrModify(), and data. |
|
|
Definition at line 535 of file opimrecurrence.cpp. References checkOrModify(), data, and Opie::OPimRecurrence::Data::start. Referenced by Opie::ODateBookAccessBackend_XML::finalizeRecord(), and Opie::OPimTodoAccessXML::load(). |
|
|
Definition at line 481 of file opimrecurrence.cpp. References checkOrModify(), data, and Opie::OPimRecurrence::Data::type. Referenced by OPimRecurrenceWidget::recurrence(). |
|
|
Definition at line 456 of file opimrecurrence.cpp. References data, and Opie::OPimRecurrence::Data::start. Referenced by p_nextOccurrence(). |
|
|
|
Definition at line 561 of file opimrecurrence.cpp. References buf, Created, data, Opie::OPimRecurrence::Data::days, EndDate, Exceptions, Opie::OPimRecurrence::Data::hasEnd, QValueList< T >::isEmpty(), Opie::OPimRecurrence::Data::list, Opie::OPimRecurrence::Data::pos, RFreq, RHasEndDate, RPosition, RType, RWeekdays, and toMap(). |
|
|
Definition at line 426 of file opimrecurrence.cpp. References data, and Opie::OPimRecurrence::Data::type. Referenced by doesRecur(), fromMap(), p_nextOccurrence(), and OPimRecurrenceWidget::setRecurrence(). |
|
|
Definition at line 132 of file opimrecurrence.h. |
|
|
Definition at line 130 of file opimrecurrence.h. Referenced by checkOrModify(), createdDateTime(), days(), deref(), endDate(), exceptions(), frequency(), fromMap(), hasEndDate(), nextOcurrence(), operator=(), OPimRecurrence(), position(), repetition(), rTypeString(), service(), setCreatedDateTime(), setDays(), setEndDate(), setFrequency(), setHasEndDate(), setPosition(), setRepitition(), setService(), setStart(), setType(), start(), toMap(), toString(), type(), and ~OPimRecurrence(). |
1.4.2