Mercurial > projects > qtd
diff examples/tutorials/tutorial/t2/main.d @ 323:7a3c43424dca signals
make all examples compile with new signals/slots
author | eldar_ins@eldar-laptop |
---|---|
date | Mon, 28 Dec 2009 16:28:55 +0500 |
parents | 256ab6cb8e85 |
children |
line wrap: on
line diff
--- a/examples/tutorials/tutorial/t2/main.d Sun Dec 27 21:13:38 2009 +0500 +++ b/examples/tutorials/tutorial/t2/main.d Mon Dec 28 16:28:55 2009 +0500 @@ -47,7 +47,7 @@ quit.resize(75, 30); quit.setFont(new QFont("Times", 18, QFont.Bold)); - QObject.connect!("clicked")(quit, &QApplication.quit); + QObject.connect(quit, "clicked", app, "quit"); quit.show(); return app.exec();