Mercurial > projects > qtd
diff examples/tutorials/tutorial/t3/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/t3/main.d Sun Dec 27 21:13:38 2009 +0500 +++ b/examples/tutorials/tutorial/t3/main.d Mon Dec 28 16:28:55 2009 +0500 @@ -51,7 +51,7 @@ quit.setFont(new QFont("Times", 18, QFont.Light)); quit.setGeometry(10, 40, 180, 40); - QObject.connect!("clicked")(quit, &QApplication.quit); + QObject.connect(quit, "clicked", app, "quit"); window.show(); return app.exec();