ICalendarTodo
#include <bb/pim/calendar/ICalendarTodo>
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
A to-do object contained in an iCalendar file.
This represents a task built from a VTODO object in an iCalendar file.
BlackBerry 10.0.0
Public Functions Index
| ICalendarTodo () | |
| ~ICalendarTodo () | |
| ICalendarTodo (const ICalendarTodo &other) | |
| ICalendarTodo & | operator= (const ICalendarTodo &other) |
| QString | subject () const |
| QDateTime | due () const |
| ICalendarTodoStatus::Type | status () const |
| QDateTime | completed () const |
| QString | description () const |
| QString | uid () const |
| Recurrence | recurrence () const |
| ICalendarTodoPriority::Type | priority () const |
| void | setSubject (const QString &subject) |
| void | setDue (const QDateTime &due) |
| void | setStatus (ICalendarTodoStatus::Type status) |
| void | setCompleted (const QDateTime &completed) |
| void | setDescription (const QString &description) |
| void | setUid (const QString &uid) |
| void | setRecurrence (const Recurrence &recurrence) |
| void | setPriority (ICalendarTodoPriority::Type priority) |
| bool | isValid () const |
Public Functions
Constructor.
Creates an object
BlackBerry 10.0.0
Destructor.
Class destructor
BlackBerry 10.0.0
Copy constructor.
Creates an object with values copied from the one passed as parameter.
BlackBerry 10.0.0
ICalendarTodo &
Assignment operator.
Updates the object's fields with values from the one passed as parameter.
Reference to the object that received the assignment.
BlackBerry 10.0.0
QString
To-do's subject.
Returns the subject of the to-do.
The attribute's value.
BlackBerry 10.0.0
QDateTime
Due date.
Date and time when the task is due.
The attribute's value.
BlackBerry 10.0.0
ICalendarTodoStatus::Type
To-do's status.
Status of completion.
The attribute's value.
BlackBerry 10.0.0
QDateTime
Date of completion.
Date and time of completion.
The attribute's value.
BlackBerry 10.0.0
QString
To-do's description.
Returns the description of the task.
The attribute's value.
BlackBerry 10.0.0
QString
Universal identifier.
Returns the task's universal identifier.
The attribute's value.
BlackBerry 10.0.0
Recurrence
Returns the to-do's recurrence rule.
The attribute's value.
BlackBerry 10.0.0
ICalendarTodoPriority::Type
Priority.
Priority for the task.
The attribute's value.
BlackBerry 10.0.0
void
Subject setter.
Changes the to-do's subject.
| Parameters | |
|---|---|
| subject |
new value for the attribute |
BlackBerry 10.0.0
void
Setter for the due dater.
Assigns a value to the due date attribute.
| Parameters | |
|---|---|
| due |
new value for the attribute |
BlackBerry 10.0.0
void
Setter for the status attribute.
Changes the object's status.
| Parameters | |
|---|---|
| status |
new value for the attribute |
BlackBerry 10.0.0
void
Date of completion setter.
Modifies the date of completion.
| Parameters | |
|---|---|
| completed |
new value for the attribute |
BlackBerry 10.0.0
void
Description setter.
Changes the description attribute in the to-do.
| Parameters | |
|---|---|
| description |
new value for the attribute |
BlackBerry 10.0.0
void
UId setter.
Sets the UId for the to-do.
| Parameters | |
|---|---|
| uid |
new value for the attribute |
BlackBerry 10.0.0
void
Recurrence setter.
Sets the to-do's recurrence rule.
| Parameters | |
|---|---|
| recurrence |
new value for the attribute |
BlackBerry 10.0.0
void
Priority setter.
Changes the object's priority.
| Parameters | |
|---|---|
| priority |
new value for the attribute |
BlackBerry 10.0.0
bool
Object correctness.
Checks if the object's attributes have acceptable values.
True if the object is valid, false otherwise.
BlackBerry 10.0.0