Mercurial > projects > qtd
comparison examples/tutorials/tutorial/t1/main.d @ 190:a1b48a630f73
D2 support, simple stuff works now
author | eldar |
---|---|
date | Sun, 12 Jul 2009 20:51:37 +0000 |
parents | e78566595089 |
children | a032df77b6ab |
comparison
equal
deleted
inserted
replaced
189:37b419197d4b | 190:a1b48a630f73 |
---|---|
36 ****************************************************************************/ | 36 ****************************************************************************/ |
37 | 37 |
38 import qt.gui.QApplication; | 38 import qt.gui.QApplication; |
39 import qt.gui.QPushButton; | 39 import qt.gui.QPushButton; |
40 | 40 |
41 int main(char[][] args) | 41 int main(string[] args) |
42 { | 42 { |
43 QApplication app = new QApplication(args); | 43 QApplication app = new QApplication(args); |
44 QPushButton hello = new QPushButton("Hello world!"); | 44 QPushButton hello = new QPushButton("Hello world!"); |
45 hello.show(); | 45 hello.show(); |
46 return app.exec(); | 46 return app.exec(); |