diff generator/abstractmetalang.h @ 298:adae77fdc1ea signals

Native QList implementation is now used throughout QtD
author eldar
date Sun, 06 Dec 2009 17:26:37 +0000
parents 8627891e4556
children 04b52676b45f
line wrap: on
line diff
--- a/generator/abstractmetalang.h	Sun Nov 22 22:18:06 2009 +0000
+++ b/generator/abstractmetalang.h	Sun Dec 06 17:26:37 2009 +0000
@@ -970,4 +970,12 @@
                           | NotRemovedFromTargetLang);
 }
 
+inline bool isNativeContainer(AbstractMetaType *argumentType)
+{
+    if (argumentType && argumentType->isContainer())
+        if (((const ContainerTypeEntry *)argumentType->typeEntry())->isQList())
+            return true;
+    return false;
+}
+
 #endif // ABSTRACTMETALANG_H