#include </home/clem/local/src/opie/libopie2/opiepim/backend/opimbackendoccurrence.h>
Collaboration diagram for Opie::OPimBackendOccurrence:

Public Types | |
| typedef QValueList< OPimBackendOccurrence > | List |
Public Member Functions | |
| OPimBackendOccurrence () | |
| OPimBackendOccurrence (const QDate &date, const UID &, const QString &=QString::null) | |
| The occurence is only on the specefic Day. | |
| OPimBackendOccurrence (const QDate &date, const QDate &end, const UID &) | |
| An Occurrence with a start day and end day without time. | |
| OPimBackendOccurrence (const QDateTime &start, const QDateTime &end, const UID &uid) | |
| Use Start and End Date with Time. | |
| QDateTime | startDateTime () const |
| Return the Start Date and Time. | |
| QDateTime | endDateTime () const |
| Return the Start Date and Time. | |
| UID | uid () const |
| Return the UID of the Associated OPimRecord. | |
| bool | isAllDay () const |
| Return if there is a time associated or not. | |
| QString | summary () const |
| QString | location () const |
| QString | note () const |
| void | setStartDate (const QDate &) |
| Set the Start Date. | |
| void | setStartDateTime (const QDateTime &dt) |
| Set the Start Date and Time. | |
| void | setEndDate (const QDate &) |
| This will set the End Date. | |
| void | setEndDateTime (const QDateTime &dt) |
| Set the End Date and Time of the occurrence. | |
| void | setUid (const UID &) |
| This method will set the UID of the Record. | |
| void | setSummary (const QString &) |
| Set a special summary instead of. | |
| void | setLocation (const QString &) |
| void | setNote (const QString &) |
Private Attributes | |
| QDateTime | m_start |
| QDateTime | m_end |
| UID | m_uid |
| bool | m_haveTime: 1 |
| QString | m_summary |
| QString | m_note |
| QString | m_location |
| Private * | d |
This class is used by the Backends to express Occurences for the Period Based Query to the by the Backend represanted Database. In the Frontend this single representation is splitted into per day
UID, the Start Date and End Date of the Occurence. If you have no time associated to the datetime use the QDate constructors. If OPimRecord::summary() does not describe the Occurrence right you can call setSummary() and then the supplied summary will be used. All Dates and Times are in the local time.
Definition at line 61 of file opimbackendoccurrence.h.
|
|
Definition at line 63 of file opimbackendoccurrence.h. |
|
|
Definition at line 34 of file opimbackendoccurrence.cpp. |
|
||||||||||||||||
|
The occurence is only on the specefic Day. If an occurrence is only a day without any time associated use this Constructor.
Definition at line 47 of file opimbackendoccurrence.cpp. |
|
||||||||||||||||
|
An Occurrence with a start day and end day without time. Overloaded Constructor. Use this if you've a start date and end date but no time. If you need to overwrite the summary use setSummary.
Definition at line 68 of file opimbackendoccurrence.cpp. |
|
||||||||||||||||
|
Use Start and End Date with Time. Overloaded Constructor to use Dates with Time time associated to it.
Definition at line 85 of file opimbackendoccurrence.cpp. |
|
|
Return the Start Date and Time.
Definition at line 111 of file opimbackendoccurrence.cpp. References m_end. Referenced by Opie::OPimBase::convertOccurrenceFromBackend(), and Opie::ODateBookAccessBackend::filterOccurrences(). |
|
|
Return if there is a time associated or not. If a time is present with start and end date this method will return true. There is no direct way to manipulate that attribute. But
Definition at line 135 of file opimbackendoccurrence.cpp. References m_haveTime. Referenced by Opie::OPimBase::convertOccurrenceFromBackend(). |
|
|
Definition at line 146 of file opimbackendoccurrence.cpp. References m_location. Referenced by Opie::OPimBase::convertOccurrenceFromBackend(). |
|
|
Definition at line 150 of file opimbackendoccurrence.cpp. References m_note. Referenced by Opie::OPimBase::convertOccurrenceFromBackend(). |
|
|
This will set the End Date. This method will set the End Date. The timeAssociated attribute will not be changed.
Definition at line 192 of file opimbackendoccurrence.cpp. References m_end. |
|
|
Set the End Date and Time of the occurrence. This will set the End Date and Time but will not change the timeAssociated attribute.
Definition at line 204 of file opimbackendoccurrence.cpp. References m_end. |
|
|
Definition at line 233 of file opimbackendoccurrence.cpp. References m_location. |
|
|
Definition at line 237 of file opimbackendoccurrence.cpp. References m_note. |
|
|
Set the Start Date. This method will set the start date and internally will mark this occurrence to have no time associated to both start and end date. A call to timeAssociated will return false after using this method.
Definition at line 166 of file opimbackendoccurrence.cpp. References m_haveTime, and m_start. |
|
|
Set the Start Date and Time. Set the Start Date and Time. After this call
Definition at line 179 of file opimbackendoccurrence.cpp. References m_haveTime, and m_start. |
|
|
Set a special summary instead of.
Definition at line 229 of file opimbackendoccurrence.cpp. References m_summary. Referenced by Opie::OPimTodoAccessBackend::occurrences(). |
|
|
This method will set the UID of the Record. Set the UID of the OPimRecord to be associated with this OPimRecurrence.
Definition at line 216 of file opimbackendoccurrence.cpp. References m_uid. |
|
|
Return the Start Date and Time.
Definition at line 99 of file opimbackendoccurrence.cpp. References m_start. Referenced by Opie::OPimBase::convertOccurrenceFromBackend(), and Opie::ODateBookAccessBackend::filterOccurrences(). |
|
|
Definition at line 142 of file opimbackendoccurrence.cpp. References m_summary. Referenced by Opie::OPimBase::convertOccurrenceFromBackend(). |
|
|
Return the UID of the Associated OPimRecord.
Definition at line 120 of file opimbackendoccurrence.cpp. References m_uid. Referenced by Opie::OPimBase::convertOccurrenceFromBackend(). |
|
|
Definition at line 103 of file opimbackendoccurrence.h. |
|
|
Definition at line 98 of file opimbackendoccurrence.h. Referenced by endDateTime(), setEndDate(), and setEndDateTime(). |
|
|
Definition at line 100 of file opimbackendoccurrence.h. Referenced by isAllDay(), setStartDate(), and setStartDateTime(). |
|
|
Definition at line 101 of file opimbackendoccurrence.h. Referenced by location(), and setLocation(). |
|
|
Definition at line 101 of file opimbackendoccurrence.h. |
|
|
Definition at line 98 of file opimbackendoccurrence.h. Referenced by setStartDate(), setStartDateTime(), and startDateTime(). |
|
|
Definition at line 101 of file opimbackendoccurrence.h. Referenced by setSummary(), and summary(). |
|
|
Definition at line 99 of file opimbackendoccurrence.h. |
1.4.2