1 /***************************************************************************
2 * KT list view item task header. *
3 * -------------------------------------------------------------------- *
4 * Copyright (C) 1999, Gary Meyer <gary@meyer.net> *
5 * -------------------------------------------------------------------- *
6 * This program is free software; you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
10 ***************************************************************************/
15 #include <QTreeWidgetItem>
21 * QTreeWidgetItem with a CTTask.
23 class TaskWidget
: public QTreeWidgetItem
{
27 * Initialize the list view item and task.
29 TaskWidget(TasksWidget
* tasksWidget
, CTTask
* _cttask
);
32 * Change the status of this task
39 CTTask
* getCTTask() const;
42 * Refresh from underlying task.
53 TasksWidget
* tasksWidget
;
56 #endif // TASK_WIDGET_H