Mercurial > projects > qtd
diff qt/core/QString.d @ 56:d5a6b6269f44
duic is working now on the first testcase, if there are any issues with it please report
author | eldar |
---|---|
date | Mon, 18 May 2009 22:15:59 +0000 |
parents | cf8a415f3f32 |
children | 7dd099050621 |
line wrap: on
line diff
--- a/qt/core/QString.d Mon May 18 19:03:06 2009 +0000 +++ b/qt/core/QString.d Mon May 18 22:15:59 2009 +0000 @@ -1,5 +1,7 @@ module qt.core.QString; +import qt.QGlobal; + version (Tango) { import tango.text.convert.Utf : toString; @@ -32,6 +34,10 @@ public void assign(char[] text) { __qtd_QString_operatorAssign(native_id, text.ptr, text.length); } + + public static string fromUtf8(string source) { + return source; + } } private extern (C) wchar* __qtd_QString_utf16(void* __this_nativeId);