|
|
<?xml version="1.0"?>
|
|
|
<typesystem package="com.trolltech.qt.webkit"><rejection class="QWebHistory"/><rejection class="QWebHistoryItem"/><rejection class="WebCore"/><suppress-warning text="WARNING(MetaJavaBuilder) :: skipping field 'QWebPluginFactory_Plugin::mimeTypes' with unmatched type 'QList<MimeType>'"/>
|
|
|
<namespace-type name="WebCore"/>
|
|
|
|
|
|
<enum-type name="QWebSettings::FontFamily"/>
|
|
|
<enum-type name="QWebSettings::FontSize"/>
|
|
|
<enum-type name="QWebSettings::WebGraphic"/>
|
|
|
<enum-type name="QWebSettings::WebAttribute">
|
|
|
<reject-enum-value name="LocalStorageEnabled"/>
|
|
|
</enum-type>
|
|
|
<enum-type name="QWebPage::Extension"/>
|
|
|
<enum-type name="QWebPage::NavigationType"/>
|
|
|
<enum-type name="QWebPage::WebAction"/>
|
|
|
<enum-type name="QWebPage::WebWindowType"/>
|
|
|
<enum-type name="QWebPage::FindFlag" flags="QWebPage::FindFlags"/>
|
|
|
<enum-type name="QWebPage::LinkDelegationPolicy"/>
|
|
|
<enum-type name="QWebPluginFactory::Extension"/>
|
|
|
<enum-type name="QWebElement::StyleResolveStrategy"/>
|
|
|
<enum-type name="QWebHistory::HistoryStateVersion">
|
|
|
<reject-enum-value name="DefaultHistoryVersion"/>
|
|
|
</enum-type>
|
|
|
<enum-type name="QWebPage::ErrorDomain"/>
|
|
|
|
|
|
|
|
|
<object-type name="QGraphicsWebView"/>
|
|
|
<object-type name="QWebView">
|
|
|
<modify-function signature="setPage(QWebPage*)">
|
|
|
<modify-argument index="1">
|
|
|
<define-ownership class="java" owner="c++"/>
|
|
|
</modify-argument>
|
|
|
</modify-function>
|
|
|
</object-type>
|
|
|
<object-type name="QWebFrame">
|
|
|
<modify-function signature="addToJavaScriptWindowObject(QString,QObject*)">
|
|
|
<modify-argument index="2">
|
|
|
<reference-count action="ignore"/>
|
|
|
</modify-argument>
|
|
|
</modify-function>
|
|
|
</object-type>
|
|
|
<object-type name="QWebPage::ExtensionOption"/>
|
|
|
<object-type name="QWebPage::ChooseMultipleFilesExtensionOption"/>
|
|
|
<object-type name="QWebPage::ExtensionReturn"/>
|
|
|
<object-type name="QWebPage::ChooseMultipleFilesExtensionReturn"/>
|
|
|
<object-type name="QWebHistory">
|
|
|
<modify-function signature="saveState(QWebHistory::HistoryStateVersion)const">
|
|
|
<modify-argument index="1"><remove-default-expression/></modify-argument>
|
|
|
</modify-function>
|
|
|
</object-type>
|
|
|
<object-type name="QWebSettings"/>
|
|
|
<object-type name="QWebPage">
|
|
|
<inject-code class="java">
|
|
|
<!-- <import-file name="typesystem_webkit-java.java" quote-after-line="class QWebPage___" quote-before-line="}// class"/> -->
|
|
|
</inject-code>
|
|
|
<modify-function signature="javaScriptPrompt(QWebFrame*,QString,QString,QString*)">
|
|
|
<access modifier="private"/>
|
|
|
</modify-function>
|
|
|
<modify-function signature="setView(QWidget*)">
|
|
|
<modify-argument index="1">
|
|
|
<reference-count action="set" variable-name="__rcView"/>
|
|
|
</modify-argument>
|
|
|
</modify-function>
|
|
|
<modify-function signature="setNetworkAccessManager(QNetworkAccessManager*)">
|
|
|
<modify-argument index="1">
|
|
|
<define-ownership class="java" owner="c++"/>
|
|
|
</modify-argument>
|
|
|
</modify-function>
|
|
|
</object-type>
|
|
|
|
|
|
<value-type name="QWebHitTestResult">
|
|
|
<modify-function signature="operator=(QWebHitTestResult)" remove="all"/>
|
|
|
</value-type>
|
|
|
|
|
|
<value-type name="QWebHistoryItem">
|
|
|
<custom-constructor>
|
|
|
return new QWebHistoryItem(*copy);
|
|
|
</custom-constructor>
|
|
|
<custom-destructor>
|
|
|
delete copy;
|
|
|
</custom-destructor>
|
|
|
<modify-function signature="operator=(QWebHistoryItem)" remove="all"/>
|
|
|
</value-type>
|
|
|
|
|
|
<object-type name="QWebHistoryInterface">
|
|
|
<modify-function signature="setDefaultInterface(QWebHistoryInterface*)">
|
|
|
<modify-argument index="1">
|
|
|
<reference-count action="set" variable-name="__rcInterface"/>
|
|
|
</modify-argument>
|
|
|
</modify-function>
|
|
|
</object-type>
|
|
|
|
|
|
<object-type name="QWebPluginFactory"/>
|
|
|
<object-type name="QWebPluginDatabase"/>
|
|
|
<object-type name="QWebInspector"/>
|
|
|
|
|
|
<value-type name="QWebPluginInfo"/>
|
|
|
<value-type name="QWebElement"/>
|
|
|
<value-type name="QWebPluginFactory::Plugin"/>
|
|
|
<value-type name="QWebPluginFactory::MimeType"/>
|
|
|
<!-- QtScript: disabled until we can support custom constructor -->
|
|
|
<!--
|
|
|
<value-type name="QWebSecurityOrigin">
|
|
|
<custom-constructor>
|
|
|
return new QWebSecurityOrigin(*copy);
|
|
|
</custom-constructor>
|
|
|
<custom-destructor>
|
|
|
delete copy;
|
|
|
</custom-destructor>
|
|
|
</value-type>
|
|
|
<value-type name="QWebDatabase">
|
|
|
<custom-constructor>
|
|
|
return new QWebDatabase(*copy);
|
|
|
</custom-constructor>
|
|
|
<custom-destructor>
|
|
|
delete copy;
|
|
|
</custom-destructor>
|
|
|
</value-type>
|
|
|
-->
|
|
|
<object-type name="QWebPluginFactory::ExtensionOption"/>
|
|
|
<object-type name="QWebPluginFactory::ExtensionReturn"/>
|
|
|
<object-type name="QWebPage::ErrorPageExtensionOption"/>
|
|
|
<object-type name="QWebPage::ErrorPageExtensionReturn"/>
|
|
|
|
|
|
<enum-type name="QWebFrame::RenderLayer"/>
|
|
|
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWebFrame::QWebFrame', unmatched parameter type 'QWebFrameData*'"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWebSettings::QWebSettings', unmatched parameter type 'WebCore::Settings*'"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWebPluginInfo::QWebPluginInfo', unmatched parameter type 'WebCore::PluginPackage*'"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWebElement::enclosingElement', unmatched parameter type 'WebCore::Node*'"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWebElement::QWebElement', unmatched parameter type 'WebCore::Node*'"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWebElement::QWebElement', unmatched parameter type 'WebCore::Element*'"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping field 'QWebPluginFactory_Plugin::mimeTypes' with unmatched type 'QList<MimeType>'"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QWebPluginInfo' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QWebPluginFactory_MimeType' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QWebElement' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/>
|
|
|
|
|
|
<!-- Needed to avoid warnings on compilers that don't support webkit -->
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPluginFactory::Plugin' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPluginFactory::ExtensionReturn' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPluginFactory::MimeType' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebPage' for enum 'Extension' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPluginFactory::ExtensionOption' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebPluginFactory' for enum 'Extension' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPluginFactory' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebPage' for enum 'NavigationRequestResponse' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebSettings' for enum 'WebAttribute' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebSettings' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebHistoryItem' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebHistoryInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebPage' for enum 'WebAction' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebSettings' for enum 'FontSize' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebSettings' for enum 'WebGraphic' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebPage' for enum 'NavigationType' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebSettings' for enum 'FontType' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebFrame' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebHistory' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebView' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPage' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebHitTestResult' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebPage' for enum 'FindFlag' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebPage' for enum 'LinkDelegationPolicy' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebSettings' for enum 'FontFamily' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.webkit.QWebPage' for enum 'WebWindowType' is not declared"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWebFrame::addToJavaScriptWindowObject', unmatched parameter type 'QScriptEngine::ValueOwnership'"/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebDatabase' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPage::ExtensionReturn' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPage::ExtensionOption' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPage::ChooseMultipleFilesExtensionOption' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebSecurityOrigin' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
<suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QWebPage::ChooseMultipleFilesExtensionReturn' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/>
|
|
|
|
|
|
</typesystem>
|
|
|
|