21#ifndef KPTRELATIONDIALOG_H
22#define KPTRELATIONDIALOG_H
24#include <kdialogbase.h>
38class ModifyRelationTypeCmd;
40class AddRelationDialog : public KDialogBase
45 AddRelationDialog(Relation *rel, TQWidget *p, TQString caption=TQString(), int buttons=Ok|Cancel, const char *n=0);
47 virtual KCommand *buildCommand(Part *part);
52 void typeClicked( int);
55 RelationPanel *m_panel;
56 TQButtonGroup *relationType;
58 DurationWidget *m_lag;
62class ModifyRelationDialog : public AddRelationDialog
67 ModifyRelationDialog(Relation *rel, TQWidget *p=0, const char *n=0);
69 virtual KCommand *buildCommand(Part *part);
70 bool relationIsDeleted() { return m_deleted; }
This class represents any node in the project, a node can be a project or a subproject or any task.
The relation class couples a 2 nodes together which are dependent on each other.
|