Mercurial > projects > qtd
diff qt/qtd/MetaMarshall.d @ 293:8627891e4556 signals
QList updates
author | eldar |
---|---|
date | Fri, 13 Nov 2009 19:09:28 +0000 |
parents | 19498f420252 |
children | 55ee4603365d |
line wrap: on
line diff
--- a/qt/qtd/MetaMarshall.d Tue Nov 10 19:29:42 2009 +0000 +++ b/qt/qtd/MetaMarshall.d Fri Nov 13 19:09:28 2009 +0000 @@ -7,14 +7,14 @@ enum isQObjectType = is(T.__isQObjectType); } -template isObjectType(T) // is a QObject type that belongs to the library +template isObjectType(T) // is a Qt Object type that belongs to the library { enum isObjectType = is(T.__isObjectType); } -template isValueType(T) // is a QObject type that belongs to the library +template isValueType(T) // is a Qt Value type that belongs to the library { - enum isQObjectType = is(typeof(mixin("T." ~ "__isValueType"))); + enum isValueType = is(T.__isValueType); } template isNativeType(T) // type that doesn't require conversion i.e. is the same in C++ and D