OTodo Class Reference
#include <otodo.h>
Inheritance diagram for OTodo:


Public Types | |
| typedef QValueList< OTodo > | ValueList |
| enum | RecordFields { Uid = Qtopia::UID_ID, Category = Qtopia::CATEGORY_ID, HasDate, Completed, Description, Summary, Priority, DateDay, DateMonth, DateYear, Progress, CrossReference, State, Recurrence, Alarms, Reminders, Notifiers, Maintainer, StartDate, CompletedDate } |
| enum | TaskPriority { VeryHigh = 1, High, Normal, Low, VeryLow } |
Public Member Functions | |
| OTodo (bool completed=false, int priority=Normal, const QStringList &category=QStringList(), const QString &summary=QString::null, const QString &description=QString::null, ushort progress=0, bool hasDate=false, QDate date=QDate::currentDate(), int uid=0) | |
| OTodo (bool completed, int priority, const QArray< int > &category, const QString &summary=QString::null, const QString &description=QString::null, ushort progress=0, bool hasDate=false, QDate date=QDate::currentDate(), int uid=0) | |
| OTodo (const OTodo &) | |
| Copy c'tor. | |
| ~OTodo () | |
| destructor | |
| bool | isCompleted () const |
| Is this event completed? | |
| bool | hasDueDate () const |
| Does this Event have a deadline. | |
| bool | hasStartDate () const |
| bool | hasCompletedDate () const |
| int | priority () const |
| What is the priority? | |
| ushort | progress () const |
| progress as ushort 0, 20, 40, 60, 80 or 100% | |
| QDate | dueDate () const |
| The due Date. | |
| QDate | startDate () const |
| When did it start? | |
| QDate | completedDate () const |
| When was it completed? | |
| bool | hasState () const |
| does it have a state? | |
| OPimState | state () const |
| What is the state of this OTodo? | |
| bool | hasRecurrence () const |
| has recurrence? | |
| ORecur | recurrence () const |
| the recurrance of this | |
| bool | hasMaintainer () const |
| does this OTodo have a maintainer? | |
| OPimMaintainer | maintainer () const |
| the Maintainer of this OTodo | |
| QString | description () const |
| The description of the todo. | |
| QString | summary () const |
| A small summary of the todo. | |
| QString | toRichText () const |
| Return this todoevent in a RichText formatted QString. | |
| bool | hasNotifiers () const |
| OPimNotifyManager & | notifiers () |
| return a reference to our notifiers... | |
| const OPimNotifyManager & | notifiers () const |
| QString | type () const |
| reimplementations | |
| QString | toShortText () const |
| a small one line summary | |
| QString | recordField (int id) const |
| the name for a recordField | |
| QMap< int, QString > | toMap () const |
| toMap puts all data into the map. | |
| void | setCompleted (bool completed) |
| Set if this Todo is completed. | |
| void | setHasDueDate (bool hasDate) |
| set if this todo got an end data | |
| void | setPriority (int priority) |
| Set the priority of the Todo. | |
| void | setProgress (ushort progress) |
| Set the progress. | |
| void | setDueDate (const QDate &date) |
| set the end date | |
| void | setStartDate (const QDate &date) |
| set the start date | |
| void | setCompletedDate (const QDate &date) |
| set the completed date | |
| void | setRecurrence (const ORecur &) |
| void | setDescription (const QString &) |
| void | setSummary (const QString &) |
| void | setState (const OPimState &state) |
| set the state of a Todo | |
| void | setMaintainer (const OPimMaintainer &) |
| set the Maintainer Mode | |
| bool | isOverdue () |
| virtual bool | match (const QRegExp &r) const |
| bool | operator< (const OTodo &toDoEvent) const |
| bool | operator<= (const OTodo &toDoEvent) const |
| bool | operator!= (const OTodo &toDoEvent) const |
| bool | operator> (const OTodo &toDoEvent) const |
| bool | operator>= (const OTodo &toDoEvent) const |
| bool | operator== (const OTodo &toDoEvent) const |
| OTodo & | operator= (const OTodo &toDoEvent) |
Static Public Member Functions | |
| int | rtti () |
Member Typedef Documentation
|
|
|
Member Enumeration Documentation
|
|
|
|
|
|
Constructor & Destructor Documentation
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 89 of file otodo.cpp. References Qtopia::Record::idsFromString(), QStringList::join(), Qtopia::Record::setCategories(), and Qtopia::simplifyMultiLineSpace(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 68 of file otodo.cpp. References Qtopia::Record::setCategories(), and Qtopia::simplifyMultiLineSpace(). |
|
|
Copy c'tor.
|
|
|
destructor
|
Member Function Documentation
|
|
Is this event completed?
Definition at line 127 of file otodo.cpp. Referenced by completed(), and vobjByEvent(). |
|
|
Does this Event have a deadline.
Definition at line 131 of file otodo.cpp. Referenced by deadline(), OTodoAccessXML::load(), toRichText(), and vobjByEvent(). |
|
|
|
|
|
|
|
|
What is the priority?
Definition at line 141 of file otodo.cpp. Referenced by priority(), toRichText(), and vobjByEvent(). |
|
|
progress as ushort 0, 20, 40, 60, 80 or 100%
Definition at line 149 of file otodo.cpp. Referenced by toRichText(). |
|
|
The due Date.
Definition at line 153 of file otodo.cpp. Referenced by deadline(), OTodoAccessXML::load(), toRichText(), and vobjByEvent(). |
|
|
When did it start?
|
|
|
When was it completed?
|
|
|
does it have a state?
|
|
|
What is the state of this OTodo?
|
|
|
has recurrence?
|
|
|
the recurrance of this
|
|
|
does this OTodo have a maintainer?
|
|
|
the Maintainer of this OTodo
|
|
|
The description of the todo.
Definition at line 163 of file otodo.cpp. Referenced by string(), toRichText(), and vobjByEvent(). |
|
|
A small summary of the todo.
Definition at line 145 of file otodo.cpp. Referenced by string(), toRichText(), toShortText(), and vobjByEvent(). |
|
|
Return this todoevent in a RichText formatted QString. Returns a richt text string Implements OPimRecord. Definition at line 276 of file otodo.cpp. References OPimRecord::categoryNames(), QDate::currentDate(), description(), dueDate(), Qtopia::escapeString(), hasDueDate(), QString::isEmpty(), QStringList::join(), QString::number(), priority(), progress(), QString::replace(), summary(), QDate::toString(), and QObject::tr(). |
|
|
|
|
|
return a reference to our notifiers...
|
|
|
|
|
|
reimplementations
Implements OPimRecord. Definition at line 511 of file otodo.cpp. References QString::fromLatin1(). |
|
|
a small one line summary
Implements OPimRecord. Definition at line 270 of file otodo.cpp. References summary(). |
|
|
the name for a recordField
Implements OPimRecord. |
|
|
toMap puts all data into the map. int relates to ToDoEvent RecordFields enum Implements OPimRecord. Definition at line 444 of file otodo.cpp. References Qtopia::Record::categories(), Category, Completed, DateDay, DateMonth, DateYear, Description, HasDate, Qtopia::Record::idsToString(), QMap::insert(), Priority, Progress, Summary, Qtopia::Record::uid(), and Uid. |
|
|
Set if this Todo is completed.
Definition at line 198 of file otodo.cpp. Referenced by eventByVObj(). |
|
|
set if this todo got an end data
Definition at line 203 of file otodo.cpp. Referenced by eventByVObj(). |
|
|
Set the priority of the Todo.
Definition at line 219 of file otodo.cpp. Referenced by eventByVObj(). |
|
|
Set the progress.
|
|
|
set the end date
Definition at line 224 of file otodo.cpp. Referenced by eventByVObj(), and OTodoAccessXML::load(). |
|
|
set the start date
|
|
|
set the completed date
|
|
|
Definition at line 244 of file otodo.cpp. Referenced by OTodoAccessXML::load(). |
|
|
Definition at line 208 of file otodo.cpp. References Qtopia::simplifyMultiLineSpace(). Referenced by eventByVObj(). |
|
|
Definition at line 214 of file otodo.cpp. Referenced by eventByVObj(). |
|
|
set the state of a Todo
|
|
|
set the Maintainer Mode
|
|
|
Definition at line 259 of file otodo.cpp. References QDate::currentDate(). |
|
|
Reimplemented from Qtopia::Record. Definition at line 110 of file otodo.cpp. References QString::number(). |
|
|
Definition at line 357 of file otodo.cpp. References priority(). |
|
|
Definition at line 369 of file otodo.cpp. References priority(). |
|
|
|
|
|
Definition at line 382 of file otodo.cpp. References priority(). |
|
|
Definition at line 395 of file otodo.cpp. References priority(). |
|
|
Definition at line 408 of file otodo.cpp. References Qtopia::Record::operator==(). |
|
|
Definition at line 431 of file otodo.cpp. References data, and OPimRecord::operator=(). |
|
|
Reimplemented from OPimRecord. |
The documentation for this class was generated from the following files:
