Mercurial > projects > qtd
diff demos/interview/main.d @ 190:a1b48a630f73
D2 support, simple stuff works now
author | eldar |
---|---|
date | Sun, 12 Jul 2009 20:51:37 +0000 |
parents | a2871e6b8b15 |
children | 3f024154460c |
line wrap: on
line diff
--- a/demos/interview/main.d Sun Jul 12 19:45:29 2009 +0000 +++ b/demos/interview/main.d Sun Jul 12 20:51:37 2009 +0000 @@ -34,8 +34,10 @@ ** contact the sales department at qt-sales@nokia.com. ** ****************************************************************************/ - -import model; +version(D_Version2) + import model_d2; +else + import model; import qt.gui.QApplication; import qt.gui.QItemSelectionModel; @@ -48,7 +50,7 @@ import qt.gui.QIcon; import qt.gui.QPixmap; -int main(char[][] args) +int main(string[] args) { scope app = new QApplication(args); scope page = new QSplitter;