Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QLineF line (  )  const

Returns the item's line, or a null line if no line has been set.

See also:
setLine()

Definition at line 5960 of file qgraphicsitem.cpp.

Referenced by Arrow::boundingRect(), DiagramScene::mouseMoveEvent(), DiagramScene::mouseReleaseEvent(), Arrow::paint(), and Arrow::updatePosition().

{
    Q_D(const QGraphicsLineItem);
    return d->line;
}


Generated by  Doxygen 1.6.0   Back to index