Mercurial > projects > qtd
comparison generator/typesystem_gui.xml @ 33:cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
author | eldar |
---|---|
date | Sat, 16 May 2009 17:12:06 +0000 |
parents | 49d696a4e5f3 |
children | eb3b5bbffc8f |
comparison
equal
deleted
inserted
replaced
32:a293cd68d56c | 33:cf8a415f3f32 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <typesystem package="qt.gui" default-superclass="QtDObject"> | 2 <typesystem package="qt.gui" default-superclass="QtDObject"> |
3 <inject-code> | 3 <inject-code> |
4 qt.Utilities.loadQtLibrary("QtGui"); | 4 qt.Utilities.loadQtLibrary("QtGui"); |
5 </inject-code> | |
6 | |
7 <template name="gui.class_from_variant_java"> | |
8 public this(QVariant arg__1) { | |
9 void* __qt_return_value = qtd_%CLASS_NAME_%CLASS_NAME_QVariant(cast(void*) this, arg__1 is null ? null : arg__1.nativeId); | |
10 super(__qt_return_value); | |
11 } | |
12 </template> | |
13 | |
14 <template name="gui.class_from_variant_java_free"> | |
15 private extern (C) void* qtd_%CLASS_NAME_%CLASS_NAME_QVariant(void *d_ptr, | |
16 void* arg__1); | |
17 </template> | |
18 | |
19 <template name="gui.class_from_variant_native"> | |
20 // %CLASS_NAME from QVariant | |
21 extern "C" DLL_PUBLIC void* qtd_%CLASS_NAME_%CLASS_NAME_QVariant | |
22 (void *d_ptr, | |
23 void* arg__1) | |
24 { | |
25 const QVariant& __qt_arg__1 = (const QVariant& ) *(QVariant *)arg__1; | |
26 %CLASS_NAME __qt_casted = qvariant_cast<%CLASS_NAME>(__qt_arg__1); | |
27 %CLASS_NAME *__qt_this = new %CLASS_NAME((const %CLASS_NAME& )__qt_casted); | |
28 return (void *) __qt_this; | |
29 } | |
30 </template> | |
31 | |
32 <template name="gui.class_from_variant_native_shell"> | |
33 // %CLASS_NAME from QVariant | |
34 extern "C" DLL_PUBLIC void* qtd_%CLASS_NAME_%CLASS_NAME_QVariant | |
35 (void *d_ptr, | |
36 void* arg__1) | |
37 { | |
38 const QVariant& __qt_arg__1 = (const QVariant& ) *(QVariant *)arg__1; | |
39 %CLASS_NAME __qt_casted = qvariant_cast<%CLASS_NAME>(__qt_arg__1); | |
40 %CLASS_NAME_QtDShell *__qt_this = new %CLASS_NAME_QtDShell(d_ptr, (const %CLASS_NAME& )__qt_casted); | |
41 return (void *) __qt_this; | |
42 } | |
43 </template> | |
44 <!-- without shell | |
45 <inject-code class="java"> | |
46 <insert-template name="gui.class_from_variant_java"> | |
47 <replace from="%CLASS_NAME" to=""/> | |
48 </insert-template> | |
49 </inject-code> | |
50 <inject-code class="java-free"> | |
51 <insert-template name="gui.class_from_variant_java_free"> | |
52 <replace from="%CLASS_NAME" to=""/> | |
53 </insert-template> | |
5 </inject-code> | 54 </inject-code> |
55 <inject-code class="native"> | |
56 <insert-template name="gui.class_from_variant_native"> | |
57 <replace from="%CLASS_NAME" to=""/> | |
58 </insert-template> | |
59 </inject-code> | |
60 | |
61 with shell | |
62 <inject-code class="java"> | |
63 <insert-template name="gui.class_from_variant_java"> | |
64 <replace from="%CLASS_NAME" to=""/> | |
65 </insert-template> | |
66 </inject-code> | |
67 <inject-code class="java-free"> | |
68 <insert-template name="gui.class_from_variant_java_free"> | |
69 <replace from="%CLASS_NAME" to=""/> | |
70 </insert-template> | |
71 </inject-code> | |
72 <inject-code class="native"> | |
73 <insert-template name="gui.class_from_variant_native_shell"> | |
74 <replace from="%CLASS_NAME" to=""/> | |
75 </insert-template> | |
76 </inject-code> | |
77 --> | |
78 | |
79 | |
6 <template name="gui.getter_returning_nativepointer"> | 80 <template name="gui.getter_returning_nativepointer"> |
7 public final %RETURN_TYPE %FUNCTION_NAME() { | 81 public final %RETURN_TYPE %FUNCTION_NAME() { |
8 QNativePointer np = %FUNCTION_NAME_private(); | 82 QNativePointer np = %FUNCTION_NAME_private(); |
9 %RETURN_TYPE tmp = np == null ? null : %RETURN_TYPE.fromNativePointer(np); | 83 %RETURN_TYPE tmp = np == null ? null : %RETURN_TYPE.fromNativePointer(np); |
10 return tmp == null ? null : new %RETURN_TYPE(tmp); | 84 return tmp == null ? null : new %RETURN_TYPE(tmp); |
145 | 219 |
146 <rejection class="*" function-name="d_func"/> | 220 <rejection class="*" function-name="d_func"/> |
147 | 221 |
148 <rejection class="*" field-name="d_ptr"/> | 222 <rejection class="*" field-name="d_ptr"/> |
149 <rejection class="*" field-name="d"/> | 223 <rejection class="*" field-name="d"/> |
150 | 224 |
225 <rejection class="QAccessibleTableInterface"/> | |
226 | |
151 <rejection class="QWindowsCEStyle"/> | 227 <rejection class="QWindowsCEStyle"/> |
152 <rejection class="QWindowsMobileStyle"/> | 228 <rejection class="QWindowsMobileStyle"/> |
153 <rejection class="QAbstractUndoItem"/> | 229 <rejection class="QAbstractUndoItem"/> |
154 <rejection class="QAccessibleApplication"/> | 230 <rejection class="QAccessibleApplication"/> |
155 <rejection class="QBrushData"/> | 231 <rejection class="QBrushData"/> |
1187 } | 1263 } |
1188 </inject-code> | 1264 </inject-code> |
1189 </value-type> | 1265 </value-type> |
1190 | 1266 |
1191 <value-type name="QIcon" delete-in-main-thread="yes"> | 1267 <value-type name="QIcon" delete-in-main-thread="yes"> |
1268 | |
1269 <inject-code class="java"> | |
1270 <insert-template name="gui.class_from_variant_java"> | |
1271 <replace from="%CLASS_NAME" to="QIcon"/> | |
1272 </insert-template> | |
1273 | |
1274 </inject-code> | |
1275 <inject-code class="java-free"> | |
1276 <insert-template name="gui.class_from_variant_java_free"> | |
1277 <replace from="%CLASS_NAME" to="QIcon"/> | |
1278 </insert-template> | |
1279 </inject-code> | |
1280 <inject-code class="native"> | |
1281 <insert-template name="gui.class_from_variant_native"> | |
1282 <replace from="%CLASS_NAME" to="QIcon"/> | |
1283 </insert-template> | |
1284 </inject-code> | |
1285 | |
1192 <modify-function signature="operator=(QIcon)" remove="all"/> | 1286 <modify-function signature="operator=(QIcon)" remove="all"/> |
1193 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3--> | 1287 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3--> |
1194 <modify-function signature="QIcon(QIconEngineV2 *)"> | 1288 <modify-function signature="QIcon(QIconEngineV2 *)"> |
1195 <modify-argument index="1"> | 1289 <modify-argument index="1"> |
1196 <define-ownership class="java" owner="c++"/> | 1290 <define-ownership class="java" owner="c++"/> |
1286 <include file-name="QBitmap" location="global"/> | 1380 <include file-name="QBitmap" location="global"/> |
1287 <include file-name="QMatrix" location="global"/> | 1381 <include file-name="QMatrix" location="global"/> |
1288 </extra-includes> | 1382 </extra-includes> |
1289 | 1383 |
1290 <inject-code class="java"> | 1384 <inject-code class="java"> |
1291 public this(QVariant arg__1) { | 1385 <insert-template name="gui.class_from_variant_java"> |
1292 void* __qt_return_value = qtd_QPixmap_QPixmap_QPixmap(cast(void*) this, arg__1 is null ? null : arg__1.nativeId); | 1386 <replace from="%CLASS_NAME" to="QPixmap"/> |
1293 super(__qt_return_value); | 1387 </insert-template> |
1294 } | 1388 </inject-code> |
1295 </inject-code> | |
1296 <inject-code class="java-free"> | 1389 <inject-code class="java-free"> |
1297 private extern (C) void* qtd_QPixmap_QPixmap_QVariant(void *d_ptr, | 1390 <insert-template name="gui.class_from_variant_java_free"> |
1298 void* arg__1); | 1391 <replace from="%CLASS_NAME" to="QPixmap"/> |
1392 </insert-template> | |
1299 </inject-code> | 1393 </inject-code> |
1300 <inject-code class="native"> | 1394 <inject-code class="native"> |
1301 // QPixmap from QVariant | 1395 <insert-template name="gui.class_from_variant_native_shell"> |
1302 extern "C" DLL_PUBLIC void* qtd_QPixmap_QPixmap_QVariant | 1396 <replace from="%CLASS_NAME" to="QPixmap"/> |
1303 (void *d_ptr, | 1397 </insert-template> |
1304 void* arg__1) | |
1305 { | |
1306 const QVariant& __qt_arg__1 = (const QVariant& ) *(QVariant *)arg__1; | |
1307 QPixmap __qt_casted = qvariant_cast<QPixmap>(__qt_arg__1); | |
1308 QPixmap_QtDShell *__qt_this = new QPixmap_QtDShell(d_ptr, (const QPixmap& )__qt_casted); | |
1309 return (void *) __qt_this; | |
1310 } | |
1311 </inject-code> | 1398 </inject-code> |
1312 | 1399 |
1313 <modify-function signature="save(QIODevice *, const char *, int) const"> | 1400 <modify-function signature="save(QIODevice *, const char *, int) const"> |
1314 <access modifier="private"/> | 1401 <access modifier="private"/> |
1315 <rename to="private_save"/> | 1402 <rename to="private_save"/> |
1892 <inject-code> | 1979 <inject-code> |
1893 <import-file name="typesystem_gui-java.java" quote-after-line="class QColor___" quote-before-line="}// class"/> | 1980 <import-file name="typesystem_gui-java.java" quote-after-line="class QColor___" quote-before-line="}// class"/> |
1894 </inject-code> | 1981 </inject-code> |
1895 </value-type> | 1982 </value-type> |
1896 | 1983 |
1897 <value-type name="QFontMetricsF" delete-in-main-thread="yes" expense-cost="1" expense-limit="1000"> | 1984 <value-type name="QFontMetricsF" delete-in-main-thread="yes"> <!-- expense-cost="1" expense-limit="1000"> --> |
1898 <custom-constructor> | 1985 <!-- <custom-constructor> |
1899 return new QFontMetricsF(*copy); | 1986 return new QFontMetricsF(*copy); |
1900 </custom-constructor> | 1987 </custom-constructor> |
1901 <custom-destructor> | 1988 <custom-destructor> |
1902 delete copy; | 1989 delete copy; |
1903 </custom-destructor> | 1990 </custom-destructor> |
1991 --> | |
1904 <modify-function signature="operator!=(const QFontMetricsF &)"> | 1992 <modify-function signature="operator!=(const QFontMetricsF &)"> |
1905 <remove/> | 1993 <remove/> |
1906 </modify-function> | 1994 </modify-function> |
1907 <modify-function signature="operator==(const QFontMetricsF &)"> | 1995 <modify-function signature="operator==(const QFontMetricsF &)"> |
1908 <remove/> | 1996 <remove/> |
2397 <modify-function signature="notifyAccessibilityUpdate(int,QAccessibleInterface*,int)"> | 2485 <modify-function signature="notifyAccessibilityUpdate(int,QAccessibleInterface*,int)"> |
2398 <modify-argument invalidate-after-use="yes" index="2"/> | 2486 <modify-argument invalidate-after-use="yes" index="2"/> |
2399 </modify-function> | 2487 </modify-function> |
2400 </object-type> | 2488 </object-type> |
2401 <object-type name="QAccessible2Interface"/> | 2489 <object-type name="QAccessible2Interface"/> |
2402 <object-type name="QAccessibleTableInterface"> | 2490 <!-- <object-type name="QAccessibleTableInterface"> |
2403 <modify-function signature="qAccessibleTableCastHelper()" remove="all"/> | 2491 <modify-function signature="qAccessibleTableCastHelper()" remove="all"/> |
2404 | 2492 |
2405 <inject-code> | 2493 <inject-code> |
2406 <import-file name="typesystem_gui-java.java" quote-after-line="class QAccessibleTableInterface___" quote-before-line="}// class"/> | 2494 <import-file name="typesystem_gui-java.java" quote-after-line="class QAccessibleTableInterface___" quote-before-line="}// class"/> |
2407 </inject-code> | 2495 </inject-code> |
2603 | 2691 |
2604 jint %out = %in; | 2692 jint %out = %in; |
2605 </conversion-rule> | 2693 </conversion-rule> |
2606 </modify-argument> | 2694 </modify-argument> |
2607 </modify-function> | 2695 </modify-function> |
2608 </object-type> | 2696 |
2697 </object-type> --> | |
2609 | 2698 |
2610 <object-type name="QAccessibleInterface"> | 2699 <object-type name="QAccessibleInterface"> |
2611 <modify-function signature="indexOfChild(const QAccessibleInterface*)const"> | 2700 <modify-function signature="indexOfChild(const QAccessibleInterface*)const"> |
2612 <modify-argument invalidate-after-use="yes" index="1"/> | 2701 <modify-argument invalidate-after-use="yes" index="1"/> |
2613 </modify-function> | 2702 </modify-function> |
2614 <modify-function signature="relationTo(int,const QAccessibleInterface*,int)const"> | 2703 <modify-function signature="relationTo(int,const QAccessibleInterface*,int)const"> |
2615 <modify-argument invalidate-after-use="yes" index="2"/> | 2704 <modify-argument invalidate-after-use="yes" index="2"/> |
2616 </modify-function> | 2705 </modify-function> |
2617 | 2706 |
2707 <!-- <modify-function signature="navigate(QAccessible::RelationFlag,int,QAccessibleInterface**)const" remove="all"/> --><!-- TODO --> | |
2708 | |
2709 <!-- | |
2618 <inject-code> | 2710 <inject-code> |
2619 <import-file name="typesystem_gui-java.java" quote-after-line="class QAccessibleInterface___" quote-before-line="}// class"/> | 2711 <import-file name="typesystem_gui-java.java" quote-after-line="class QAccessibleInterface___" quote-before-line="}// class"/> |
2620 </inject-code> | 2712 </inject-code> |
2621 | 2713 |
2622 | 2714 |
2671 | 2763 |
2672 if (%3 != 0) *%3 = __qt_interface; | 2764 if (%3 != 0) *%3 = __qt_interface; |
2673 </conversion-rule> | 2765 </conversion-rule> |
2674 </modify-argument> | 2766 </modify-argument> |
2675 </modify-function> | 2767 </modify-function> |
2768 --> | |
2676 </object-type> | 2769 </object-type> |
2677 <object-type name="QAccessibleInterfaceEx"/> | 2770 <object-type name="QAccessibleInterfaceEx"/> |
2678 <object-type name="QAccessibleObject"/> | 2771 <object-type name="QAccessibleObject"/> |
2679 <object-type name="QAccessibleObjectEx"/> | 2772 <object-type name="QAccessibleObjectEx"/> |
2680 <object-type name="QAccessibleWidget"/> | 2773 <object-type name="QAccessibleWidget"/> |
2764 <object-type name="QDialog"> | 2857 <object-type name="QDialog"> |
2765 <!-- <modify-function signature="setVisible(bool)" remove="all"/> // properties_d --> | 2858 <!-- <modify-function signature="setVisible(bool)" remove="all"/> // properties_d --> |
2766 | 2859 |
2767 <modify-function signature="setExtension(QWidget*)" remove="all"/> | 2860 <modify-function signature="setExtension(QWidget*)" remove="all"/> |
2768 <modify-function signature="exec()" access="non-final"/> | 2861 <modify-function signature="exec()" access="non-final"/> |
2862 <modify-function signature="open()" virtual-slot="yes" /> | |
2769 <modify-function signature="extension()const" remove="all"/> <!--### Obsolete in 4.3--> | 2863 <modify-function signature="extension()const" remove="all"/> <!--### Obsolete in 4.3--> |
2770 <modify-function signature="orientation()const" remove="all"/> <!--### Obsolete in 4.3--> | 2864 <modify-function signature="orientation()const" remove="all"/> <!--### Obsolete in 4.3--> |
2771 <modify-function signature="setOrientation(Qt::Orientation)" remove="all"/> <!--### Obsolete in 4.3--> | 2865 <modify-function signature="setOrientation(Qt::Orientation)" remove="all"/> <!--### Obsolete in 4.3--> |
2772 <modify-function signature="showExtension(bool)" remove="all"/> <!--### Obsolete in 4.3--> | 2866 <modify-function signature="showExtension(bool)" remove="all"/> <!--### Obsolete in 4.3--> |
2773 </object-type> | 2867 </object-type> |
2832 <import-file name="typesystem_gui-java.java" quote-after-line="class QWizardPage___" quote-before-line="}// class"/> | 2926 <import-file name="typesystem_gui-java.java" quote-after-line="class QWizardPage___" quote-before-line="}// class"/> |
2833 </inject-code> | 2927 </inject-code> |
2834 | 2928 |
2835 </object-type> | 2929 </object-type> |
2836 <object-type name="QFocusFrame"> | 2930 <object-type name="QFocusFrame"> |
2837 <modify-function signature="initStyleOption(QStyleOption*)const"> | 2931 <!-- <modify-function signature="initStyleOption(QStyleOption*)const"> |
2838 <access modifier="private"/> | 2932 <access modifier="private"/> |
2839 </modify-function> | 2933 </modify-function> --> |
2840 <modify-function signature="setWidget(QWidget*)"> | 2934 <modify-function signature="setWidget(QWidget*)"> |
2841 <modify-argument index="1"> | 2935 <modify-argument index="1"> |
2842 <reference-count action="set" variable-name="__rcWidget"/> | 2936 <reference-count action="set" variable-name="__rcWidget"/> |
2843 </modify-argument> | 2937 </modify-argument> |
2844 </modify-function> | 2938 </modify-function> |
2845 <inject-code> | 2939 <!-- <inject-code> |
2846 <insert-template name="gui.init_style_option"> | 2940 <insert-template name="gui.init_style_option"> |
2847 <replace from="%TYPE" to="QStyleOption"/> | 2941 <replace from="%TYPE" to="QStyleOption"/> |
2848 </insert-template> | 2942 </insert-template> |
2849 </inject-code> | 2943 </inject-code> --> |
2850 </object-type> | 2944 </object-type> |
2851 <object-type name="QFontComboBox"/> | 2945 <object-type name="QFontComboBox"/> |
2852 <object-type name="QFontDialog"> | 2946 <object-type name="QFontDialog"> |
2853 <inject-code> | 2947 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> |
2948 | |
2949 <!-- <inject-code> | |
2854 <import-file name="typesystem_gui-java.java" quote-after-line="class QFontDialog___" quote-before-line="}// class"/> | 2950 <import-file name="typesystem_gui-java.java" quote-after-line="class QFontDialog___" quote-before-line="}// class"/> |
2855 </inject-code> | 2951 </inject-code> |
2856 | 2952 |
2857 <template name="gui.fontdialog_get_font_general"> | 2953 <template name="gui.fontdialog_get_font_general"> |
2858 public static Result getFont(%FONT_ARGUMENT %COMMA QWidget parent %STRING_ARGUMENT) { | 2954 public static Result getFont(%FONT_ARGUMENT %COMMA QWidget parent %STRING_ARGUMENT) { |
2910 <replace from="%FONT_ARGUMENT" to="QFont initial"/> | 3006 <replace from="%FONT_ARGUMENT" to="QFont initial"/> |
2911 <replace from="%COMMA" to=", "/> | 3007 <replace from="%COMMA" to=", "/> |
2912 <replace from="%FONT_CALL_ARGUMENT" to="initial"/> | 3008 <replace from="%FONT_CALL_ARGUMENT" to="initial"/> |
2913 </insert-template> | 3009 </insert-template> |
2914 </inject-code> | 3010 </inject-code> |
3011 --> | |
2915 </object-type> | 3012 </object-type> |
2916 <object-type name="QGraphicsEllipseItem" delete-in-main-thread="yes"> | 3013 <object-type name="QGraphicsEllipseItem" delete-in-main-thread="yes"> |
2917 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | 3014 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> |
2918 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | 3015 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> |
2919 <!-- | 3016 <!-- |
3540 <modify-function signature="setParameters(const char*)"> | 3637 <modify-function signature="setParameters(const char*)"> |
3541 <access modifier="private"/> | 3638 <access modifier="private"/> |
3542 </modify-function> | 3639 </modify-function> |
3543 | 3640 |
3544 | 3641 |
3545 <extra-includes> | 3642 <inject-code> |
3546 <include file-name="qt.QNativePointer" location="java"/> | 3643 |
3547 </extra-includes> | 3644 public this(QIODevice ioDevice, string format) { |
3548 <inject-code> | 3645 this(ioDevice, toStringz(format)); |
3549 public QPictureIO(qt.core.QIODevice ioDevice, String format) { | |
3550 this(ioDevice, QNativePointer.createCharPointer(format)); | |
3551 } | 3646 } |
3552 | 3647 |
3553 public QPictureIO(String fileName, String format) { | 3648 public this(string fileName, string format) { |
3554 this(fileName, QNativePointer.createCharPointer(format)); | 3649 this(fileName, toStringz(format)); |
3555 } | 3650 } |
3556 | 3651 |
3557 <insert-template name="core.return_string_instead_of_char*"> | 3652 <insert-template name="core.return_string_instead_of_char*"> |
3558 <replace from="%FUNCTION_NAME" to="format"/> | 3653 <replace from="%FUNCTION_NAME" to="format"/> |
3559 </insert-template> | 3654 </insert-template> |
3573 | 3668 |
3574 <object-type name="QPixmapCache"> | 3669 <object-type name="QPixmapCache"> |
3575 <modify-function signature="find(QString)"> | 3670 <modify-function signature="find(QString)"> |
3576 <remove/> | 3671 <remove/> |
3577 </modify-function> | 3672 </modify-function> |
3578 | 3673 <!-- |
3579 <modify-function signature="find(QString,QPixmap&)"> | 3674 <modify-function signature="find(QString,QPixmap&)"> |
3580 <access modifier="private"/> | 3675 <access modifier="private"/> |
3581 </modify-function> | 3676 </modify-function> |
3582 | 3677 |
3583 <inject-code> | 3678 <inject-code> |
3584 <import-file name="typesystem_gui-java.java" quote-after-line="class QPixmapCache___" quote-before-line="}// class"/> | 3679 <import-file name="typesystem_gui-java.java" quote-after-line="class QPixmapCache___" quote-before-line="}// class"/> |
3585 </inject-code> | 3680 </inject-code> |
3586 | 3681 --> |
3587 </object-type> | 3682 </object-type> |
3588 <object-type name="QPlastiqueStyle"> | 3683 <object-type name="QPlastiqueStyle"> |
3589 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3--> | 3684 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3--> |
3590 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/> | 3685 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/> |
3591 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/> | 3686 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/> |
3592 </object-type> | 3687 </object-type> |
3593 <object-type name="QPrintDialog"/> | 3688 <object-type name="QPrintDialog"> |
3689 <modify-function signature="accepted(QPrinter *)"> | |
3690 <rename to="accepted_printer"/> | |
3691 </modify-function> | |
3692 <modify-function signature="accepted()" remove="all"/> | |
3693 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> | |
3694 | |
3695 </object-type> | |
3594 <object-type name="QPrintEngine"/> | 3696 <object-type name="QPrintEngine"/> |
3595 <object-type name="QProgressBar"> | 3697 <object-type name="QProgressBar"> |
3596 <modify-function signature="initStyleOption(QStyleOptionProgressBar*)const"> | 3698 <!-- <modify-function signature="initStyleOption(QStyleOptionProgressBar*)const"> |
3597 <access modifier="private"/> | 3699 <access modifier="private"/> |
3598 </modify-function> | 3700 </modify-function> |
3599 | 3701 |
3600 <inject-code> | 3702 <inject-code> |
3601 <insert-template name="gui.init_style_option"> | 3703 <insert-template name="gui.init_style_option"> |
3602 <replace from="%TYPE" to="QStyleOptionProgressBar"/> | 3704 <replace from="%TYPE" to="QStyleOptionProgressBar"/> |
3603 </insert-template> | 3705 </insert-template> |
3604 </inject-code> | 3706 </inject-code> --> |
3605 </object-type> | 3707 </object-type> |
3606 <object-type name="QPushButton"> | 3708 <object-type name="QPushButton"> |
3607 <!-- <modify-function signature="initStyleOption(QStyleOptionButton*)const"> | 3709 <!-- <modify-function signature="initStyleOption(QStyleOptionButton*)const"> |
3608 <access modifier="private"/> | 3710 <access modifier="private"/> |
3609 </modify-function> | 3711 </modify-function> |
4412 | 4514 |
4413 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3--> | 4515 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3--> |
4414 </object-type> | 4516 </object-type> |
4415 | 4517 |
4416 <object-type name="QColorDialog"> | 4518 <object-type name="QColorDialog"> |
4519 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> | |
4520 | |
4417 <modify-function signature="getColor(const QColor &, QWidget *)"> | 4521 <modify-function signature="getColor(const QColor &, QWidget *)"> |
4418 <modify-argument index="1"> | 4522 <modify-argument index="1"> |
4419 <replace-default-expression with="QColor.white"/> | 4523 <replace-default-expression with="QColor.White"/> |
4420 </modify-argument> | 4524 </modify-argument> |
4421 </modify-function> | 4525 </modify-function> |
4422 <modify-function signature="getRgba(uint,bool*,QWidget*)"> | 4526 <modify-function signature="getRgba(uint,bool*,QWidget*)"> |
4423 <remove/> | 4527 <remove/> |
4424 </modify-function> | 4528 </modify-function> |
4729 </modify-function> | 4833 </modify-function> |
4730 --> | 4834 --> |
4731 </object-type> | 4835 </object-type> |
4732 | 4836 |
4733 <object-type name="QInputDialog"> | 4837 <object-type name="QInputDialog"> |
4838 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> | |
4839 | |
4734 <modify-function signature="getDouble(QWidget *, const QString &, const QString &, double, double, double, int, bool *, QFlags<Qt::WindowType>)"> | 4840 <modify-function signature="getDouble(QWidget *, const QString &, const QString &, double, double, double, int, bool *, QFlags<Qt::WindowType>)"> |
4735 <rename to="getDouble_internal"/> | 4841 <rename to="getDouble_private"/> |
4736 <access modifier="private"/> | 4842 <access modifier="private"/> |
4737 <modify-argument index="4"> | |
4738 <remove-default-expression/> | |
4739 </modify-argument> | |
4740 <modify-argument index="5"> | |
4741 <remove-default-expression/> | |
4742 </modify-argument> | |
4743 <modify-argument index="6"> | |
4744 <remove-default-expression/> | |
4745 </modify-argument> | |
4746 <modify-argument index="7"> | |
4747 <remove-default-expression/> | |
4748 </modify-argument> | |
4749 <modify-argument index="8"> | |
4750 <remove-default-expression/> | |
4751 </modify-argument> | |
4752 <modify-argument index="9"> | |
4753 <remove-default-expression/> | |
4754 </modify-argument> | |
4755 </modify-function> | 4843 </modify-function> |
4756 | 4844 |
4757 <modify-function signature="getInteger(QWidget *, const QString &, const QString &, int, int, int, int, bool *, QFlags<Qt::WindowType>)"> | 4845 <modify-function signature="getInteger(QWidget *, const QString &, const QString &, int, int, int, int, bool *, QFlags<Qt::WindowType>)"> |
4758 <rename to="getInteger_internal"/> | 4846 <remove/> |
4847 </modify-function> | |
4848 | |
4849 <modify-function signature="getInt(QWidget*,QString,QString,int,int,int,int,bool*,QFlags<Qt::WindowType>)"> | |
4850 <rename to="getInt_private" /> | |
4851 <access modifier="private" /> | |
4852 </modify-function> | |
4853 | |
4854 <modify-function signature="getItem(QWidget *, const QString &, const QString &, const QStringList<QString> &, int, bool, bool *, QFlags<Qt::WindowType>)"> | |
4855 <rename to="getItem_private"/> | |
4759 <access modifier="private"/> | 4856 <access modifier="private"/> |
4760 <modify-argument index="4"> | 4857 </modify-function> |
4761 <remove-default-expression/> | 4858 |
4762 </modify-argument> | 4859 <modify-function signature="getText(QWidget *, const QString &, const QString &, QLineEdit::EchoMode, const QString &, bool *, QFlags<Qt::WindowType>)"> |
4763 <modify-argument index="5"> | 4860 <rename to="getText_private"/> |
4764 <remove-default-expression/> | |
4765 </modify-argument> | |
4766 <modify-argument index="6"> | |
4767 <remove-default-expression/> | |
4768 </modify-argument> | |
4769 <modify-argument index="7"> | |
4770 <remove-default-expression/> | |
4771 </modify-argument> | |
4772 <modify-argument index="8"> | |
4773 <remove-default-expression/> | |
4774 </modify-argument> | |
4775 <modify-argument index="9"> | |
4776 <remove-default-expression/> | |
4777 </modify-argument> | |
4778 </modify-function> | |
4779 | |
4780 <modify-function signature="getItem(QWidget *, const QString &, const QString &, const QStringList<QString> &, int, bool, bool *, QFlags<Qt::WindowType>)"> | |
4781 <rename to="getItem_internal"/> | |
4782 <access modifier="private"/> | 4861 <access modifier="private"/> |
4783 <modify-argument index="4"> | 4862 </modify-function> |
4784 <remove-default-expression/> | 4863 |
4785 </modify-argument> | 4864 <inject-code> |
4786 <modify-argument index="5"> | 4865 <import-file name="typesystem_gui-java.java" quote-after-line="class QInputDialog___" quote-before-line="}// class"/> |
4787 <remove-default-expression/> | 4866 </inject-code> |
4788 </modify-argument> | |
4789 <modify-argument index="6"> | |
4790 <remove-default-expression/> | |
4791 </modify-argument> | |
4792 <modify-argument index="7"> | |
4793 <remove-default-expression/> | |
4794 </modify-argument> | |
4795 <modify-argument index="8"> | |
4796 <remove-default-expression/> | |
4797 </modify-argument> | |
4798 </modify-function> | |
4799 | |
4800 <modify-function signature="getText(QWidget *, const QString &, const QString &, QLineEdit::EchoMode, const QString &, bool *, QFlags<Qt::WindowType>)"> | |
4801 <rename to="getText_internal"/> | |
4802 <access modifier="private"/> | |
4803 <modify-argument index="4"> | |
4804 <remove-default-expression/> | |
4805 </modify-argument> | |
4806 <modify-argument index="5"> | |
4807 <remove-default-expression/> | |
4808 </modify-argument> | |
4809 <modify-argument index="6"> | |
4810 <remove-default-expression/> | |
4811 </modify-argument> | |
4812 <modify-argument index="7"> | |
4813 <remove-default-expression/> | |
4814 </modify-argument> | |
4815 </modify-function> | |
4816 | |
4817 <inject-code> | |
4818 <insert-template name="gui.inputDialog_get_input"> | |
4819 <replace from="%RETURN_TYPE" to="Double"/> | |
4820 <replace from="%EXTRA" to="double value, double minValue, double maxValue, int decimals"/> | |
4821 <replace from="%FUNCTION_NAME" to="getDouble"/> | |
4822 <replace from="%CALL" to="value, minValue, maxValue, decimals"/> | |
4823 </insert-template> | |
4824 | |
4825 public static Double getDouble(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, double value, double minValue, double maxValue) { | |
4826 return getDouble(parent, title, label, value, minValue, maxValue, 1); | |
4827 } | |
4828 | |
4829 public static Double getDouble(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, double value, double minValue) { | |
4830 return getDouble(parent, title, label, value, minValue, (double)2147483647); | |
4831 } | |
4832 | |
4833 | |
4834 public static Double getDouble(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, double value) { | |
4835 return getDouble(parent, title, label, value, (double)-2147483647); | |
4836 } | |
4837 | |
4838 public static Double getDouble(qt.gui.QWidget parent, java.lang.String title, java.lang.String label) { | |
4839 return getDouble(parent, title, label, 0.0); | |
4840 } | |
4841 </inject-code> | |
4842 | |
4843 <inject-code> | |
4844 <insert-template name="gui.inputDialog_get_input"> | |
4845 <replace from="%RETURN_TYPE" to="Integer"/> | |
4846 <replace from="%EXTRA" to="int value, int minValue, int maxValue, int step"/> | |
4847 <replace from="%FUNCTION_NAME" to="getInteger"/> | |
4848 <replace from="%CALL" to="value, minValue, maxValue, step"/> | |
4849 </insert-template> | |
4850 | |
4851 public static Integer getInteger(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, int value, int minValue, int maxValue) { | |
4852 return getInteger(parent, title, label, value, minValue, maxValue, 1); | |
4853 } | |
4854 | |
4855 public static Integer getInteger(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, int value, int minValue) { | |
4856 return getInteger(parent, title, label, value, minValue, (int)2147483647); | |
4857 } | |
4858 | |
4859 public static Integer getInteger(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, int value) { | |
4860 return getInteger(parent, title, label, value, (int)-2147483647); | |
4861 } | |
4862 | |
4863 public static Integer getInteger(qt.gui.QWidget parent, java.lang.String title, java.lang.String label) { | |
4864 return getInteger(parent, title, label, 0); | |
4865 } | |
4866 </inject-code> | |
4867 | |
4868 <inject-code> | |
4869 <insert-template name="gui.inputDialog_get_input"> | |
4870 <replace from="%RETURN_TYPE" to="String"/> | |
4871 <replace from="%EXTRA" to="java.util.List<java.lang.String> list, int current, boolean editable"/> | |
4872 <replace from="%FUNCTION_NAME" to="getItem"/> | |
4873 <replace from="%CALL" to="list, current, editable"/> | |
4874 </insert-template> | |
4875 | |
4876 public static java.lang.String getItem(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, java.util.List<java.lang.String> list, int current) { | |
4877 return getItem(parent, title, label, list, current, true); | |
4878 } | |
4879 | |
4880 public static java.lang.String getItem(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, java.util.List<java.lang.String> list) { | |
4881 return getItem(parent, title, label, list, 0); | |
4882 } | |
4883 </inject-code> | |
4884 <inject-code> | |
4885 <insert-template name="gui.inputDialog_get_input"> | |
4886 <replace from="%RETURN_TYPE" to="String"/> | |
4887 <replace from="%EXTRA" to="qt.gui.QLineEdit.EchoMode echo, java.lang.String text"/> | |
4888 <replace from="%FUNCTION_NAME" to="getText"/> | |
4889 <replace from="%CALL" to="echo, text"/> | |
4890 </insert-template> | |
4891 | |
4892 public static java.lang.String getText(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, qt.gui.QLineEdit.EchoMode echo) { | |
4893 return getText(parent, title, label, echo, ""); | |
4894 } | |
4895 | |
4896 public static java.lang.String getText(qt.gui.QWidget parent, java.lang.String title, java.lang.String label) { | |
4897 return getText(parent, title, label, qt.gui.QLineEdit.EchoMode.Normal); | |
4898 } | |
4899 </inject-code> | |
4900 </object-type> | 4867 </object-type> |
4901 | 4868 |
4902 | 4869 |
4903 <object-type name="QGraphicsScene"> | 4870 <object-type name="QGraphicsScene"> |
4904 <extra-includes> | 4871 <extra-includes> |
5852 <!-- Safe to ignore because the spinbox reparents the line edit --> | 5819 <!-- Safe to ignore because the spinbox reparents the line edit --> |
5853 <reference-count action="ignore"/> | 5820 <reference-count action="ignore"/> |
5854 <no-null-pointer/> | 5821 <no-null-pointer/> |
5855 </modify-argument> | 5822 </modify-argument> |
5856 </modify-function> | 5823 </modify-function> |
5857 | 5824 <!-- |
5858 <inject-code> | 5825 <inject-code> |
5859 <insert-template name="gui.init_style_option"> | 5826 <insert-template name="gui.init_style_option"> |
5860 <replace from="%TYPE" to="QStyleOptionSpinBox"/> | 5827 <replace from="%TYPE" to="QStyleOptionSpinBox"/> |
5861 <replace from="final" to=""/> | 5828 <replace from="final" to=""/> |
5862 </insert-template> | 5829 </insert-template> |
5922 <replace from="%POS" to="%2"/> | 5889 <replace from="%POS" to="%2"/> |
5923 </insert-template> | 5890 </insert-template> |
5924 QValidator::State %out = (QValidator::State) qtjambi_to_enumerator(__jni_env, %in); | 5891 QValidator::State %out = (QValidator::State) qtjambi_to_enumerator(__jni_env, %in); |
5925 </conversion-rule> | 5892 </conversion-rule> |
5926 </modify-argument> | 5893 </modify-argument> |
5927 </modify-function> | 5894 </modify-function>--> |
5928 </object-type> | 5895 </object-type> |
5929 | 5896 |
5930 <object-type name="QTextFrame" delete-in-main-thread="yes"> | 5897 <object-type name="QTextFrame" delete-in-main-thread="yes"> |
5931 <extra-includes> | 5898 <extra-includes> |
5932 <include file-name="QTextCursor" location="global"/> | 5899 <include file-name="QTextCursor" location="global"/> |
6018 </modify-argument> | 5985 </modify-argument> |
6019 </modify-function> | 5986 </modify-function> |
6020 </object-type> | 5987 </object-type> |
6021 | 5988 |
6022 <object-type name="QPageSetupDialog"> | 5989 <object-type name="QPageSetupDialog"> |
5990 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> | |
5991 | |
6023 </object-type> | 5992 </object-type> |
6024 | 5993 |
6025 <object-type name="QTabWidget"> | 5994 <object-type name="QTabWidget"> |
6026 <!-- <modify-function signature="initStyleOption(QStyleOptionTabWidgetFrame*)const"> | 5995 <!-- <modify-function signature="initStyleOption(QStyleOptionTabWidgetFrame*)const"> |
6027 <access modifier="private"/> | 5996 <access modifier="private"/> |
6080 | 6049 |
6081 <modify-function signature="start(QFlags<Qt::DropAction>)" remove="all"/> <!--### Obsolete in 4.3--> | 6050 <modify-function signature="start(QFlags<Qt::DropAction>)" remove="all"/> <!--### Obsolete in 4.3--> |
6082 </object-type> | 6051 </object-type> |
6083 | 6052 |
6084 <object-type name="QDateTimeEdit"> | 6053 <object-type name="QDateTimeEdit"> |
6085 <modify-function signature="initStyleOption(QStyleOptionSpinBox*)const" access="private" rename="initDateTimeEditStyleOption"/> | |
6086 <modify-function signature="setCalendarWidget(QCalendarWidget*)"> | 6054 <modify-function signature="setCalendarWidget(QCalendarWidget*)"> |
6087 <modify-argument index="1"> | 6055 <modify-argument index="1"> |
6088 <!-- Safe to ignore because widget is reparented --> | 6056 <!-- Safe to ignore because widget is reparented --> |
6089 <reference-count action="ignore"/> | 6057 <reference-count action="ignore"/> |
6090 </modify-argument> | 6058 </modify-argument> |
6091 </modify-function> | 6059 </modify-function> |
6092 | |
6093 | |
6094 <inject-code> | |
6095 <insert-template name="gui.init_style_option"> | |
6096 <replace from="%TYPE" to="QStyleOptionSpinBox"/> | |
6097 <replace from="initStyleOption" to="initDateTimeEditStyleOption"/> | |
6098 </insert-template> | |
6099 </inject-code> | |
6100 </object-type> | 6060 </object-type> |
6101 | 6061 |
6102 <object-type name="QSortFilterProxyModel"> | 6062 <object-type name="QSortFilterProxyModel"> |
6103 <modify-function signature="parent()const" remove="all"/> | 6063 <modify-function signature="parent()const" remove="all"/> |
6104 <extra-includes> | 6064 <extra-includes> |
6116 <modify-function signature="clear()" remove="all"/> <!--### Obsolete in 4.3--> | 6076 <modify-function signature="clear()" remove="all"/> <!--### Obsolete in 4.3--> |
6117 <modify-function signature="filterChanged()" remove="all"/> <!--### Obsolete in 4.3--> | 6077 <modify-function signature="filterChanged()" remove="all"/> <!--### Obsolete in 4.3--> |
6118 | 6078 |
6119 <modify-function signature="match(QModelIndex, int, QVariant, int, QFlags<Qt::MatchFlag>) const"> | 6079 <modify-function signature="match(QModelIndex, int, QVariant, int, QFlags<Qt::MatchFlag>) const"> |
6120 <modify-argument index="5"> | 6080 <modify-argument index="5"> |
6121 <replace-default-expression with="Qt.MatchFlag.MatchStartsWith, Qt.MatchFlag.MatchWrap"/> | 6081 <replace-default-expression with="Qt.MatchFlag.MatchStartsWith | Qt.MatchFlag.MatchWrap"/> |
6122 </modify-argument> | 6082 </modify-argument> |
6123 </modify-function> | 6083 </modify-function> |
6124 </object-type> | 6084 </object-type> |
6125 | 6085 |
6126 <object-type name="QSlider"> | 6086 <object-type name="QSlider"> |
6150 </modify-function> | 6110 </modify-function> |
6151 | 6111 |
6152 </object-type> | 6112 </object-type> |
6153 | 6113 |
6154 <object-type name="QProgressDialog"> | 6114 <object-type name="QProgressDialog"> |
6115 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> | |
6116 | |
6155 <modify-function signature="setBar(QProgressBar*)"> | 6117 <modify-function signature="setBar(QProgressBar*)"> |
6156 <modify-argument index="1"> | 6118 <modify-argument index="1"> |
6157 <define-ownership class="java" owner="c++"/> | 6119 <define-ownership class="java" owner="c++"/> |
6158 </modify-argument> | 6120 </modify-argument> |
6159 </modify-function> | 6121 </modify-function> |
6565 <store-result/> | 6527 <store-result/> |
6566 </modify-function> | 6528 </modify-function> |
6567 </object-type> | 6529 </object-type> |
6568 | 6530 |
6569 <object-type name="QRubberBand"> | 6531 <object-type name="QRubberBand"> |
6570 <modify-function signature="initStyleOption(QStyleOptionRubberBand*)const"> | 6532 <!-- <modify-function signature="initStyleOption(QStyleOptionRubberBand*)const"> |
6571 <access modifier="private"/> | 6533 <access modifier="private"/> |
6572 </modify-function> | 6534 </modify-function>--> |
6573 <modify-function signature="move(int,int)" rename="moveRubberBand"/> | 6535 <modify-function signature="move(int,int)" rename="moveRubberBand"/> |
6574 <modify-function signature="move(const QPoint &)" rename="moveRubberBand"/> | 6536 <modify-function signature="move(const QPoint &)" rename="moveRubberBand"/> |
6575 <modify-function signature="resize(int,int)" rename="resizeRubberBand"/> | 6537 <modify-function signature="resize(int,int)" rename="resizeRubberBand"/> |
6576 <modify-function signature="resize(const QSize &)" rename="resizeRubberBand"/> | 6538 <modify-function signature="resize(const QSize &)" rename="resizeRubberBand"/> |
6577 <modify-function signature="setGeometry(int,int,int,int)" rename="setRubberBandGeometry"/> | 6539 <modify-function signature="setGeometry(int,int,int,int)" rename="setRubberBandGeometry"/> |
6578 <modify-function signature="setGeometry(const QRect &)" rename="setRubberBandGeometry"/> | 6540 <modify-function signature="setGeometry(const QRect &)" rename="setRubberBandGeometry"/> |
6579 | 6541 |
6580 <inject-code> | 6542 <!-- <inject-code> |
6581 <insert-template name="gui.init_style_option"> | 6543 <insert-template name="gui.init_style_option"> |
6582 <replace from="%TYPE" to="QStyleOptionRubberBand"/> | 6544 <replace from="%TYPE" to="QStyleOptionRubberBand"/> |
6583 </insert-template> | 6545 </insert-template> |
6584 </inject-code> | 6546 </inject-code> --> |
6585 </object-type> | 6547 </object-type> |
6586 | 6548 |
6587 <object-type name="QTextLayout"> | 6549 <object-type name="QTextLayout"> |
6588 <extra-includes> | 6550 <extra-includes> |
6589 <include file-name="QTextOption" location="global"/> | 6551 <include file-name="QTextOption" location="global"/> |
6697 </inject-code> | 6659 </inject-code> |
6698 | 6660 |
6699 </object-type> | 6661 </object-type> |
6700 | 6662 |
6701 <object-type name="QGroupBox"> | 6663 <object-type name="QGroupBox"> |
6702 <modify-function signature="initStyleOption(QStyleOptionGroupBox*)const"> | 6664 <!-- <modify-function signature="initStyleOption(QStyleOptionGroupBox*)const"> |
6703 <access modifier="private"/> | 6665 <access modifier="private"/> |
6704 </modify-function> | 6666 </modify-function> |
6705 | 6667 |
6706 <inject-code> | 6668 <inject-code> |
6707 <insert-template name="gui.init_style_option"> | 6669 <insert-template name="gui.init_style_option"> |
6708 <replace from="%TYPE" to="QStyleOptionGroupBox"/> | 6670 <replace from="%TYPE" to="QStyleOptionGroupBox"/> |
6709 </insert-template> | 6671 </insert-template> |
6710 </inject-code> | 6672 </inject-code>--> |
6711 </object-type> | 6673 </object-type> |
6712 | 6674 |
6713 <object-type name="QStackedWidget"> | 6675 <object-type name="QStackedWidget"> |
6714 <modify-function signature="addWidget(QWidget*)"> | 6676 <modify-function signature="addWidget(QWidget*)"> |
6715 <modify-argument index="1"> | 6677 <modify-argument index="1"> |
6773 <object-type name="QLCDNumber"/> | 6735 <object-type name="QLCDNumber"/> |
6774 | 6736 |
6775 <object-type name="QSplashScreen"> | 6737 <object-type name="QSplashScreen"> |
6776 <modify-function signature="showMessage(const QString &, int, const QColor &)"> | 6738 <modify-function signature="showMessage(const QString &, int, const QColor &)"> |
6777 <modify-argument index="3"> | 6739 <modify-argument index="3"> |
6778 <replace-default-expression with="QColor.black"/> | 6740 <replace-default-expression with="QColor.Black"/> |
6779 </modify-argument> | 6741 </modify-argument> |
6780 </modify-function> | 6742 </modify-function> |
6781 <modify-function signature="repaint()" remove="all"/> | 6743 <modify-function signature="repaint()" remove="all"/> |
6782 <modify-function signature="drawContents(QPainter*)"> | 6744 <modify-function signature="drawContents(QPainter*)"> |
6783 <modify-argument index="1" invalidate-after-use="yes"/> | 6745 <modify-argument index="1" invalidate-after-use="yes"/> |
7182 </modify-function> | 7144 </modify-function> |
7183 --> | 7145 --> |
7184 </object-type> | 7146 </object-type> |
7185 | 7147 |
7186 <object-type name="QAbstractTableModel"> | 7148 <object-type name="QAbstractTableModel"> |
7149 <!-- <modify-function signature="parent(const QModelIndex &)const" remove="all"/> | |
7150 <modify-function signature="hasChildren(const QModelIndex &)const" remove="all"/> --> | |
7187 <extra-includes> | 7151 <extra-includes> |
7188 <include file-name="QStringList" location="global"/> | 7152 <include file-name="QStringList" location="global"/> |
7189 <include file-name="QSize" location="global"/> | 7153 <include file-name="QSize" location="global"/> |
7190 </extra-includes> | 7154 </extra-includes> |
7191 </object-type> | 7155 </object-type> |
7960 <modify-argument index="1"> | 7924 <modify-argument index="1"> |
7961 <reference-count action="ignore"/> | 7925 <reference-count action="ignore"/> |
7962 </modify-argument> | 7926 </modify-argument> |
7963 </modify-function> | 7927 </modify-function> |
7964 </object-type> | 7928 </object-type> |
7965 <object-type name="QPrintPreviewDialog"/> | 7929 <object-type name="QPrintPreviewDialog"> |
7930 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> | |
7931 </object-type> | |
7966 <object-type name="QPrintPreviewWidget"/> | 7932 <object-type name="QPrintPreviewWidget"/> |
7967 <object-type name="QStyledItemDelegate"> | 7933 <object-type name="QStyledItemDelegate"> |
7968 <modify-function signature="setItemEditorFactory(QItemEditorFactory*)"> | 7934 <modify-function signature="setItemEditorFactory(QItemEditorFactory*)"> |
7969 <modify-argument index="1"> | 7935 <modify-argument index="1"> |
7970 <reference-count action="set" variable-name="__rcItemEditorFactory"/> | 7936 <reference-count action="set" variable-name="__rcItemEditorFactory"/> |
7978 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const"> | 7944 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const"> |
7979 <modify-argument index="1"> | 7945 <modify-argument index="1"> |
7980 <reference-count action="ignore"/> | 7946 <reference-count action="ignore"/> |
7981 </modify-argument> | 7947 </modify-argument> |
7982 </modify-function> | 7948 </modify-function> |
7983 | 7949 <!-- |
7984 <modify-function signature="initStyleOption(QStyleOptionViewItem*,QModelIndex)const"> | 7950 <modify-function signature="initStyleOption(QStyleOptionViewItem*,QModelIndex)const"> |
7985 <modify-argument index="1"> | 7951 <modify-argument index="1"> |
7986 <conversion-rule class="shell"> | 7952 <conversion-rule class="shell"> |
7987 jobject %out = qtjambi_from_object(__jni_env, %in, "QStyleOptionViewItem", "com/trolltech/qt/gui/", "Lcom_trolltech_qt_gui_QStyleOption_2", false); | 7953 jobject %out = qtjambi_from_object(__jni_env, %in, "QStyleOptionViewItem", "com/trolltech/qt/gui/", "Lcom_trolltech_qt_gui_QStyleOption_2", false); |
7988 </conversion-rule> | 7954 </conversion-rule> |
7990 QStyleOptionViewItem *%out = (QStyleOptionViewItem *) qtjambi_to_object(__jni_env, %in); | 7956 QStyleOptionViewItem *%out = (QStyleOptionViewItem *) qtjambi_to_object(__jni_env, %in); |
7991 </conversion-rule> | 7957 </conversion-rule> |
7992 <replace-type modified-type="qt.gui.QStyleOptionViewItem"/> | 7958 <replace-type modified-type="qt.gui.QStyleOptionViewItem"/> |
7993 </modify-argument> | 7959 </modify-argument> |
7994 </modify-function> | 7960 </modify-function> |
7961 --> | |
7995 </object-type> | 7962 </object-type> |
7996 | 7963 |
7997 <interface-type name="QAccessibleFactoryInterface" java-name="QAbstractAccessibleFactory"/> | 7964 <interface-type name="QAccessibleFactoryInterface" java-name="QAbstractAccessibleFactory"/> |
7998 <interface-type name="QIconEngineFactoryInterfaceV2" java-name="QAbstractIconEngineFactoryV2"/> | 7965 <interface-type name="QIconEngineFactoryInterfaceV2" java-name="QAbstractIconEngineFactoryV2"/> |
7999 <interface-type name="QImageIOHandlerFactoryInterface" java-name="QAbstractImageIOHandlerFactory"/> | 7966 <interface-type name="QImageIOHandlerFactoryInterface" java-name="QAbstractImageIOHandlerFactory"/> |
8000 <interface-type name="QInputContextFactoryInterface" java-name="QAbstractInputContextFactory"/> | 7967 <interface-type name="QInputContextFactoryInterface" java-name="QAbstractInputContextFactory"/> |
8001 <interface-type name="QStyleFactoryInterface" java-name="QAbstractStyleFactory"/> | 7968 <interface-type name="QStyleFactoryInterface" java-name="QAbstractStyleFactory"/> |
8002 <interface-type name="QTextCodecFactoryInterface" java-name="QAbstractTextCodecFactory"/> | 7969 <interface-type name="QTextCodecFactoryInterface" java-name="QAbstractTextCodecFactory"/> |
8003 <interface-type name="QPictureFormatInterface" java-name="QAbstractPictureFormat"> | 7970 <interface-type name="QPictureFormatInterface" java-name="QAbstractPictureFormat"> |
8004 <modify-function signature="loadPicture(QString,QString,QPicture*)"> | 7971 <!-- <modify-function signature="loadPicture(QString,QString,QPicture*)"> |
8005 <modify-argument index="3"> | 7972 <modify-argument index="3"> |
8006 <replace-type modified-type="qt.gui.QPicture"/> | 7973 <replace-type modified-type="QPicture"/> |
8007 <conversion-rule class="shell"> | 7974 <conversion-rule class="shell"> |
8008 jobject %out = qtjambi_from_object(__jni_env, %in, "QPicture", "com/trolltech/qt/gui/", false); | 7975 jobject %out = qtjambi_from_object(__jni_env, %in, "QPicture", "com/trolltech/qt/gui/", false); |
8009 jobject __tmp = %out; | 7976 jobject __tmp = %out; |
8010 </conversion-rule> | 7977 </conversion-rule> |
8011 <conversion-rule class="native"> | 7978 <conversion-rule class="native"> |
8022 </conversion-rule> | 7989 </conversion-rule> |
8023 <conversion-rule class="native"> | 7990 <conversion-rule class="native"> |
8024 jboolean %out = (jboolean) %in; | 7991 jboolean %out = (jboolean) %in; |
8025 </conversion-rule> | 7992 </conversion-rule> |
8026 </modify-argument> | 7993 </modify-argument> |
8027 </modify-function> | 7994 </modify-function>--> |
8028 </interface-type> | 7995 </interface-type> |
8029 | 7996 |
8030 <object-type name="QIconEnginePluginV2"/> | 7997 <object-type name="QIconEnginePluginV2"/> |
8031 <object-type name="QAccessiblePlugin"/> | 7998 <object-type name="QAccessiblePlugin"/> |
8032 <object-type name="QImageIOPlugin"/> | 7999 <object-type name="QImageIOPlugin"/> |