kpilot/lib
PilotTodoEntry Class Reference
#include <pilotTodoEntry.h>
Inheritance diagram for PilotTodoEntry:

Detailed Description
A decoded ToDo item.
Definition at line 48 of file pilotTodoEntry.h.
Public Member Functions | |
PilotTodoEntry (struct ToDoAppInfo &appInfo) | |
PilotTodoEntry (struct ToDoAppInfo &appInfo, PilotRecord *rec) | |
PilotTodoEntry (const PilotTodoEntry &e) | |
~PilotTodoEntry () | |
QString | getTextRepresentation (bool richText=false) |
PilotTodoEntry & | operator= (const PilotTodoEntry &e) |
tm | getDueDate () const |
void | setDueDate (struct tm &d) |
int | getIndefinite () const |
void | setIndefinite (int i) |
int | getPriority () const |
void | setPriority (int p) |
int | getComplete () const |
void | setComplete (int c) |
QString | getDescription () const |
void | setDescription (const QString &) |
QString | getNote () const |
void | setNote (const QString ¬e) |
QString | getCategoryLabel () const |
bool | setCategory (const QString &label) |
PilotRecord * | pack () const |
Protected Member Functions | |
const char * | getDescriptionP () const |
void | setDescriptionP (const char *, int len=-1) |
const char * | getNoteP () const |
void | setNoteP (const char *, int len=-1) |
Constructor & Destructor Documentation
|
Create an empty ToDo item.
Definition at line 43 of file pilotTodoEntry.cc. |
|
Create a ToDo item and fill it with data from the uninterpreted record
Definition at line 54 of file pilotTodoEntry.cc. |
|
Copy an existing ToDo item.
Definition at line 83 of file pilotTodoEntry.cc. |
|
Delete a ToDo item.
Definition at line 61 of file pilotTodoEntry.h. |
Member Function Documentation
|
Returns the label for the category this ToDo item is in.
Definition at line 170 of file pilotTodoEntry.cc. |
|
Return whether the ToDo is complete (done, finished) or not.
Definition at line 114 of file pilotTodoEntry.h. |
|
Get the ToDo item's description (which is the title shown on the handheld, and the item's Title in KDE). This uses the default codec. Definition at line 231 of file pilotTodoEntry.cc. |
|
Accessor for the Due Date of the ToDo item.
Definition at line 75 of file pilotTodoEntry.h. |
|
Return the indefinite status of the ToDo (? that is, whether it had a Due Date that is relevant or not). Return values are 0 (not indefinite) or non-0. Definition at line 87 of file pilotTodoEntry.h. |
|
Get the ToDo item's note (the longer text, not immediately accessible on the handheld). This uses the default codec. Definition at line 277 of file pilotTodoEntry.cc. |
|
Return the priority of the ToDo item. The priority ranges from 1-5 on the handheld, so this needs to be mapped (perhaps) onto KOrganizer's priority levels. Definition at line 102 of file pilotTodoEntry.h. |
|
Return a string for the ToDo item. If
Definition at line 122 of file pilotTodoEntry.cc. |
|
Assign an existing ToDo item to this one.
Definition at line 100 of file pilotTodoEntry.cc. |
|
If the label already exists, uses the id; if not, adds the label to the category list.
Definition at line 147 of file pilotTodoEntry.h. |
|
Set whether the ToDo is done.
Definition at line 120 of file pilotTodoEntry.h. |
|
Set the ToDo item's description.
Definition at line 189 of file pilotTodoEntry.cc. |
|
Set the Due Date for the ToDo item.
Definition at line 78 of file pilotTodoEntry.h. |
|
Set whether the ToDo is indefinite or not.
Definition at line 93 of file pilotTodoEntry.h. |
|
Set the ToDo item's note.
Definition at line 236 of file pilotTodoEntry.cc. |
|
Set the priority of the ToDo.
Definition at line 108 of file pilotTodoEntry.h. |
The documentation for this class was generated from the following files: