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