ORecurranceWidget Class Reference
A widget to let the user select rules for recurrences. Widget of selecting Recurrance. More...
#include <orecurrancewidget.h>
Collaboration diagram for ORecurranceWidget:

Public Slots | |
| void | slotSetRType (int) |
| void | endDateChanged (int, int, int) |
| set the new end date | |
| void | slotNoEnd (bool unused) |
| enable/disable end date | |
| void | setStartDate (const QDate &) |
| set the start date | |
| void | setRecurrence (const ORecur &recur, const QDate &start) |
| overloaded method taking ORecur and a new start date | |
| void | setRecurrence (const ORecur &recur) |
| set the recurrence | |
Public Member Functions | |
| ORecurranceWidget (bool startOnMonday, const QDate &start, QWidget *parent=0, const char *name=0, bool modal=TRUE, WFlags fl=0) | |
| Constructs the Widget. | |
| ORecurranceWidget (bool startOnMonday, const ORecur &rp, const QDate &start, QWidget *parent=0, const char *name=0, bool modal=TRUE, WFlags=0) | |
| Different constructor. | |
| ORecur | recurrence () const |
| the user selected recurrence rule. | |
| QDate | endDate () const |
| Return the end date of the recurrence. | |
Detailed Description
A widget to let the user select rules for recurrences. Widget of selecting Recurrance.This widget can take care of weekly, monthly, daily and yearly recurrence It is used inside todolist and datebook.
- Author:
- Trolltech, Holger Freyther
- Version:
- 0.9
Definition at line 32 of file orecurrancewidget.h.
Constructor & Destructor Documentation
|
||||||||||||||||||||||||||||
|
Constructs the Widget.
Definition at line 55 of file orecurrancewidget.cpp. References QString::isEmpty(). |
|
||||||||||||||||||||||||||||||||
|
Different constructor.
Definition at line 85 of file orecurrancewidget.cpp. References QString::isEmpty(), and setRecurrence(). |
Member Function Documentation
|
|
the user selected recurrence rule.
Definition at line 186 of file orecurrancewidget.cpp. Referenced by setStartDate(). |
|
|
Return the end date of the recurrence. This is only valid if the recurrence rule does contain an enddate Definition at line 248 of file orecurrancewidget.cpp. |
|
||||||||||||||||
|
set the new end date
Definition at line 275 of file orecurrancewidget.cpp. References QDate::day(), QDate::month(), QDate::setYMD(), and QDate::year(). |
|
|
enable/disable end date
Definition at line 282 of file orecurrancewidget.cpp. References QDate::setYMD(). |
|
|
set the start date
Definition at line 108 of file orecurrancewidget.cpp. References recurrence(), and setRecurrence(). |
|
||||||||||||
|
overloaded method taking ORecur and a new start date
Definition at line 124 of file orecurrancewidget.cpp. Referenced by ORecurranceWidget(), setRecurrence(), and setStartDate(). |
|
|
set the recurrence
Definition at line 115 of file orecurrancewidget.cpp. References setRecurrence(). |
The documentation for this class was generated from the following files:
