#include </home/clem/local/src/opie/noncore/unsupported/libopie/pim/orecur.h>
Collaboration diagram for ORecur:

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 | |
| ORecur () | |
| ORecur (const QMap< int, QString > &map) | |
| ORecur (const ORecur &) | |
| ~ORecur () | |
| ORecur & | operator= (const ORecur &) |
| bool | operator== (const ORecur &) 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 |
| ORecurPrivate * | d |
Classes | |
| struct | Data |
Definition at line 19 of file orecur.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 34 of file orecur.cpp. References data. Referenced by ORecur(). |
|
|
Definition at line 38 of file orecur.cpp. |
|
|
Definition at line 45 of file orecur.cpp. References data, and QShared::ref(). |
|
|
Definition at line 50 of file orecur.cpp. References data, QShared::deref(), and l. |
|
|
Definition at line 447 of file orecur.cpp. References ORecur::Data::app, QShared::count, ORecur::Data::create, data, ORecur::Data::days, QShared::deref(), ORecur::Data::end, ORecur::Data::freq, ORecur::Data::hasEnd, ORecur::Data::list, ORecur::Data::pos, ORecur::Data::rep, ORecur::Data::start, and ORecur::Data::type. Referenced by setCreatedDateTime(), setDays(), setEndDate(), setFrequency(), setHasEndDate(), setPosition(), setRepitition(), setService(), setStart(), and setType(). |
|
|
Definition at line 395 of file orecur.cpp. References ORecur::Data::create, and data. |
|
|
Definition at line 383 of file orecur.cpp. References data, and ORecur::Data::days. Referenced by fromMap(), p_nextOccurrence(), and ORecurranceWidget::setRecurrence(). |
|
|
Definition at line 56 of file orecur.cpp. References data, QShared::deref(), and l. Referenced by operator=(). |
|
|
Definition at line 81 of file orecur.cpp. References QDate::addDays(), nextOcurrence(), and recur(). |
|
|
Definition at line 74 of file orecur.cpp. References NoRepeat, and type(). Referenced by OTodo::hasRecurrence(), and OEvent::hasRecurrence(). |
|
|
Definition at line 389 of file orecur.cpp. References data, and ORecur::Data::end. Referenced by p_nextOccurrence(), repeat(), and ORecurranceWidget::setRecurrence(). |
|
|
Definition at line 404 of file orecur.cpp. References data, and ORecur::Data::list. |
|
|
Definition at line 377 of file orecur.cpp. References data, and ORecur::Data::freq. Referenced by p_nextOccurrence(), and ORecurranceWidget::setRecurrence(). |
|
|
Definition at line 568 of file orecur.cpp. References Created, data, days(), end, EndDate, Exceptions, OTimeZone::fromUTCDateTime(), list, pos, RFreq, RHasEndDate, RPosition, RType, rTypeValueConvertMap(), RWeekdays, QStringList::split(), type(), and OTimeZone::utc(). Referenced by ORecur(), and OTodoAccessBackendSQL::todo(). |
|
|
Definition at line 386 of file orecur.cpp. References data, and ORecur::Data::hasEnd. Referenced by p_nextOccurrence(), ORecurranceWidget::recurrence(), repeat(), and ORecurranceWidget::setRecurrence(). |
|
||||||||||||
|
FromWhereToStart is not included!!! Definition at line 94 of file orecur.cpp. References QDate::addDays(), QValueList< T >::contains(), data, ORecur::Data::list, and p_nextOccurrence(). Referenced by doesRecur(), and repeat(). |
|
|
Definition at line 65 of file orecur.cpp. References data, deref(), and QShared::ref(). |
|
|
Definition at line 62 of file orecur.cpp. |
|
||||||||||||
|
Definition at line 102 of file orecur.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 380 of file orecur.cpp. References data, and ORecur::Data::pos. |
|
|
starting on monday=0, sunday=6 for convience |
|
|
the current repetition Definition at line 398 of file orecur.cpp. References data, and ORecur::Data::rep. |
|
|
Definition at line 493 of file orecur.cpp. References Daily, data, MonthlyDate, MonthlyDay, ORecur::Data::type, Weekly, and Yearly. Referenced by toMap(). |
|
|
Definition at line 521 of file orecur.cpp. References Daily, QMap< Key, T >::insert(), MonthlyDate, MonthlyDay, NoRepeat, Weekly, and Yearly. Referenced by fromMap(). |
|
|
The module this ORecur belongs to Definition at line 401 of file orecur.cpp. References ORecur::Data::app, and data. |
|
|
Definition at line 427 of file orecur.cpp. References checkOrModify(), ORecur::Data::create, and data. Referenced by ODateBookAccessBackend_XML::finalizeRecord(). |
|
|
Definition at line 419 of file orecur.cpp. References checkOrModify(), data, and ORecur::Data::days. Referenced by ORecurranceWidget::recurrence(). |
|
|
Definition at line 423 of file orecur.cpp. References checkOrModify(), data, and ORecur::Data::end. Referenced by ODateBookAccessBackend_XML::finalizeRecord(), OTodoAccessXML::load(), ORecurranceWidget::recurrence(), and repeat(). |
|
|
Definition at line 411 of file orecur.cpp. References checkOrModify(), data, and ORecur::Data::freq. Referenced by ORecurranceWidget::recurrence(). |
|
|
Definition at line 431 of file orecur.cpp. References checkOrModify(), data, and ORecur::Data::hasEnd. Referenced by ORecurranceWidget::recurrence(), and repeat(). |
|
|
Definition at line 415 of file orecur.cpp. References checkOrModify(), data, and ORecur::Data::pos. Referenced by ORecurranceWidget::recurrence(). |
|
|
Definition at line 435 of file orecur.cpp. References checkOrModify(), data, and ORecur::Data::rep. |
|
|
Definition at line 439 of file orecur.cpp. References ORecur::Data::app, checkOrModify(), and data. |
|
|
Definition at line 443 of file orecur.cpp. References checkOrModify(), data, and ORecur::Data::start. Referenced by ODateBookAccessBackend_XML::finalizeRecord(), and OTodoAccessXML::load(). |
|
|
Definition at line 407 of file orecur.cpp. References checkOrModify(), data, and ORecur::Data::type. Referenced by ORecurranceWidget::recurrence(). |
|
|
Definition at line 392 of file orecur.cpp. References data, and ORecur::Data::start. Referenced by p_nextOccurrence(). |
|
|
Definition at line 536 of file orecur.cpp. References QValueList< T >::begin(), ORecur::Data::create, Created, data, QDate::day(), ORecur::Data::days, QValueList< T >::end(), ORecur::Data::end, EndDate, Exceptions, ORecur::Data::freq, ORecur::Data::hasEnd, QMap< Key, T >::insert(), QValueList< T >::isEmpty(), list, ORecur::Data::list, QDate::month(), QString::number(), ORecur::Data::pos, RFreq, RHasEndDate, RPosition, RType, rTypeString(), RWeekdays, OTimeZone::utc(), and QDate::year(). Referenced by OEvent::toMap(), and toString(). |
|
|
Definition at line 465 of file orecur.cpp. References buf, Created, data, ORecur::Data::days, EndDate, Exceptions, ORecur::Data::hasEnd, QValueList< T >::isEmpty(), ORecur::Data::list, ORecur::Data::pos, RFreq, RHasEndDate, RPosition, RType, RWeekdays, and toMap(). |
|
|
Definition at line 374 of file orecur.cpp. References data, and ORecur::Data::type. Referenced by doesRecur(), fromMap(), p_nextOccurrence(), and ORecurranceWidget::setRecurrence(). |
|
|
|
|
|
Definition at line 101 of file orecur.h. Referenced by checkOrModify(), createdDateTime(), days(), deref(), endDate(), exceptions(), frequency(), fromMap(), hasEndDate(), nextOcurrence(), operator=(), ORecur(), position(), repetition(), rTypeString(), service(), setCreatedDateTime(), setDays(), setEndDate(), setFrequency(), setHasEndDate(), setPosition(), setRepitition(), setService(), setStart(), setType(), start(), toMap(), toString(), type(), and ~ORecur(). |
1.4.2