Mercurial > projects > qtd
comparison d2/qtd/MOC.d @ 367:f69341b40588
Removed dependencies on qtd.Traits
author | Max Samukha <maxter@spambox.com> |
---|---|
date | Thu, 24 Jun 2010 13:47:30 +0300 |
parents | 958e8b9a89bd |
children | 185df9220ea7 |
comparison
equal
deleted
inserted
replaced
366:da4235301224 | 367:f69341b40588 |
---|---|
488 return gen.output; | 488 return gen.output; |
489 } | 489 } |
490 | 490 |
491 mixin template Q_OBJECT() | 491 mixin template Q_OBJECT() |
492 { | 492 { |
493 import std.typetuple; | 493 import |
494 import qtd.Marshal; | 494 std.typetuple, |
495 import std.stdio; | 495 std.traits, |
496 import qt.core.QString; // for QStringUtil.toNative | 496 qtd.Marshal, |
497 qt.core.QString; // for QStringUtil.toNative | |
497 | 498 |
498 public: // required to override the outside scope protection. | 499 public: // required to override the outside scope protection. |
499 | 500 |
500 alias typeof(this) This; | 501 alias typeof(this) This; |
501 | 502 |