Mercurial > projects > qtd
changeset 208:be08f1b4ba39
--
author | SokoL_SD |
---|---|
date | Tue, 14 Jul 2009 09:34:48 +0000 |
parents | 71101646ab25 |
children | 3f024154460c |
files | examples/tutorials/tutorial/t2/main.d examples/tutorials/tutorial/t4/main.d examples/tutorials/tutorial/t5/main.d |
diffstat | 3 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/tutorials/tutorial/t2/main.d Tue Jul 14 09:25:04 2009 +0000 +++ b/examples/tutorials/tutorial/t2/main.d Tue Jul 14 09:34:48 2009 +0000 @@ -40,7 +40,7 @@ import qt.gui.QPushButton; -int main(char[][] args) +int main(string[] args) { auto app = new QApplication(args); auto quit = new QPushButton("Quit");
--- a/examples/tutorials/tutorial/t4/main.d Tue Jul 14 09:25:04 2009 +0000 +++ b/examples/tutorials/tutorial/t4/main.d Tue Jul 14 09:34:48 2009 +0000 @@ -54,10 +54,9 @@ quit.clicked.connect(&QApplication.quit); } } -import tango.io.Stdout; -int main(char[][] args) + +int main(string[] args) { - Stdout("hi!").newline; auto app = new QApplication(args); auto widget = new MyWidget; widget.show();