Mercurial > projects > qtd
comparison qt/d2/qt/core/QRectF.d @ 325:b460cd08041f signals
dmd 2.037 opEquals bug-feature
author | eldar1@eldar1-laptop |
---|---|
date | Wed, 30 Dec 2009 11:25:07 +0000 |
parents | 463563fc9e17 |
children |
comparison
equal
deleted
inserted
replaced
324:0cc996b7a601 | 325:b460cd08041f |
---|---|
252 QRectF united(ref QRectF r) const | 252 QRectF united(ref QRectF r) const |
253 { | 253 { |
254 return this | r; | 254 return this | r; |
255 } | 255 } |
256 | 256 |
257 bool opEquals(ref QRectF r) | 257 bool opEquals(ref const QRectF r) const |
258 { | 258 { |
259 return qFuzzyCompare(xp, r.xp) && qFuzzyCompare(yp, r.yp) | 259 return qFuzzyCompare(xp, r.xp) && qFuzzyCompare(yp, r.yp) |
260 && qFuzzyCompare(w, r.w) && qFuzzyCompare(h, r.h); | 260 && qFuzzyCompare(w, r.w) && qFuzzyCompare(h, r.h); |
261 } | 261 } |
262 | 262 |