Mercurial > projects > qtd
comparison generator/typesystem_core-java.java @ 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 | e78566595089 |
children | ba63040afbf2 |
comparison
equal
deleted
inserted
replaced
55:63c31e221118 | 56:d5a6b6269f44 |
---|---|
125 // m_instance.aboutToQuit.connect(m_instance, "disposeOfMyself()"); | 125 // m_instance.aboutToQuit.connect(m_instance, "disposeOfMyself()"); |
126 } | 126 } |
127 | 127 |
128 private int argc; | 128 private int argc; |
129 private char **argv; | 129 private char **argv; |
130 /* | |
131 public static string translate(string context, string key, string disambiguation, QCoreApplication_Encoding encoding) { | |
132 string res; | |
133 qtd_QCoreApplication_translate_nativepointerchar_nativepointerchar_nativepointerchar_Encoding(&res, toStringz(context), toStringz(key), toStringz(disambiguation), encoding); | |
134 return res; | |
135 } | |
136 | |
137 public static string translate(string context, string key, string disambiguation, QCoreApplication_Encoding encoding, int n) { | |
138 string res; | |
139 qtd_QCoreApplication_translate_nativepointerchar_nativepointerchar_nativepointerchar_Encoding_int(&res, toStringz(context), toStringz(key), toStringz(disambiguation), encoding, n); | |
140 return res; | |
141 } | |
142 */ | |
130 }// class | 143 }// class |
131 | 144 |
132 class QTranslator___ extends QTranslator { | 145 class QTranslator___ extends QTranslator { |
133 public final bool load(ubyte[] data) { | 146 public final bool load(ubyte[] data) { |
134 return load(data.ptr, data.length); | 147 return load(data.ptr, data.length); |