# HG changeset patch # User SokoL_SD # Date 1246536280 0 # Node ID 39921f499a2291100dc7640e2104ea2625c62b6e # Parent d69b58c01131dccdc5929c6b31dadd683d6b23a0 Fix #26 diff -r d69b58c01131 -r 39921f499a22 examples/dialogs/classwizard/classwizard.d --- a/examples/dialogs/classwizard/classwizard.d Thu Jul 02 11:39:57 2009 +0000 +++ b/examples/dialogs/classwizard/classwizard.d Thu Jul 02 12:04:40 2009 +0000 @@ -148,7 +148,7 @@ headerFile.errorString())); return; } - headerFile.write(block.ptr, block.length); + headerFile.write(block); block.length = 0; @@ -202,7 +202,7 @@ implementationFile.errorString())); return; } - implementationFile.write(block.ptr, block.length); + implementationFile.write(block); QDialog.accept(); } diff -r d69b58c01131 -r 39921f499a22 generator/typesystem_core-java.java --- a/generator/typesystem_core-java.java Thu Jul 02 11:39:57 2009 +0000 +++ b/generator/typesystem_core-java.java Thu Jul 02 12:04:40 2009 +0000 @@ -462,6 +462,10 @@ return success ? np.byteValue() : -1; } */ + + public final long write(string str) { + return write(str.ptr, str.length); + } }// class class QCryptographicHash___ extends QCryptographicHash { diff -r d69b58c01131 -r 39921f499a22 generator/typesystem_core.xml --- a/generator/typesystem_core.xml Thu Jul 02 11:39:57 2009 +0000 +++ b/generator/typesystem_core.xml Thu Jul 02 12:04:40 2009 +0000 @@ -1759,6 +1759,14 @@ + + + + + + + +