Mercurial > projects > qtd
diff examples/draganddrop/dropsite/dropsitewindow.d @ 204:6aeaf24018d7
more D2 examples fixes
author | eldar |
---|---|
date | Mon, 13 Jul 2009 23:16:08 +0000 |
parents | 79d648fdee0f |
children | aeeaae4dd540 |
line wrap: on
line diff
--- a/examples/draganddrop/dropsite/dropsitewindow.d Mon Jul 13 17:27:34 2009 +0000 +++ b/examples/draganddrop/dropsite/dropsitewindow.d Mon Jul 13 23:16:08 2009 +0000 @@ -41,9 +41,13 @@ module dropsitewindow; -import tango.text.Util; -import tango.text.Ascii; -import tango.text.convert.Format; +version(Tango) { + import tango.text.Util; + import tango.text.Ascii; + import tango.text.convert.Format: format = Format; +} else { + import std.string; +} import qt.gui.QWidget; import qt.gui.QLabel;