Mercurial > projects > qtd
comparison qt/qtd/MOC.d @ 302:55ee4603365d signals
string arguments for signals
author | eldar_ins@eldar-laptop |
---|---|
date | Sat, 12 Dec 2009 03:22:54 +0500 |
parents | 8627891e4556 |
children | 894d40eb89b6 |
comparison
equal
deleted
inserted
replaced
301:4d8481385c71 | 302:55ee4603365d |
---|---|
4 | 4 |
5 import std.typetuple; | 5 import std.typetuple; |
6 | 6 |
7 import qt.Signal; | 7 import qt.Signal; |
8 import qt.qtd.MetaMarshall; | 8 import qt.qtd.MetaMarshall; |
9 public import qt.core.QString; | |
9 | 10 |
10 public import std.traits; | 11 public import std.traits; |
11 /** | 12 /** |
12 Utils. | 13 Utils. |
13 */ | 14 */ |
527 // pragma(msg, toStringNow!(lastSignalIndex!(typeof(this)))); | 528 // pragma(msg, toStringNow!(lastSignalIndex!(typeof(this)))); |
528 mixin ("enum lastSignalIndex_" ~ typeof(this).stringof ~ " = " ~ toStringNow!(lastSignalIndex!(typeof(this))) ~ ";"); | 529 mixin ("enum lastSignalIndex_" ~ typeof(this).stringof ~ " = " ~ toStringNow!(lastSignalIndex!(typeof(this))) ~ ";"); |
529 | 530 |
530 alias TupleWrapper!(findSymbols!(slotPrefix, typeof(this), ByOwner!(typeof(this)))) Slots; | 531 alias TupleWrapper!(findSymbols!(slotPrefix, typeof(this), ByOwner!(typeof(this)))) Slots; |
531 alias TupleWrapper!(findSymbols!(signalPrefix, typeof(this), ByOwner!(typeof(this)))) Signals; | 532 alias TupleWrapper!(findSymbols!(signalPrefix, typeof(this), ByOwner!(typeof(this)))) Signals; |
532 // pragma(msg, generateMetaInfo!((typeof(this)).stringof, Signals, Slots)()); | 533 pragma(msg, generateMetaInfo!((typeof(this)).stringof, Signals, Slots)()); |
533 mixin(generateMetaInfo!((typeof(this)).stringof, Signals, Slots)()); | 534 mixin(generateMetaInfo!((typeof(this)).stringof, Signals, Slots)()); |
534 } | 535 } |