Logo Search packages:      
Sourcecode: kdepim version File versions

bool KDGanttView::shapes ( KDGanttViewItem::Type  type,
KDGanttViewItem::Shape start,
KDGanttViewItem::Shape middle,
KDGanttViewItem::Shape end 
) const

Queries the shapes for a particular type of Gantt item.

type the type of Gantt items for which to query the shapes
start the start shape is returned in this parameter
middle the middle shape is returned in this parameter
end the end shape is returned in this parameter
true if there was a general shape set for the specified type. If the return value is false, the values of the three shape parameters are undefined.
See also:

Definition at line 1345 of file KDGanttView.cpp.

Referenced by saveXML().

    int index = getIndex( type );
    start = myDefaultShape [index*3];
    middle = myDefaultShape [index*3+1];
    end = myDefaultShape [index*3+2];
    return !undefinedShape[index];

Generated by  Doxygen 1.6.0   Back to index