ICalendarObjects
#include <bb/pim/calendar/ICalendarObjects>
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
Container for iCalendar objects.
This holds objects constructed by CalendarService::readICalendarFile from data in an iCalendar file.
BlackBerry 10.0.0
Public Functions Index
| ICalendarObjects () | |
| ~ICalendarObjects () | |
| ICalendarObjects (const ICalendarObjects &other) | |
| ICalendarObjects & | operator= (const ICalendarObjects &other) |
| QList< CalendarEvent > | events () const |
| QList< ICalendarTodo > | todos () const |
| void | addEvent (const CalendarEvent &event) |
| void | resetEvents () |
| void | setEvents (const QList< CalendarEvent > &events) |
| void | addTodo (const ICalendarTodo &todo) |
| void | resetTodos () |
| void | setTodos (const QList< ICalendarTodo > &todos) |
| 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
ICalendarObjects &
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
QList< CalendarEvent >
Events in the iCalendar file.
Returns the calendar events (VEVENT) found in the iCalendar file.
The attribute's value.
BlackBerry 10.0.0
QList< ICalendarTodo >
To-dos in the iCalendar file.
Returns the to-dos (VTODO) found in the iCalendar file.
The attribute's value.
BlackBerry 10.0.0
void
Adds an event.
Puts a new event at the end of the list of events.
| Parameters | |
|---|---|
| event |
object to be added |
BlackBerry 10.0.0
void
Removes all events.
Clears the list of events.
BlackBerry 10.0.0
void
Setter for the events' list.
Changes the list of events.
| Parameters | |
|---|---|
| events |
new value for the attribute |
BlackBerry 10.0.0
void
Adds a to-do.
Puts a new to-do at the end of the object's list of to-dos.
| Parameters | |
|---|---|
| todo |
object to be added |
BlackBerry 10.0.0
void
Removes all to-dos.
Clears the list of to-dos.
BlackBerry 10.0.0
void
Setter for the list of to-dos.
Assigns a new list of to-dos to the object.
| Parameters | |
|---|---|
| todos |
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