comparison generator/typesystem_gui-java.java @ 190:a1b48a630f73

D2 support, simple stuff works now
author eldar
date Sun, 12 Jul 2009 20:51:37 +0000
parents 7dd099050621
children 1d272f0bfefa
comparison
equal deleted inserted replaced
189:37b419197d4b 190:a1b48a630f73
291 }// class 291 }// class
292 292
293 class QImage___ extends QImage { 293 class QImage___ extends QImage {
294 private import qt.qtd.Str; 294 private import qt.qtd.Str;
295 295
296 public this(in string[] xpm) { 296 public this(string[] xpm) {
297 this(toStringzArray(xpm)); 297 this(toStringzArray(xpm));
298 } 298 }
299 /* 299 /*
300 public final byte[] copyOfBytes() { 300 public final byte[] copyOfBytes() {
301 QNativePointer bits = bits(); 301 QNativePointer bits = bits();
477 477
478 class QPixmap___ extends QPixmap { 478 class QPixmap___ extends QPixmap {
479 479
480 private import qt.qtd.Str; 480 private import qt.qtd.Str;
481 481
482 public this(in string[] xpm) { 482 public this(string[] xpm) {
483 this(toStringzArray(xpm)); 483 this(toStringzArray(xpm));
484 } 484 }
485 485
486 public this(string fileName, string format = null, int flags = Qt.ImageConversionFlag.AutoColor) { 486 public this(string fileName, string format = null, int flags = Qt.ImageConversionFlag.AutoColor) {
487 this(fileName, toStringz(format), flags); 487 this(fileName, toStringz(format), flags);