#include <CTodo.h>
Public Member Functions | |
bool | setGeo (string szGeo) |
string | getGeo () |
int | getDue () |
bool | setDue (int iDue) |
int | getCompleted () |
bool | setCompleted (int iCompleted) |
bool | setPercentComplete (int iPercentComplete) |
int | getPercentComplete () |
int | getPriority () |
bool | setPriority (int iPriority) |
CTodo (CTodo &ref) | |
CTodo & | operator= (CTodo &right) |
CTodo () | |
CTodo (string szSummary, int iDateStart, int iStatus) | |
~CTodo () | |
string | toString () |
Private Attributes | |
string | szGeo |
int | iDue |
int | iCompleted |
int | iPercentComplete |
int | iPriority |
CTodo class
CTodo::CTodo | ( | CTodo & | ref | ) |
copy Constructor
References iCompleted, iDue, iPercentComplete, iPriority, and szGeo.
CTodo::CTodo | ( | ) |
CTodo::CTodo | ( | string | szSummary, | |
int | iTodoDue, | |||
int | iStatus | |||
) |
include files CTodo Overloaded constructor for CTodo class
References CComponent::setType().
CTodo::~CTodo | ( | ) |
~CTodo
none |
bool CTodo::setGeo | ( | string | szGeo | ) |
string | szGeo consisting folat variables (Latitude and Longitude) |
setGeo
str | Latitude and Longitude |
Referenced by CCalendar::getTodo(), and CCalendar::getTodos().
string CTodo::getGeo | ( | ) |
none |
see setGeo().
getGeo
none |
References szGeo.
Referenced by CCalendar::addTodoCompDetails().
int CTodo::getDue | ( | ) |
none |
see setDue().
getDue
none |
References CComponent::getDateStart(), and iDue.
bool CTodo::setDue | ( | int | iDue | ) |
int | due time |
see getDue().
setDue
int | time |
returns true when due date is set correctly. returns false when due date is empty.
int CTodo::getCompleted | ( | ) |
none |
getCompleted
none |
References iCompleted.
Referenced by CCalendar::addTodoCompDetails(), and CCalendar::modifyTodo().
bool CTodo::setCompleted | ( | int | iCompleted | ) |
int | completed time |
returns true when date is set correctly. returns false when date is empty.
see getCompleted().
setCompleted
int | time |
returns true when date is set correctly. returns false when date is empty.
Referenced by CCalendar::addTodoCompDetails(), CCalendar::getTodo(), CCalendar::getTodos(), and CCalendar::modifyTodo().
bool CTodo::setPercentComplete | ( | int | iPercentComplete | ) |
integer | percentage of todo completed |
setPercentComplete
integer | P percentage of todo completed |
int CTodo::getPercentComplete | ( | ) |
none |
none |
References iPercentComplete.
Referenced by CCalendar::addTodoCompDetails(), and CCalendar::modifyTodo().
int CTodo::getPriority | ( | ) |
none |
none |
References iPriority.
Referenced by CCalendar::addTodoCompDetails(), and CCalendar::modifyTodo().
bool CTodo::setPriority | ( | int | iPriority | ) |
integer | pripority |
setPriority
integer | pripority |
overloaded assignment operator
References iCompleted, iDue, iPercentComplete, iPriority, CComponentDetails::operator=(), and szGeo.
string CTodo::toString | ( | ) |
toString
Reimplemented from CComponentDetails.
References CComponent::getAlarm(), CComponent::getAllDay(), CComponent::getCalendarId(), CComponent::getCreatedTime(), CComponent::getDateEnd(), CComponent::getDateStart(), CComponent::getDescription(), CComponent::getFlags(), CComponent::getGUid(), CComponent::getId(), CComponent::getLastModified(), CComponent::getLocation(), CComponent::getRecurrence(), CComponent::getStatus(), CComponent::getSummary(), CComponent::getType(), CComponent::getUntil(), iCompleted, iDue, iPercentComplete, iPriority, CComponent::pAlarm, szGeo, CRecurrence::toString(), and CAlarm::toString().
Referenced by CCalendar::getTodo(), and CCalendar::getTodos().
string CTodo::szGeo [private] |
Geo parameter
Referenced by CTodo(), getGeo(), operator=(), and toString().
int CTodo::iDue [private] |
Todo due
Referenced by CTodo(), getDue(), operator=(), and toString().
int CTodo::iCompleted [private] |
Todo completed
Referenced by CTodo(), getCompleted(), operator=(), and toString().
int CTodo::iPercentComplete [private] |
Todo percent complete
Referenced by CTodo(), getPercentComplete(), operator=(), and toString().
int CTodo::iPriority [private] |
Todo priority
Referenced by CTodo(), getPriority(), operator=(), and toString().