Mercurial > projects > qtd
diff qt/d1/qt/core/QRectF.d @ 252:37eed70de029
More things broken than fixed. Rolling back to 263
author | maxter |
---|---|
date | Sat, 22 Aug 2009 12:50:58 +0000 |
parents | 7664de4a55e5 |
children | 34a37904ff77 |
line wrap: on
line diff
--- a/qt/d1/qt/core/QRectF.d Thu Aug 20 19:08:32 2009 +0000 +++ b/qt/d1/qt/core/QRectF.d Sat Aug 22 12:50:58 2009 +0000 @@ -18,7 +18,7 @@ rt.w = rt.h = 0.; return rt; } - + public static QRectF opCall(qreal aleft, qreal atop, qreal awidth, qreal aheight) { QRectF rt; @@ -76,28 +76,28 @@ qreal left() // const { return xp; } - + qreal top() // const { return yp; } - + qreal right() // const { return xp + w; } - + qreal bottom() // const { return yp + h; } - + QPointF topLeft() // const { return QPointF(xp, yp); } - + QPointF bottomRight() // const { return QPointF(xp+w, yp+h); } - + QPointF topRight() // const { return QPointF(xp+w, yp); } - + QPointF bottomLeft() // const { return QPointF(xp, yp+h); } - + void setLeft(qreal pos) { qreal diff = pos - xp; xp += diff; w -= diff; } void setRight(qreal pos) { w = pos - xp; } @@ -235,7 +235,7 @@ w = s.width(); h = s.height(); } - + bool contains(qreal ax, qreal ay) // conts { return contains(QPointF(ax, ay)); @@ -295,11 +295,11 @@ } public final void writeTo(QDataStream arg__1) { - qtd_QRectF_writeTo_QDataStream(this, arg__1 is null ? null : arg__1.__nativeId); + qtd_QRectF_writeTo_QDataStream(this, arg__1 is null ? null : arg__1.nativeId); } public final void readFrom(QDataStream arg__1) { - qtd_QRectF_readFrom_QDataStream(this, arg__1 is null ? null : arg__1.__nativeId); + qtd_QRectF_readFrom_QDataStream(this, arg__1 is null ? null : arg__1.nativeId); } public final QRectF opOr(in QRectF r) {