KGantt Module
The kgantt module contains several classes (KGanttItem, KGantt) for drawing and editing gantt-diagramms.This example shows how to use the gantt module:
#include "kgantt/KGantt.h"
int main(int args, char* argv[])
{
...
KGanttItem* toplevel = gantt->getToplevelItem();
"task 1, no subtasks",
TQDateTime::currentDateTime().addDays(10),
TQDateTime::currentDateTime().addDays(20) );
...
}
You just have to create an object of class KGantt and add several objects of class KGanttItem.