Mercurial > projects > qtd
diff mini/test1/main.d @ 368:185df9220ea7
Fixed startsWith. Implemented meta-object members as ranges. Freed QMetaObject from stuff that belongs to MetaClass
author | Max Samukha <maxter@maxter.com> |
---|---|
date | Mon, 28 Jun 2010 21:29:32 +0300 |
parents | bcbfffef4f9e |
children | a032df77b6ab |
line wrap: on
line diff
--- a/mini/test1/main.d Thu Jun 24 13:47:30 2010 +0300 +++ b/mini/test1/main.d Mon Jun 28 21:29:32 2010 +0300 @@ -3,28 +3,13 @@ import std.stdio; import std.conv; import qtd.QtdObject; - -class A -{ - string name; - - this(A copy) - { - writeln("Creating new from ", copy.name); - name = "Copy of " ~ copy.name; - } - - this(string name) - { - this.name = name; - } - - void dispose() - { - writeln("Disposing ", name); - } -} +//import qt.gui.QApplication; void main(string[] args) { + /+ + writeln("Application"); + scope app = new QApplication(args); + app.exec(); + +/ }