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

void QRectF::moveTo ( qreal  x,
qreal  y 
) [inline]

Moves the rectangle, leaving the top-left corner at the given position (x, y). The rectangle's size is unchanged.

See also:
translate(), moveTopLeft()

Definition at line 729 of file qrect.h.

{
    xp = ax;
    yp = ay;
}


Generated by  Doxygen 1.6.0   Back to index