Mercurial > projects > qtd
diff mini/test1/main.d @ 270:49bfc86ff583
true emit of Qt signals.
author | eldar |
---|---|
date | Thu, 24 Sep 2009 12:59:48 +0000 |
parents | 7dd099050621 |
children | beaf4a2974d7 |
line wrap: on
line diff
--- a/mini/test1/main.d Sun Sep 20 10:23:48 2009 +0000 +++ b/mini/test1/main.d Thu Sep 24 12:59:48 2009 +0000 @@ -1,6 +1,6 @@ import qt.core.QCoreApplication; -version(Tango) {} else { import std.stdio; } +version(Tango) { import tango.io.Stdout; } else { import std.stdio; } int main(string[] args) { @@ -16,14 +16,15 @@ child3.setObjectName("child3"); auto cd = parent.children; - - writeln(app.arguments); + Stdout(parent.children.length).newline; + + Stdout(app.arguments).newline; foreach(child; cd) - writeln(child.objectName); + Stdout(child.objectName).newline; app.setLibraryPaths(["freakin", "bloody", "awesome!"]); - writeln(app.libraryPaths); + Stdout(app.libraryPaths).newline; return 5; // return app.exec();