comparison generator/typesystem_gui-java.java @ 337:5896535a03cd

moved enums back to classes
author maxter <spambox@d-coding.com>
date Sat, 13 Mar 2010 00:38:42 +0200
parents adae77fdc1ea
children 96a75b1e5b26
comparison
equal deleted inserted replaced
336:b0a7819153bb 337:5896535a03cd
1026 1026
1027 public final void drawLines(in QLineF[] lines) { 1027 public final void drawLines(in QLineF[] lines) {
1028 qtd_QPainter_drawLines_nativepointerQLineF_int(__nativeId, lines.ptr, lines.length); 1028 qtd_QPainter_drawLines_nativepointerQLineF_int(__nativeId, lines.ptr, lines.length);
1029 } 1029 }
1030 1030
1031 public final void drawPolygon(in QPoint[] points, Qt_FillRule fillRule = Qt_FillRule.OddEvenFill) { 1031 public final void drawPolygon(in QPoint[] points, Qt.FillRule fillRule = Qt.FillRule.OddEvenFill) {
1032 qtd_QPainter_drawPolygon_nativepointerQPoint_int_FillRule(__nativeId, points.ptr, points.length, fillRule); 1032 qtd_QPainter_drawPolygon_nativepointerQPoint_int_FillRule(__nativeId, points.ptr, points.length, fillRule);
1033 } 1033 }
1034 1034
1035 public final void drawPolygon(in QPointF[] points, Qt_FillRule fillRule = Qt_FillRule.OddEvenFill) { 1035 public final void drawPolygon(in QPointF[] points, Qt.FillRule fillRule = Qt.FillRule.OddEvenFill) {
1036 qtd_QPainter_drawPolygon_nativepointerQPointF_int_FillRule(__nativeId, points.ptr, points.length, fillRule); 1036 qtd_QPainter_drawPolygon_nativepointerQPointF_int_FillRule(__nativeId, points.ptr, points.length, fillRule);
1037 } 1037 }
1038 1038
1039 public final void drawPolyline(in QPoint[] points) { 1039 public final void drawPolyline(in QPoint[] points) {
1040 qtd_QPainter_drawPolyline_nativepointerQPoint_int(__nativeId, points.ptr, points.length); 1040 qtd_QPainter_drawPolyline_nativepointerQPoint_int(__nativeId, points.ptr, points.length);
1701 1701
1702 public static string getItem(QWidget _parent, string title, string label, QList!(string) items, int current = 0, bool editable = true, ref bool ok = false, int flags = 0) { 1702 public static string getItem(QWidget _parent, string title, string label, QList!(string) items, int current = 0, bool editable = true, ref bool ok = false, int flags = 0) {
1703 return getItem_private(_parent, title, label, items, current, editable, &ok, flags); 1703 return getItem_private(_parent, title, label, items, current, editable, &ok, flags);
1704 } 1704 }
1705 1705
1706 public static string getText(QWidget _parent, string title, string label, QLineEdit_EchoMode echo = QLineEdit_EchoMode.Normal, string text = null, ref bool ok = false, int flags = 0) { 1706 public static string getText(QWidget _parent, string title, string label, QLineEdit.EchoMode echo = QLineEdit.EchoMode.Normal, string text = null, ref bool ok = false, int flags = 0) {
1707 string res; 1707 string res;
1708 qtd_QInputDialog_getText_private_QWidget_string_string_EchoMode_string_nativepointerbool_WindowFlags(&res, _parent is null ? null : _parent.__nativeId, title, label, echo, text, &ok, flags); 1708 qtd_QInputDialog_getText_private_QWidget_string_string_EchoMode_string_nativepointerbool_WindowFlags(&res, _parent is null ? null : _parent.__nativeId, title, label, echo, text, &ok, flags);
1709 return res; 1709 return res;
1710 } 1710 }
1711 }// class 1711 }// class