Mercurial > projects > qtd
comparison d2/qt/core/QPoint.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 | 1f189d0ceab4 |
comparison
equal
deleted
inserted
replaced
370:7fd4b69378bf | 372:a032df77b6ab |
---|---|
84 { | 84 { |
85 return QPoint(qRound(this.xp/c), qRound(this.yp/c)); | 85 return QPoint(qRound(this.xp/c), qRound(this.yp/c)); |
86 } | 86 } |
87 | 87 |
88 public final void writeTo(QDataStream arg__1) { | 88 public final void writeTo(QDataStream arg__1) { |
89 qtd_QPoint_writeTo_QDataStream(&this, arg__1 is null ? null : arg__1.__nativeId); | 89 qtd_QPoint_writeTo_QDataStream(&this, arg__1 is null ? null : arg__1.qtdNativeId); |
90 } | 90 } |
91 | 91 |
92 public final void readFrom(QDataStream arg__1) { | 92 public final void readFrom(QDataStream arg__1) { |
93 qtd_QPoint_readFrom_QDataStream(&this, arg__1 is null ? null : arg__1.__nativeId); | 93 qtd_QPoint_readFrom_QDataStream(&this, arg__1 is null ? null : arg__1.qtdNativeId); |
94 } | 94 } |
95 | 95 |
96 // service stuff | 96 // service stuff |
97 public alias void __isNativeValueType; | 97 public alias void __isNativeValueType; |
98 | 98 |
99 struct QTypeInfo | 99 struct QTypeInfo |
100 { | 100 { |
212 { | 212 { |
213 return QPoint(qRound(xp), qRound(yp)); | 213 return QPoint(qRound(xp), qRound(yp)); |
214 } | 214 } |
215 | 215 |
216 public final void writeTo(QDataStream arg__1) { | 216 public final void writeTo(QDataStream arg__1) { |
217 qtd_QPointF_writeTo_QDataStream(&this, arg__1 is null ? null : arg__1.__nativeId); | 217 qtd_QPointF_writeTo_QDataStream(&this, arg__1 is null ? null : arg__1.qtdNativeId); |
218 } | 218 } |
219 | 219 |
220 public final void readFrom(QDataStream arg__1) { | 220 public final void readFrom(QDataStream arg__1) { |
221 qtd_QPointF_readFrom_QDataStream(&this, arg__1 is null ? null : arg__1.__nativeId); | 221 qtd_QPointF_readFrom_QDataStream(&this, arg__1 is null ? null : arg__1.qtdNativeId); |
222 } | 222 } |
223 | 223 |
224 // service stuff | 224 // service stuff |
225 public alias void __isNativeValueType; | 225 public alias void __isNativeValueType; |
226 | 226 |