ICalendarTodo

Since: BlackBerry 10.0.0

#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.


Overview

Public Functions Index

ICalendarTodo ()
ICalendarTodo (const ICalendarTodo &other)
~ICalendarTodo ()
QDateTimecompleted () const
QStringdescription () const
QDateTimedue () const
boolisValid () const
ICalendarTodo &operator= (const ICalendarTodo &other)
ICalendarTodoPriority::Typepriority () const
Recurrencerecurrence () const
voidsetCompleted (const QDateTime &completed)
voidsetDescription (const QString &description)
voidsetDue (const QDateTime &due)
voidsetPriority (ICalendarTodoPriority::Type priority)
voidsetRecurrence (const Recurrence &recurrence)
voidsetStatus (ICalendarTodoStatus::Type status)
voidsetSubject (const QString &subject)
voidsetUid (const QString &uid)
ICalendarTodoStatus::Typestatus () const
QStringsubject () const
QStringuid () const

Public Functions

ICalendarTodo ()

Constructor.

Since:

BlackBerry 10.0.0

ICalendarTodo (

Copy constructor.

Creates an object with values copied from the one passed as parameter.

Since:

BlackBerry 10.0.0

~ICalendarTodo ()

Destructor.

Class destructor

Since:

BlackBerry 10.0.0

QDateTime completed ()

Date of completion.

Date and time of completion.

Return:

The attribute's value.

Since:

BlackBerry 10.0.0

QString description ()

To-do's description.

Returns the description of the task.

Return:

The attribute's value.

Since:

BlackBerry 10.0.0

QDateTime due ()

Due date.

Date and time when the task is due.

Return:

The attribute's value.

Since:

BlackBerry 10.0.0

bool isValid ()

Object correctness.

Checks if the object's attributes have acceptable values.

Return:

True if the object is valid, false otherwise.

Since:

BlackBerry 10.0.0

ICalendarTodo & operator= (

Assignment operator.

Updates the object's fields with values from the one passed as parameter.

Return:

Reference to the object that received the assignment.

Since:

BlackBerry 10.0.0

ICalendarTodoPriority::Type priority ()

Priority.

Priority for the task.

Return:

The attribute's value.

Since:

BlackBerry 10.0.0

Recurrence recurrence ()

Returns the to-do's recurrence rule.

Return:

The attribute's value.

Since:

BlackBerry 10.0.0

void setCompleted (

Date of completion setter.

Modifies the date of completion.

Parameters
completed

new value for the attribute

Since:

BlackBerry 10.0.0

void setDescription (

Description setter.

Changes the description attribute in the to-do.

Parameters
description

new value for the attribute

Since:

BlackBerry 10.0.0

void setDue (

Setter for the due dater.

Assigns a value to the due date attribute.

Parameters
due

new value for the attribute

Since:

BlackBerry 10.0.0

void setPriority (

Priority setter.

Changes the object's priority.

Parameters
priority

new value for the attribute

Since:

BlackBerry 10.0.0

void setRecurrence (

Recurrence setter.

Sets the to-do's recurrence rule.

Parameters
recurrence

new value for the attribute

Since:

BlackBerry 10.0.0

void setStatus (

Setter for the status attribute.

Changes the object's status.

Parameters
status

new value for the attribute

Since:

BlackBerry 10.0.0

void setSubject (

Subject setter.

Changes the to-do's subject.

Parameters
subject

new value for the attribute

Since:

BlackBerry 10.0.0

void setUid (

UId setter.

Sets the UId for the to-do.

Parameters
uid

new value for the attribute

Since:

BlackBerry 10.0.0

ICalendarTodoStatus::Type status ()

To-do's status.

Status of completion.

Return:

The attribute's value.

Since:

BlackBerry 10.0.0

QString subject ()

To-do's subject.

Returns the subject of the to-do.

Return:

The attribute's value.

Since:

BlackBerry 10.0.0

QString uid ()

Universal identifier.

Returns the task's universal identifier.

Return:

The attribute's value.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus