Mercurial > projects > qtd
diff mini/test1/main.d @ 188:7dd099050621
initial commit for D2 support
author | eldar |
---|---|
date | Sun, 12 Jul 2009 18:58:03 +0000 |
parents | e78566595089 |
children | 17b5e13364b7 49bfc86ff583 |
line wrap: on
line diff
--- a/mini/test1/main.d Sat Jul 11 11:17:44 2009 +0000 +++ b/mini/test1/main.d Sun Jul 12 18:58:03 2009 +0000 @@ -1,6 +1,6 @@ import qt.core.QCoreApplication; -import tango.io.Stdout; +version(Tango) {} else { import std.stdio; } int main(string[] args) { @@ -16,13 +16,14 @@ child3.setObjectName("child3"); auto cd = parent.children; - - Stdout(app.arguments).newline; + + writeln(app.arguments); foreach(child; cd) - Stdout(child.objectName).newline; + writeln(child.objectName); app.setLibraryPaths(["freakin", "bloody", "awesome!"]); - Stdout(app.libraryPaths).newline; + + writeln(app.libraryPaths); return 5; // return app.exec();