typesystem_webkit-common.xml
163 lines
| 11.7 KiB
| application/xml
|
XmlLexer
/ generator / typesystem_webkit-common.xml
florianlink
|
r10 | <?xml version="1.0"?> | ||
<typesystem> | ||||
<namespace-type name="WebCore"/> | ||||
<enum-type name="QWebSettings::FontFamily"/> | ||||
<enum-type name="QWebSettings::FontSize"/> | ||||
<enum-type name="QWebSettings::WebGraphic"/> | ||||
florianlink
|
r108 | <enum-type name="QWebSettings::WebAttribute"> | ||
<reject-enum-value name="LocalStorageEnabled" /> | ||||
</enum-type> | ||||
<enum-type name="QWebPage::Extension" /> | ||||
florianlink
|
r10 | <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" /> | ||||
florianlink
|
r108 | <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" /> | ||||
florianlink
|
r10 | <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> | ||||
florianlink
|
r108 | <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> | ||||
florianlink
|
r10 | <object-type name="QWebSettings"/> | ||
florianlink
|
r108 | <object-type name="QWebPage"> | ||
<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> | ||||
florianlink
|
r10 | |||
<value-type name="QWebHitTestResult"> | ||||
<modify-function signature="operator=(QWebHitTestResult)" remove="all" /> | ||||
</value-type> | ||||
<value-type name="QWebHistoryItem"> | ||||
florianlink
|
r108 | <custom-constructor> | ||
return new QWebHistoryItem(*copy); | ||||
</custom-constructor> | ||||
<custom-destructor> | ||||
delete copy; | ||||
</custom-destructor> | ||||
florianlink
|
r10 | <modify-function signature="operator=(QWebHistoryItem)" remove="all"/> | ||
</value-type> | ||||
<object-type name="QWebHistoryInterface"> | ||||
florianlink
|
r108 | <modify-function signature="setDefaultInterface(QWebHistoryInterface*)"> | ||
<modify-argument index="1"> | ||||
<reference-count action="set" variable-name="__rcInterface"/> | ||||
</modify-argument> | ||||
</modify-function> | ||||
florianlink
|
r10 | </object-type> | ||
florianlink
|
r108 | <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" /> | ||||
<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> | ||||
florianlink
|
r10 | </value-type> | ||
florianlink
|
r108 | <object-type name="QWebPluginFactory::ExtensionOption" /> | ||
<object-type name="QWebPluginFactory::ExtensionReturn" /> | ||||
<object-type name="QWebPage::ErrorPageExtensionOption" /> | ||||
<object-type name="QWebPage::ErrorPageExtensionReturn" /> | ||||
florianlink
|
r10 | |||
<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*'" /> | ||||
florianlink
|
r108 | <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." /> | ||||
florianlink
|
r10 | |||
<!-- Needed to avoid warnings on compilers that don't support webkit --> | ||||
florianlink
|
r108 | <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." /> | ||||
florianlink
|
r10 | <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" /> | ||||
florianlink
|
r108 | <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." /> | ||||
florianlink
|
r10 | </typesystem> | ||