|
| Task (const QString &taskname, const QString &taskdescription, long minutes, long sessionTime, DesktopList desktops, TaskView *parent=0, bool konsolemode=false) |
|
| Task (const QString &taskname, const QString &taskdescription, long minutes, long sessionTime, DesktopList desktops, Task *parent=0) |
|
| Task (const KCalCore::Todo::Ptr &incident, TaskView *parent, bool konsolemode=false) |
|
| ~Task () |
|
void | addComment (const QString &comment, timetrackerstorage *storage) |
|
KCalCore::Todo::Ptr | asTodo (const KCalCore::Todo::Ptr &calendar) const |
|
QString | comment () const |
|
void | cut () |
|
void | delete_recursive () |
|
int | depth () |
|
bool | isComplete () |
|
bool | isRoot () const |
|
void | move (Task *destination) |
|
Task * | parent () const |
|
bool | parseIncidence (const KCalCore::Incidence::Ptr &, long &minutes, long &sessionMinutes, QString &sessionStartTiMe, QString &name, QString &description, DesktopList &desktops, int &percent_complete, int &priority) |
|
void | paste (Task *destination) |
|
int | percentComplete () const |
|
int | priority () const |
|
bool | remove (timetrackerstorage *storage) |
|
void | setDescription (QString desc, timetrackerstorage *storage) |
|
void | setPercentComplete (const int percent, timetrackerstorage *storage) |
|
void | setPixmapProgress () |
|
void | setPriority (int priority) |
|
void | setUid (const QString &uid) |
|
TaskView * | taskView () const |
|
QString | uid () const |
|
void | update () |
|
|
void | changeTime (long minutes, timetrackerstorage *storage) |
|
void | changeTimes (long minutesSession, long minutes, timetrackerstorage *storage=0) |
|
void | changeTotalTimes (long minutesSession, long minutes) |
|
QString | addTime (long minutes) |
|
QString | addTotalTime (long minutes) |
|
QString | addSessionTime (long minutes) |
|
QString | addTotalSessionTime (long minutes) |
|
QString | setTime (long minutes) |
|
void | setTotalTime (long minutes) |
|
void | setTotalSessionTime (long minutes) |
|
QString | recalculatetotaltime () |
|
QString | recalculatetotalsessiontime () |
|
QString | setSessionTime (long minutes) |
|
void | resetTimes () |
|
long | time () const |
|
long | totalTime () const |
|
long | sessionTime () const |
|
long | totalSessionTime () const |
|
KDateTime | sessionStartTiMe () const |
|
QDateTime | startTime () const |
|
void | startNewSession () |
|
|
void | setDesktopList (DesktopList dl) |
|
DesktopList | desktops () const |
|
QString | getDesktopStr () const |
|
|
void | setName (const QString &name, timetrackerstorage *storage) |
|
void | setDescription (const QString &description) |
|
QString | name () const |
|
QString | description () const |
|
QString | fullName () const |
|
|
void | setRunning (bool on, timetrackerstorage *storage, const QDateTime &when=QDateTime::currentDateTime()) |
|
void | resumeRunning () |
|
bool | isRunning () const |
|
| QObject (QObject *parent) |
|
| QObject (QObject *parent, const char *name) |
|
virtual | ~QObject () |
|
bool | blockSignals (bool block) |
|
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
|
const QObjectList & | children () const |
|
const char * | className () const |
|
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const QObject *receiver, const char *method) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
|
void | dumpObjectInfo () |
|
void | dumpObjectTree () |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
T | findChild (const QString &name) const |
|
QList< T > | findChildren (const QRegExp ®Exp) const |
|
QList< T > | findChildren (const QString &name) const |
|
bool | inherits (const char *className) const |
|
void | insertChild (QObject *object) |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isA (const char *className) const |
|
bool | isWidgetType () const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const |
|
void | moveToThread (QThread *targetThread) |
|
const char * | name () const |
|
const char * | name (const char *defaultName) const |
|
QString | objectName () const |
|
QObject * | parent () const |
|
QVariant | property (const char *name) const |
|
void | removeChild (QObject *object) |
|
void | removeEventFilter (QObject *obj) |
|
void | setName (const char *name) |
|
void | setObjectName (const QString &name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | signalsBlocked () const |
|
int | startTimer (int interval) |
|
QThread * | thread () const |
|
| QTreeWidgetItem (int type) |
|
| QTreeWidgetItem (const QStringList &strings, int type) |
|
| QTreeWidgetItem (QTreeWidget *parent, const QStringList &strings, int type) |
|
| QTreeWidgetItem (QTreeWidgetItem *parent, QTreeWidgetItem *preceding, int type) |
|
| QTreeWidgetItem (const QTreeWidgetItem &other) |
|
| QTreeWidgetItem (QTreeWidget *parent, QTreeWidgetItem *preceding, int type) |
|
| QTreeWidgetItem (QTreeWidget *parent, int type) |
|
| QTreeWidgetItem (QTreeWidgetItem *parent, int type) |
|
| QTreeWidgetItem (QTreeWidgetItem *parent, const QStringList &strings, int type) |
|
virtual | ~QTreeWidgetItem () |
|
void | addChild (QTreeWidgetItem *child) |
|
void | addChildren (const QList< QTreeWidgetItem * > &children) |
|
QBrush | background (int column) const |
|
QColor | backgroundColor (int column) const |
|
Qt::CheckState | checkState (int column) const |
|
QTreeWidgetItem * | child (int index) const |
|
int | childCount () const |
|
QTreeWidgetItem::ChildIndicatorPolicy | childIndicatorPolicy () const |
|
virtual QTreeWidgetItem * | clone () const |
|
int | columnCount () const |
|
virtual QVariant | data (int column, int role) const |
|
Qt::ItemFlags | flags () const |
|
QFont | font (int column) const |
|
QBrush | foreground (int column) const |
|
QIcon | icon (int column) const |
|
int | indexOfChild (QTreeWidgetItem *child) const |
|
void | insertChild (int index, QTreeWidgetItem *child) |
|
void | insertChildren (int index, const QList< QTreeWidgetItem * > &children) |
|
bool | isDisabled () const |
|
bool | isExpanded () const |
|
bool | isFirstColumnSpanned () const |
|
bool | isHidden () const |
|
bool | isSelected () const |
|
QTreeWidgetItem & | operator= (const QTreeWidgetItem &other) |
|
QTreeWidgetItem * | parent () const |
|
virtual void | read (QDataStream &in) |
|
void | removeChild (QTreeWidgetItem *child) |
|
void | setBackground (int column, const QBrush &brush) |
|
void | setBackgroundColor (int column, const QColor &color) |
|
void | setCheckState (int column, Qt::CheckState state) |
|
void | setChildIndicatorPolicy (QTreeWidgetItem::ChildIndicatorPolicy policy) |
|
virtual void | setData (int column, int role, const QVariant &value) |
|
void | setDisabled (bool disabled) |
|
void | setExpanded (bool expand) |
|
void | setFirstColumnSpanned (bool span) |
|
void | setFlags (QFlags< Qt::ItemFlag > flags) |
|
void | setFont (int column, const QFont &font) |
|
void | setForeground (int column, const QBrush &brush) |
|
void | setHidden (bool hide) |
|
void | setIcon (int column, const QIcon &icon) |
|
void | setSelected (bool select) |
|
void | setSizeHint (int column, const QSize &size) |
|
void | setStatusTip (int column, const QString &statusTip) |
|
void | setText (int column, const QString &text) |
|
void | setTextAlignment (int column, int alignment) |
|
void | setTextColor (int column, const QColor &color) |
|
void | setToolTip (int column, const QString &toolTip) |
|
void | setWhatsThis (int column, const QString &whatsThis) |
|
QSize | sizeHint (int column) const |
|
void | sortChildren (int column, Qt::SortOrder order) |
|
QString | statusTip (int column) const |
|
QTreeWidgetItem * | takeChild (int index) |
|
QList< QTreeWidgetItem * > | takeChildren () |
|
QString | text (int column) const |
|
int | textAlignment (int column) const |
|
QColor | textColor (int column) const |
|
QString | toolTip (int column) const |
|
QTreeWidget * | treeWidget () const |
|
int | type () const |
|
QString | whatsThis (int column) const |
|
virtual void | write (QDataStream &out) const |
|
A class representing a task.
A "Task" object stores information about a task such as it's name, total and session times.
It can log when the task is started, stoped or deleted.
If a task is associated with some desktop's activity it can remember that too.
It can also contain subtasks - these are managed using the QListViewItem class.
Definition at line 54 of file task.h.