#include </home/clem/local/src/opie/libopie2/opiepim/ui/opimrecurrencewidget.h>
Collaboration diagram for OPimRecurrenceWidget:

Public Slots | |
| void | slotSetRType (int) |
| void | endDateChanged (int, int, int) |
| void | slotNoEnd (bool unused) |
| void | setStartDate (const QDate &) |
| void | setRecurrence (const Opie::OPimRecurrence &recur, const QDate &start) |
| void | setRecurrence (const Opie::OPimRecurrence &recur) |
Public Member Functions | |
| OPimRecurrenceWidget (bool startOnMonday, const QDate &start, QWidget *parent=0, const char *name=0, bool modal=TRUE, WFlags fl=0) | |
| OPimRecurrenceWidget (bool startOnMonday, const Opie::OPimRecurrence &rp, const QDate &start, QWidget *parent=0, const char *name=0, bool modal=TRUE, WFlags=0) | |
| ~OPimRecurrenceWidget () | |
| Opie::OPimRecurrence | recurrence () const |
| QDate | endDate () const |
Private Types | |
| enum | repeatButtons { None, Day, Week, Month, Year } |
Private Slots | |
| void | setupRepeatLabel (const QString &) |
| void | setupRepeatLabel (int) |
| void | slotWeekLabel () |
| void | slotMonthLabel (int) |
| void | slotChangeStartOfWeek (bool onMonday) |
Private Member Functions | |
| void | setupNone () |
| void | setupDaily () |
| void | setupWeekly () |
| void | setupMonthly () |
| void | setupYearly () |
| void | init () |
| void | hideExtras () |
| void | showRepeatStuff () |
Private Attributes | |
| QList< QToolButton > | listRTypeButtons |
| QList< QToolButton > | listExtra |
| QDate | start |
| QDate | end |
| repeatButtons | currInterval |
| bool | startWeekOnMonday: 1 |
| DateBookMonth * | repeatPicker |
| Private * | d |
A widget to let the user select rules for recurrences. This widget can take care of weekly, monthly, daily and yearly recurrence It is used inside todolist and datebook.
Definition at line 30 of file opimrecurrencewidget.h.
|
|
Definition at line 73 of file opimrecurrencewidget.h. |
|
||||||||||||||||||||||||||||
|
Constructs the Widget
Definition at line 57 of file opimrecurrencewidget.cpp. References currInterval, fillStrings(), init(), QString::isEmpty(), setupNone(), strDayTemplate, and TRUE. |
|
||||||||||||||||||||||||||||||||
|
Different constructor
Definition at line 87 of file opimrecurrencewidget.cpp. References fillStrings(), init(), QString::isEmpty(), setRecurrence(), and strDayTemplate. |
|
|
Definition at line 103 of file opimrecurrencewidget.cpp. |
|
|
Return the end date of the recurrence. This is only valid if the recurrence rule does contain an enddate Definition at line 250 of file opimrecurrencewidget.cpp. References end. |
|
||||||||||||||||
|
set the new end date Definition at line 277 of file opimrecurrencewidget.cpp. References end, repeatPicker, DateBookMonth::setDate(), QDate::setYMD(), TimeString::shortDate(), and start. Referenced by init(). |
|
|
Definition at line 578 of file opimrecurrencewidget.cpp. References FALSE, and listExtra. Referenced by setupDaily(), setupMonthly(), setupNone(), and setupYearly(). |
|
|
Definition at line 550 of file opimrecurrencewidget.cpp. References endDateChanged(), listExtra, listRTypeButtons, qApp, repeatPicker, slotChangeStartOfWeek(), and TRUE. Referenced by OPimRecurrenceWidget(). |
|
|
the user selected recurrence rule.
Definition at line 188 of file opimrecurrencewidget.cpp. References Day, Opie::OPimRecurrence::hasEndDate(), i, listExtra, listRTypeButtons, Month, None, Opie::OPimRecurrence::setDays(), Opie::OPimRecurrence::setEndDate(), Opie::OPimRecurrence::setFrequency(), Opie::OPimRecurrence::setHasEndDate(), Opie::OPimRecurrence::setPosition(), Opie::OPimRecurrence::setType(), start, startWeekOnMonday, Event::SUN, week(), Week, and Year. Referenced by setStartDate(), and OTaskEditor::todo(). |
|
|
set the recurrence
Definition at line 117 of file opimrecurrencewidget.cpp. References setRecurrence(), and start. |
|
||||||||||||
|
overloaded method taking OPimRecurrence and a new start date
Definition at line 126 of file opimrecurrencewidget.cpp. References currInterval, Day, Opie::OPimRecurrence::days(), end, Opie::OPimRecurrence::endDate(), Opie::OPimRecurrence::frequency(), Opie::OPimRecurrence::hasEndDate(), Month, None, setupDaily(), setupMonthly(), setupNone(), setupWeekly(), setupYearly(), TimeString::shortDate(), slotMonthLabel(), slotWeekLabel(), start, startWeekOnMonday, tr, TRUE, Opie::OPimRecurrence::type(), Week, and Year. Referenced by OTaskEditor::load(), OPimRecurrenceWidget(), setRecurrence(), and setStartDate(). |
|
|
set the start date
Definition at line 110 of file opimrecurrencewidget.cpp. References recurrence(), and setRecurrence(). |
|
|
Definition at line 458 of file opimrecurrencewidget.cpp. References hideExtras(), setupRepeatLabel(), showRepeatStuff(), strDayTemplate, and tr. Referenced by setRecurrence(), and slotSetRType(). |
|
|
Definition at line 520 of file opimrecurrencewidget.cpp. References hideExtras(), setupRepeatLabel(), showRepeatStuff(), tr, and TRUE. Referenced by setRecurrence(), and slotSetRType(). |
|
|
Definition at line 445 of file opimrecurrencewidget.cpp. References hideExtras(), and tr. Referenced by OPimRecurrenceWidget(), setRecurrence(), and slotSetRType(). |
|
|
Definition at line 297 of file opimrecurrencewidget.cpp. References currInterval, Day, QString::isNull(), Month, None, tr, Week, and Year. |
|
|
Definition at line 294 of file opimrecurrencewidget.cpp. Referenced by setupDaily(), setupMonthly(), setupWeekly(), and setupYearly(). |
|
|
Definition at line 468 of file opimrecurrencewidget.cpp. References QDate::dayOfWeek(), FALSE, setupRepeatLabel(), showRepeatStuff(), start, startWeekOnMonday, and tr. Referenced by setRecurrence(), slotChangeStartOfWeek(), and slotSetRType(). |
|
|
Definition at line 536 of file opimrecurrencewidget.cpp. References QString::arg(), QDate::day(), hideExtras(), QDate::month(), QDate::monthName(), numberPlacing(), setupRepeatLabel(), showRepeatStuff(), start, strYearTemplate, and tr. Referenced by setRecurrence(), and slotSetRType(). |
|
|
Definition at line 588 of file opimrecurrencewidget.cpp. References tr. Referenced by setupDaily(), setupMonthly(), setupWeekly(), and setupYearly(). |
|
|
Definition at line 408 of file opimrecurrencewidget.cpp. References listExtra, setupWeekly(), slotWeekLabel(), and startWeekOnMonday. Referenced by init(). |
|
|
Definition at line 397 of file opimrecurrencewidget.cpp. References QString::arg(), currInterval, QDate::day(), dayLabel, QDate::dayOfWeek(), Month, numberPlacing(), start, str, strMonthDateTemplate, strMonthDayTemplate, and week(). Referenced by setRecurrence(), and slotSetRType(). |
|
|
enable/disable end date Definition at line 284 of file opimrecurrencewidget.cpp. References end, QDate::setYMD(), TimeString::shortDate(), start, and tr. |
|
|
Definition at line 253 of file opimrecurrencewidget.cpp. References currInterval, Day, Month, None, setupDaily(), setupMonthly(), setupNone(), setupWeekly(), setupYearly(), slotMonthLabel(), slotWeekLabel(), TRUE, Week, and Year. |
|
|
Definition at line 337 of file opimrecurrencewidget.cpp. References QValueList< T >::append(), QValueList< T >::begin(), QValueList< T >::count(), currInterval, dayLabel, QDate::dayOfWeek(), QValueList< T >::end(), FALSE, i, QString::isNull(), list, listExtra, QString::prepend(), start, startWeekOnMonday, str, tr, TRUE, and Week. Referenced by setRecurrence(), slotChangeStartOfWeek(), and slotSetRType(). |
|
|
Definition at line 82 of file opimrecurrencewidget.h. Referenced by OPimRecurrenceWidget(), setRecurrence(), setupRepeatLabel(), slotMonthLabel(), slotSetRType(), and slotWeekLabel(). |
|
|
Definition at line 86 of file opimrecurrencewidget.h. |
|
|
Definition at line 81 of file opimrecurrencewidget.h. Referenced by endDate(), endDateChanged(), setRecurrence(), and slotNoEnd(). |
|
|
Definition at line 79 of file opimrecurrencewidget.h. Referenced by hideExtras(), init(), recurrence(), slotChangeStartOfWeek(), and slotWeekLabel(). |
|
|
Definition at line 78 of file opimrecurrencewidget.h. Referenced by init(), and recurrence(). |
|
|
Definition at line 84 of file opimrecurrencewidget.h. Referenced by endDateChanged(), and init(). |
|
|
Definition at line 80 of file opimrecurrencewidget.h. Referenced by endDateChanged(), recurrence(), setRecurrence(), setupWeekly(), setupYearly(), slotMonthLabel(), slotNoEnd(), and slotWeekLabel(). |
|
|
Definition at line 83 of file opimrecurrencewidget.h. Referenced by recurrence(), setRecurrence(), setupWeekly(), slotChangeStartOfWeek(), and slotWeekLabel(). |
1.4.2