KDE PIM / Developers / API Docs / kgantt

KGanttRelation Class Reference

KGanttRelation. More...

#include <KGanttRelation.h>

Inherits QObject.

List of all members.

Public Types

Public Slots

Signals

Public Member Functions

Protected Member Functions

Friends


Detailed Description

KGanttRelation.

This class describes a item. It contains dates on which the item starts and ends. It also contains attributes that gouverns the graphical representation in a gantt diagramm.


Member Enumeration Documentation

enum KGanttRelation::Change
 

Enumerator:
Selected  Item has been selected.
Unselected  Item has been unselected.

Constructor & Destructor Documentation

KGanttRelation::~KGanttRelation  ) 
 

Destructor.

KGanttRelation::KGanttRelation KGanttItem from,
KGanttItem to,
const QString &  text
[protected]
 

Constructor.


Member Function Documentation

void KGanttRelation::select bool  f  ) 
 

Select/unselect item.

void KGanttRelation::setEditable bool  f  )  [inline]
 

Set item editable or not.

If item is not editable these methods have no effect : setStart(), setEnd(), setText(), select(), setMode(), setStyle(), setHeight(),

bool KGanttRelation::isEditable  )  [inline]
 

Returns if item is editable.

See also setEditable().

QPen& KGanttRelation::getSelectPen  )  [inline]
 

Get brush which has to be used for drawing this item as selected.

void KGanttRelation::setPen const QPen &  pen  ) 
 

Set pen for border.

void KGanttRelation::setText const QString &  text  ) 
 

Set text.

QString KGanttRelation::getText  )  [inline]
 

Get text.

KGanttItem * KGanttRelation::getFrom  ) 
 

Get date of starting.

If mode == ´Rubberband´ and this item contains subitems, start of the item is determined by the start of the earliest subitem.

KGanttItem * KGanttRelation::getTo  ) 
 

Get date of ending.

void KGanttRelation::dump QTextOStream &  cout,
const QString &  pre
 

Dump to cout.

void KGanttRelation::changed KGanttRelation ,
KGanttRelation::Change 
[signal]
 

Item has changed.

This signal is emitted if any of the items properties have been changed.

void KGanttRelation::destroyed KGanttRelation  )  [signal]
 

Item will be deleted.

This signal will be emitted immediately before the object will be deleted.


The documentation for this class was generated from the following files: