diff examples/itemviews/customsortfiltermodel/window.d @ 213:26036621830e

more D2 examples fixes
author SokoL_SD
date Tue, 14 Jul 2009 13:22:48 +0000
parents 7c3067c2b803
children 256ab6cb8e85
line wrap: on
line diff
--- a/examples/itemviews/customsortfiltermodel/window.d	Tue Jul 14 13:05:55 2009 +0000
+++ b/examples/itemviews/customsortfiltermodel/window.d	Tue Jul 14 13:22:48 2009 +0000
@@ -54,8 +54,10 @@
 import qt.gui.QVBoxLayout;
 import qt.gui.QGridLayout;
 
-import mysortfilterproxymodel;
-
+version(D_Version2)
+    import mysortfilterproxymodel;
+else
+    import mysortfilterproxymodel_d1;
 
 class Window : public QWidget
 {