diff demos/interview/model.d @ 190:a1b48a630f73

D2 support, simple stuff works now
author eldar
date Sun, 12 Jul 2009 20:51:37 +0000
parents 7be693ea7070
children 4536633518e1
line wrap: on
line diff
--- a/demos/interview/model.d	Sun Jul 12 19:45:29 2009 +0000
+++ b/demos/interview/model.d	Sun Jul 12 20:51:37 2009 +0000
@@ -48,18 +48,17 @@
 import tango.core.Array;
 import Integer = tango.text.convert.Integer;
 
-import tango.io.Stdout;
-
-    class Node
+    
+class Node
+{
+    this(Node parent_ = null)
     {
-        this(Node parent_ = null)
-        {
-            parent = parent_;
-        }
+        parent = parent_;
+    }
         
-        Node parent;
-        Node[] children;
-    }
+    Node parent;
+    Node[] children;
+}
     
 class Model : QAbstractItemModel
 {