Mercurial > projects > qtd
comparison examples/tutorials/tutorial/t4/main.d @ 208:be08f1b4ba39
--
author | SokoL_SD |
---|---|
date | Tue, 14 Jul 2009 09:34:48 +0000 |
parents | e78566595089 |
children | 256ab6cb8e85 |
comparison
equal
deleted
inserted
replaced
207:71101646ab25 | 208:be08f1b4ba39 |
---|---|
52 quit.setGeometry(62, 40, 75, 30); | 52 quit.setGeometry(62, 40, 75, 30); |
53 quit.setFont(new QFont("Times", 18, QFont.Bold)); | 53 quit.setFont(new QFont("Times", 18, QFont.Bold)); |
54 quit.clicked.connect(&QApplication.quit); | 54 quit.clicked.connect(&QApplication.quit); |
55 } | 55 } |
56 } | 56 } |
57 import tango.io.Stdout; | 57 |
58 int main(char[][] args) | 58 int main(string[] args) |
59 { | 59 { |
60 Stdout("hi!").newline; | |
61 auto app = new QApplication(args); | 60 auto app = new QApplication(args); |
62 auto widget = new MyWidget; | 61 auto widget = new MyWidget; |
63 widget.show(); | 62 widget.show(); |
64 return app.exec(); | 63 return app.exec(); |
65 } | 64 } |