Mercurial > projects > qtd
comparison d2/qt/core/QLine.d @ 372:a032df77b6ab
Simple debug helper. Unittests. Meta-object for polymorphic non-QObjects
author | Max Samukha <maxter@spambox.com> |
---|---|
date | Thu, 08 Jul 2010 17:19:05 +0300 |
parents | 96a75b1e5b26 |
children |
comparison
equal
deleted
inserted
replaced
370:7fd4b69378bf | 372:a032df77b6ab |
---|---|
127 { | 127 { |
128 return pt1 == d.pt1 && pt2 == d.pt2; | 128 return pt1 == d.pt1 && pt2 == d.pt2; |
129 } | 129 } |
130 | 130 |
131 public final void writeTo(QDataStream arg__1) { | 131 public final void writeTo(QDataStream arg__1) { |
132 qtd_QLine_writeTo_QDataStream(&this, arg__1 is null ? null : arg__1.__nativeId); | 132 qtd_QLine_writeTo_QDataStream(&this, arg__1 is null ? null : arg__1.qtdNativeId); |
133 } | 133 } |
134 | 134 |
135 public final void readFrom(QDataStream arg__1) { | 135 public final void readFrom(QDataStream arg__1) { |
136 qtd_QLine_readFrom_QDataStream(&this, arg__1 is null ? null : arg__1.__nativeId); | 136 qtd_QLine_readFrom_QDataStream(&this, arg__1 is null ? null : arg__1.qtdNativeId); |
137 } | 137 } |
138 | 138 |
139 // service stuff | 139 // service stuff |
140 public alias void __isNativeValueType; | 140 public alias void __isNativeValueType; |
141 | 141 |
142 struct QTypeInfo | 142 struct QTypeInfo |
143 { | 143 { |
345 public final double length() { | 345 public final double length() { |
346 return qtd_QLineF_length(&this); | 346 return qtd_QLineF_length(&this); |
347 } | 347 } |
348 | 348 |
349 public final void writeTo(QDataStream arg__1) { | 349 public final void writeTo(QDataStream arg__1) { |
350 qtd_QLineF_writeTo_QDataStream(&this, arg__1 is null ? null : arg__1.__nativeId); | 350 qtd_QLineF_writeTo_QDataStream(&this, arg__1 is null ? null : arg__1.qtdNativeId); |
351 } | 351 } |
352 | 352 |
353 public final void readFrom(QDataStream arg__1) { | 353 public final void readFrom(QDataStream arg__1) { |
354 qtd_QLineF_readFrom_QDataStream(&this, arg__1 is null ? null : arg__1.__nativeId); | 354 qtd_QLineF_readFrom_QDataStream(&this, arg__1 is null ? null : arg__1.qtdNativeId); |
355 } | 355 } |
356 | 356 |
357 public final void setAngle(double angle) { | 357 public final void setAngle(double angle) { |
358 qtd_QLineF_setAngle_double(&this, angle); | 358 qtd_QLineF_setAngle_double(&this, angle); |
359 } | 359 } |