Mercurial > projects > qtd
comparison qt/core/QTypeInfo.d @ 294:bb37b0ed94c9 signals
some more QList
author | eldar |
---|---|
date | Fri, 13 Nov 2009 20:42:51 +0000 |
parents | 19498f420252 |
children | 463563fc9e17 |
comparison
equal
deleted
inserted
replaced
293:8627891e4556 | 294:bb37b0ed94c9 |
---|---|
11 import qt.qtd.MetaMarshall; | 11 import qt.qtd.MetaMarshall; |
12 | 12 |
13 bool qIsDetached(T)(ref T) { return true; } | 13 bool qIsDetached(T)(ref T) { return true; } |
14 | 14 |
15 template QTypeInfo(T) | 15 template QTypeInfo(T) |
16 if ( !(isQObjectType!T || isObjectType!T) ) | |
17 { | 16 { |
18 public: | 17 public: |
19 enum { | 18 enum { |
20 isPointer = isPointer!T, | 19 isPointer = isPointer!T, |
21 isComplex = !isPointer, | 20 isComplex = !isPointer, |