diff demos/interview/main.d @ 372:a032df77b6ab

Simple debug helper. Unittests. Meta-object for polymorphic non-QObjects
author Max Samukha <maxter@spambox.com>
date Thu, 08 Jul 2010 17:19:05 +0300
parents 3f024154460c
children 681af90e1d53
line wrap: on
line diff
--- a/demos/interview/main.d	Sun Jul 04 14:17:49 2010 +0100
+++ b/demos/interview/main.d	Thu Jul 08 17:19:05 2010 +0300
@@ -34,10 +34,7 @@
 ** contact the sales department at qt-sales@nokia.com.
 **
 ****************************************************************************/
-version(D_Version2)
-    import model;
-else
-    import model_d1;
+import model;
 
 import qt.gui.QApplication;
 import qt.gui.QItemSelectionModel;
@@ -49,10 +46,14 @@
 import qt.gui.QListView;
 import qt.gui.QIcon;
 import qt.gui.QPixmap;
+import std.stdio;
 
 int main(string[] args)
-{
+{    
+    writeln("Interview");
+        
     scope app = new QApplication(args);
+    
     scope page = new QSplitter;
 
     scope data = new Model(1000, 10); //parent = page