Mercurial > projects > qtd
comparison qt/d2/qt/core/QRect.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 |
comparison
equal
deleted
inserted
replaced
251:739d0ee5bd91 | 252:37eed70de029 |
---|---|
304 { | 304 { |
305 return x1==r.x1 && x2==r.x2 && y1==r.y1 && y2==r.y2; | 305 return x1==r.x1 && x2==r.x2 && y1==r.y1 && y2==r.y2; |
306 } | 306 } |
307 | 307 |
308 public final void writeTo(QDataStream arg__1) { | 308 public final void writeTo(QDataStream arg__1) { |
309 qtd_QRect_writeTo_QDataStream(&this, arg__1 is null ? null : arg__1.__nativeId); | 309 qtd_QRect_writeTo_QDataStream(&this, arg__1 is null ? null : arg__1.nativeId); |
310 } | 310 } |
311 | 311 |
312 public final void readFrom(QDataStream arg__1) { | 312 public final void readFrom(QDataStream arg__1) { |
313 qtd_QRect_readFrom_QDataStream(&this, arg__1 is null ? null : arg__1.__nativeId); | 313 qtd_QRect_readFrom_QDataStream(&this, arg__1 is null ? null : arg__1.nativeId); |
314 } | 314 } |
315 | 315 |
316 public final QRect opAnd(const QRect r) const { | 316 public final QRect opAnd(const QRect r) const { |
317 return qtd_QRect_operator_and_QRect(&this, &r); | 317 return qtd_QRect_operator_and_QRect(&this, &r); |
318 } | 318 } |
326 } | 326 } |
327 | 327 |
328 public final bool contains(const QRect r, bool proper = false) const { | 328 public final bool contains(const QRect r, bool proper = false) const { |
329 return qtd_QRect_contains_QRect_bool(&this, &r, proper); | 329 return qtd_QRect_contains_QRect_bool(&this, &r, proper); |
330 } | 330 } |
331 | 331 |
332 public final bool intersects(const QRect r) const { | 332 public final bool intersects(const QRect r) const { |
333 return qtd_QRect_intersects_QRect(&this, &r); | 333 return qtd_QRect_intersects_QRect(&this, &r); |
334 } | 334 } |
335 | 335 |
336 public final QRect normalized() const { | 336 public final QRect normalized() const { |
337 return qtd_QRect_normalized(&this); | 337 return qtd_QRect_normalized(&this); |
338 } | 338 } |
339 | 339 |
340 private: | 340 private: |
341 version(OSX) | 341 version(OSX) |
342 { | 342 { |
343 int y1; | 343 int y1; |
344 int x1; | 344 int x1; |