KDGanttViewTaskLink Class Reference
#include <KDGanttViewTaskLink.h>
Collaboration diagram for KDGanttViewTaskLink:

Detailed Description
This class represents a link between a number of Gantt chart items.It always connects source items with target items. Task links can be grouped into KDGanttViewTaskLinkGroup objects. If a Gantt view item is deleted, it is removed from the fromList or from the toList. If one of the lists becomes empty, the complete task link is deleted as well.
The task link is deleted by KDGanttViews d'tor. You may delete the task link yourself, if you do it _before_ KDGanttViews d'tor is called.
Definition at line 48 of file KDGanttViewTaskLink.h.
Constructor & Destructor Documentation
|
Creates a task link that connects all items in the source item list from to all items in the destination item list to.
Definition at line 65 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(). |
|
Creates a task link that connects all items in the source item list from to all items in the destination item list to. Inserts the link directly into a link group.
Definition at line 111 of file KDGanttViewTaskLink.cpp. References setGroup(). |
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates a task link that connects two items and inserts the link directly into a link group. Note, that the from() and to() functions are returning a list, in this case containing only one item.
Definition at line 138 of file KDGanttViewTaskLink.cpp. References setGroup(). |
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates a task link that connects two items. Note, that the from() and to() functions are returning a list, in this case containing only one item.
Definition at line 88 of file KDGanttViewTaskLink.cpp. |
Member Function Documentation
|
Returns the list of source item of this task link.
Definition at line 693 of file KDGanttViewTaskLink.cpp. Referenced by createNode(). |
|
Returns the list of target items of this task link.
Definition at line 725 of file KDGanttViewTaskLink.cpp. Referenced by createNode(). |
|
Removes a KDGanttViewItem from the lists.
Definition at line 704 of file KDGanttViewTaskLink.cpp. References setVisible(). |
|
Specifies whether this task link should be visible or not.
Definition at line 253 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(), and removeItemFromList(). |
|
Returns whether this task link should be visible or not.
Definition at line 516 of file KDGanttViewTaskLink.cpp. Referenced by createNode(). |
|
Returns the group (if any) to which this task link belongs.
Definition at line 530 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(), and createNode(). |
|
Inserts this task link in a group. If the parameter is 0, the task link is removed from any group
Definition at line 544 of file KDGanttViewTaskLink.cpp. References KDGanttViewTaskLinkGroup::insertItem(), and KDGanttViewTaskLinkGroup::removeItem(). Referenced by createFromDomElement(), KDGanttViewTaskLinkGroup::insert(), and KDGanttViewTaskLink(). |
|
Specifies whether this task link should be shown highlighted. The user can also highlight a task link with the mouse.
Definition at line 565 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(). |
|
Returns whether this task link is highlighted, either programmatically by setHighlight() or by the user with the mouse.
Definition at line 580 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(), and createNode(). |
|
Specifies the color to draw this task link in.
Definition at line 592 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(). |
|
Returns the color in which this task link is drawn.
Definition at line 606 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(), and createNode(). |
|
Specifies the highlight color to draw this task link in.
Definition at line 618 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(). |
|
Returns the highlight color in which this task link is drawn.
Definition at line 632 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(), and createNode(). |
|
Specifies the text to be shown as a tooltip for this task link.
Definition at line 644 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(). |
|
Returns the tooltip text of this task link.
Definition at line 656 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(), and createNode(). |
|
Specifies the text to be shown in a what's this window for this task link.
Definition at line 668 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(). |
|
Returns the what's this text of this task link.
Definition at line 681 of file KDGanttViewTaskLink.cpp. Referenced by createFromDomElement(), and createNode(). |
|
Creates a DOM node that describes this task link.
Definition at line 737 of file KDGanttViewTaskLink.cpp. References color(), from(), group(), highlight(), highlightColor(), isVisible(), KDGanttViewItem::name(), to(), tooltipText(), and whatsThisText(). |
|
Creates a KDGanttViewTaskLink according to the specification in a DOM element.
Definition at line 783 of file KDGanttViewTaskLink.cpp. References color(), KDGanttViewTaskLinkGroup::find(), KDGanttViewItem::find(), group(), highlight(), highlightColor(), KDGanttViewTaskLink(), setColor(), setGroup(), setHighlight(), setHighlightColor(), setLinkType(), setTooltipText(), setVisible(), setWhatsThisText(), tooltipText(), and whatsThisText(). |
The documentation for this class was generated from the following files: