Mercurial > projects > qtd
comparison generator/typesystem_core-java.java @ 402:e67ce7c21758
gdc & 64 bit changes
author | Eldar Insafutdinov |
---|---|
date | Thu, 17 Mar 2011 19:45:42 +0000 |
parents | a032df77b6ab |
children | 9d6e4703a458 |
comparison
equal
deleted
inserted
replaced
395:d757b8b1ca75 | 402:e67ce7c21758 |
---|---|
207 this(string[] args) | 207 this(string[] args) |
208 { | 208 { |
209 // if (m_instance != null) | 209 // if (m_instance != null) |
210 // throw new RuntimeException("QCoreApplication can only be initialized once"); | 210 // throw new RuntimeException("QCoreApplication can only be initialized once"); |
211 | 211 |
212 argc = args.length; | 212 argc = cast(int) args.length; |
213 argv = toStringzArray(args); | 213 argv = toStringzArray(args); |
214 this(&argc, argv); | 214 this(&argc, argv); |
215 | 215 |
216 // m_instance.aboutToQuit.connect(m_instance, "disposeOfMyself()"); | 216 // m_instance.aboutToQuit.connect(m_instance, "disposeOfMyself()"); |
217 } | 217 } |
233 */ | 233 */ |
234 }// class | 234 }// class |
235 | 235 |
236 class QTranslator___ extends QTranslator { | 236 class QTranslator___ extends QTranslator { |
237 public final bool load(ubyte[] data) { | 237 public final bool load(ubyte[] data) { |
238 return load(data.ptr, data.length); | 238 return load(data.ptr, cast(int)data.length); |
239 } | 239 } |
240 }// class | 240 }// class |
241 | 241 |
242 class QProcess___ extends QProcess { | 242 class QProcess___ extends QProcess { |
243 | 243 |
588 setBuffer_private(byteArray); | 588 setBuffer_private(byteArray); |
589 strongDataReference = byteArray; | 589 strongDataReference = byteArray; |
590 } | 590 } |
591 | 591 |
592 public final void setData(byte data[]) { | 592 public final void setData(byte data[]) { |
593 setData(cast(char*)data.ptr, data.length); | 593 setData(cast(char*)data.ptr, cast(int)data.length); |
594 } | 594 } |
595 | 595 |
596 }// class | 596 }// class |
597 | 597 |
598 class QSignalMapper___ extends QSignalMapper { | 598 class QSignalMapper___ extends QSignalMapper { |