#include </home/clem/local/src/opie/library/backend/event.h>
Collaboration diagram for EffectiveEvent:

Public Types | |
| enum | Position { MidWay = 0, Start = 1, End = 2, StartEnd = 3 } |
Public Member Functions | |
| EffectiveEvent () | |
| EffectiveEvent (const Event &event, const QDate &startDate, Position pos=StartEnd) | |
| EffectiveEvent (const EffectiveEvent &) | |
| EffectiveEvent & | operator= (const EffectiveEvent &) |
| ~EffectiveEvent () | |
| bool | operator< (const EffectiveEvent &e) const |
| bool | operator<= (const EffectiveEvent &e) const |
| bool | operator== (const EffectiveEvent &e) const |
| bool | operator!= (const EffectiveEvent &e) const |
| bool | operator> (const EffectiveEvent &e) const |
| bool | operator>= (const EffectiveEvent &e) const |
| void | setStart (const QTime &start) |
| void | setEnd (const QTime &end) |
| void | setEvent (Event e) |
| void | setDate (const QDate &date) |
| void | setEffectiveDates (const QDate &from, const QDate &to) |
| const QString & | description () const |
| const QString & | location () const |
| const QString & | notes () const |
| const Event & | event () const |
| const QTime & | start () const |
| const QTime & | end () const |
| const QDate & | date () const |
| int | length () const |
| int | size () const |
| QDate | startDate () const |
| QDate | endDate () const |
Private Attributes | |
| EffectiveEventPrivate * | d |
| Event | mEvent |
| QDate | mDate |
| QTime | mStart |
| QTime | mEnd |
This class describes the event for a single occurance of it. For example if an Event occurs every week, the effective event might represent the third occurance of this Event.
Definition at line 192 of file event.h.
|
|
For internal use only.
|
|
|
For internal use only.
Definition at line 799 of file event.cpp. References QDate::currentDate(), QTime::currentTime(), d, mDate, mEnd, and mStart. |
|
||||||||||||||||
|
For internal use only.
Definition at line 809 of file event.cpp. References d, Event::end(), End, mDate, mEnd, mEvent, mStart, Event::start(), Start, and TRUE. |
|
|
For internal use only.
Definition at line 836 of file event.cpp. References d. |
|
|
For internal use only.
Definition at line 828 of file event.cpp. References d. |
|
|
Returns the date the effective event occurs on. Definition at line 919 of file event.cpp. References mDate. Referenced by DatebookAlldayDisp::beam_single_event(), DateBookWeekLstEvent::DateBookWeekLstEvent(), DateBookDay::findRealStart(), DateBookMonthTable::getEvents(), ODateBookMonthTable::getEvents(), DateBookDay::getEvents(), DateBookDayWidget::mousePressEvent(), operator<(), operator<=(), operator==(), DateBookWeekView::positionItem(), and DateBookWeek::slotShowEvent(). |
|
|
Returns the description of the event for this effective event. Definition at line 871 of file event.cpp. References Event::description(), and mEvent. Referenced by DatebookAlldayDisp::DatebookAlldayDisp(), DateBookDayWidget::DateBookDayWidget(), DateBookWeekLstEvent::DateBookWeekLstEvent(), and DateBookWeek::slotShowEvent(). |
|
|
For internal use only.
Definition at line 903 of file event.cpp. References mEnd. Referenced by DatebookAlldayDisp::beam_single_event(), DateBookDayWidget::DateBookDayWidget(), DateBookWeekLstEvent::DateBookWeekLstEvent(), DateBookDay::getEvents(), DateBookDayWidget::mousePressEvent(), operator==(), DateBookDayWidget::paintEvent(), DateBookWeekView::positionItem(), and DateBookDayWidget::setEventText(). |
|
|
For internal use only.
Definition at line 1053 of file event.cpp. References d, Event::end(), EffectiveEventPrivate::endDate, Event::hasRepeat(), mDate, and mEvent. Referenced by DateBookWeekLstEvent::DateBookWeekLstEvent(), DateBookWeek::generateNormalTooltext(), and DateBookDayWidget::setEventText(). |
|
|
|
For internal use only.
Definition at line 927 of file event.cpp. References QTime::hour(), mEnd, QTime::minute(), and mStart. |
|
|
For internal use only.
Definition at line 879 of file event.cpp. References Event::location(), and mEvent. Referenced by DateBookWeek::slotShowEvent(). |
|
|
For internal use only.
Definition at line 887 of file event.cpp. References mEvent, and Event::notes(). Referenced by DateBookDayWidget::DateBookDayWidget(), and DateBookWeek::slotShowEvent(). |
|
|
For internal use only.
|
|
|
For internal use only.
|
|
|
For internal use only.
|
|
|
For internal use only.
Definition at line 842 of file event.cpp. References d, EffectiveEventPrivate::endDate, mDate, mEnd, mEvent, mStart, and EffectiveEventPrivate::startDate. |
|
|
For internal use only.
Definition at line 989 of file event.cpp. References date(), end(), event(), mDate, mEnd, mEvent, mStart, and start(). |
|
|
For internal use only.
|
|
|
For internal use only.
|
|
|
For internal use only.
Definition at line 936 of file event.cpp. References mDate. Referenced by DateBookDB::getEffectiveEvents(). |
|
||||||||||||
|
For internal use only.
Definition at line 1024 of file event.cpp. References d, EffectiveEventPrivate::endDate, QDate::isValid(), and EffectiveEventPrivate::startDate. Referenced by DateBookDB::getEffectiveEvents(). |
|
|
For internal use only.
Definition at line 952 of file event.cpp. References mEnd. Referenced by DateBookDB::getEffectiveEvents(). |
|
|
For internal use only.
Definition at line 960 of file event.cpp. References mEvent. Referenced by DatebookAlldayDisp::DatebookAlldayDisp(), and DateBookDB::getEffectiveEvents(). |
|
|
For internal use only.
Definition at line 944 of file event.cpp. References mStart. Referenced by DateBookDB::getEffectiveEvents(). |
|
|
For internal use only.
Definition at line 1066 of file event.cpp. References QTime::hour(), mEnd, QTime::minute(), mStart, and QTime::second(). |
|
|
For internal use only.
Definition at line 911 of file event.cpp. References mStart. Referenced by DatebookAlldayDisp::beam_single_event(), DateBookDayWidget::DateBookDayWidget(), DateBookWeekLstEvent::DateBookWeekLstEvent(), DateBookDay::findRealStart(), DateBookDayWidget::mousePressEvent(), operator<(), operator==(), DateBookDayWidget::paintEvent(), DateBookWeekView::positionItem(), and DateBookDayWidget::setEventText(). |
|
|
For internal use only.
Definition at line 1040 of file event.cpp. References d, Event::hasRepeat(), mDate, mEvent, Event::start(), and EffectiveEventPrivate::startDate. Referenced by DateBookWeekLstEvent::DateBookWeekLstEvent(), DateBookWeek::generateNormalTooltext(), DateBookDay::getEvents(), and DateBookDayWidget::setEventText(). |
|
|
Definition at line 242 of file event.h. Referenced by EffectiveEvent(), endDate(), operator=(), setEffectiveDates(), startDate(), and ~EffectiveEvent(). |
|
|
Definition at line 244 of file event.h. Referenced by date(), EffectiveEvent(), endDate(), operator<(), operator<=(), operator=(), operator==(), setDate(), and startDate(). |
|
|
Definition at line 245 of file event.h. Referenced by EffectiveEvent(), end(), length(), operator=(), operator==(), setEnd(), and size(). |
|
|
Definition at line 243 of file event.h. Referenced by description(), EffectiveEvent(), endDate(), event(), location(), notes(), operator=(), operator==(), setEvent(), and startDate(). |
|
|
Definition at line 245 of file event.h. Referenced by EffectiveEvent(), length(), operator<(), operator=(), operator==(), setStart(), size(), and start(). |
1.4.2