1
|
1 <?xml version="1.0"?>
|
|
2 <typesystem>
|
|
3 <namespace-type name="WebCore"/>
|
|
4
|
|
5 <enum-type name="QWebSettings::FontFamily"/>
|
|
6 <enum-type name="QWebSettings::FontSize"/>
|
|
7 <enum-type name="QWebSettings::WebGraphic"/>
|
|
8 <enum-type name="QWebSettings::WebAttribute"/>
|
|
9 <enum-type name="QWebPage::NavigationType"/>
|
|
10 <enum-type name="QWebPage::WebAction"/>
|
|
11 <enum-type name="QWebPage::WebWindowType"/>
|
|
12 <enum-type name="QWebPage::FindFlag" flags="QWebPage::FindFlags" />
|
|
13 <enum-type name="QWebPage::LinkDelegationPolicy" />
|
|
14
|
|
15 <object-type name="QWebView">
|
|
16 <modify-function signature="setPage(QWebPage*)">
|
|
17 <modify-argument index="1">
|
|
18 <define-ownership class="java" owner="c++"/>
|
|
19 </modify-argument>
|
|
20 </modify-function>
|
|
21 </object-type>
|
|
22 <object-type name="QWebFrame">
|
|
23 <modify-function signature="addToJavaScriptWindowObject(QString,QObject*)">
|
|
24 <modify-argument index="2">
|
|
25 <reference-count action="ignore"/>
|
|
26 </modify-argument>
|
|
27 </modify-function>
|
|
28 </object-type>
|
|
29 <object-type name="QWebHistory"/>
|
|
30 <object-type name="QWebSettings"/>
|
|
31 <object-type name="QWebPage">
|
|
32 <inject-code class="java">
|
|
33 <import-file name="typesystem_webkit-java.java" quote-after-line="class QWebPage___" quote-before-line="}// class"/>
|
|
34 </inject-code>
|
|
35 <modify-function signature="javaScriptPrompt(QWebFrame*,QString,QString,QString*)">
|
|
36 <access modifier="private"/>
|
|
37 </modify-function>
|
|
38 <modify-function signature="setView(QWidget*)">
|
|
39 <modify-argument index="1">
|
|
40 <reference-count action="set" variable-name="__rcView"/>
|
|
41 </modify-argument>
|
|
42 </modify-function>
|
|
43 <modify-function signature="setNetworkAccessManager(QNetworkAccessManager*)">
|
|
44 <modify-argument index="1">
|
|
45 <define-ownership class="java" owner="c++"/>
|
|
46 </modify-argument>
|
|
47 </modify-function>
|
|
48 </object-type>
|
|
49
|
|
50 <value-type name="QWebHitTestResult">
|
|
51 <modify-function signature="operator=(QWebHitTestResult)" remove="all" />
|
|
52 </value-type>
|
|
53
|
|
54 <value-type name="QWebHistoryItem">
|
|
55 <custom-constructor>
|
|
56 return new QWebHistoryItem(*copy);
|
|
57 </custom-constructor>
|
|
58 <custom-destructor>
|
|
59 delete copy;
|
|
60 </custom-destructor>
|
|
61 <modify-function signature="operator=(QWebHistoryItem)" remove="all"/>
|
|
62 </value-type>
|
|
63
|
|
64 <object-type name="QWebHistoryInterface">
|
|
65 <modify-function signature="setDefaultInterface(QWebHistoryInterface*)">
|
|
66 <modify-argument index="1">
|
|
67 <reference-count action="set" variable-name="__rcInterface"/>
|
|
68 </modify-argument>
|
|
69 </modify-function>
|
|
70 </object-type>
|
|
71
|
|
72 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWebFrame::QWebFrame', unmatched parameter type 'QWebFrameData*'" />
|
|
73 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWebSettings::QWebSettings', unmatched parameter type 'WebCore::Settings*'" />
|
|
74
|
|
75 <!-- Needed to avoid warnings on compilers that don't support webkit -->
|
|
76 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebPage' for enum 'NavigationRequestResponse' is not declared" />
|
|
77 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebSettings' for enum 'WebAttribute' is not declared" />
|
|
78 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebSettings' is specified in typesystem, but not defined. This could potentially lead to compilation errors." />
|
|
79 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebHistoryItem' is specified in typesystem, but not defined. This could potentially lead to compilation errors." />
|
|
80 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebHistoryInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors." />
|
|
81 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebPage' for enum 'WebAction' is not declared" />
|
|
82 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebSettings' for enum 'FontSize' is not declared" />
|
|
83 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebSettings' for enum 'WebGraphic' is not declared" />
|
|
84 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebPage' for enum 'NavigationType' is not declared" />
|
|
85 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebSettings' for enum 'FontType' is not declared" />
|
|
86 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebFrame' is specified in typesystem, but not defined. This could potentially lead to compilation errors." />
|
|
87 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebHistory' is specified in typesystem, but not defined. This could potentially lead to compilation errors." />
|
|
88 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebView' is specified in typesystem, but not defined. This could potentially lead to compilation errors." />
|
|
89 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPage' is specified in typesystem, but not defined. This could potentially lead to compilation errors." />
|
|
90
|
|
91 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebHitTestResult' is specified in typesystem, but not defined. This could potentially lead to compilation errors." />
|
|
92 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebPage' for enum 'FindFlag' is not declared" />
|
|
93 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebPage' for enum 'LinkDelegationPolicy' is not declared" />
|
|
94 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebSettings' for enum 'FontFamily' is not declared" />
|
|
95 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.webkit.QWebPage' for enum 'WebWindowType' is not declared" />
|
|
96
|
|
97 </typesystem>
|