From 4802e21bd82cbfe334d6263bcb85f8486ca8589a Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Fri, 7 Apr 2017 10:44:06 +0200 Subject: Update plugins.qmltypes to 1.5 Change-Id: Iad422ed29cf1781b4537c747bbe498c32f1e5ef0 Reviewed-by: Allan Sandfeld Jensen Reviewed-by: Kai Koehne --- src/webengine/plugin/plugins.qmltypes | 108 ++++++++++++++++++++++++++-------- 1 file changed, 84 insertions(+), 24 deletions(-) (limited to 'src/webengine/plugin/plugins.qmltypes') diff --git a/src/webengine/plugin/plugins.qmltypes b/src/webengine/plugin/plugins.qmltypes index 48a572866..459d56c75 100644 --- a/src/webengine/plugin/plugins.qmltypes +++ b/src/webengine/plugin/plugins.qmltypes @@ -4,7 +4,7 @@ import QtQuick.tooling 1.2 // It is used for QML tooling purposes only. // // This file was auto-generated by: -// 'qmlplugindump -defaultplatform -dependencies dependencies.json -nonrelocatable QtWebEngine 1.4' +// 'qmlplugindump -defaultplatform -dependencies dependencies.json -nonrelocatable QtWebEngine 1.5' Module { dependencies: ["QtQuick 2.6"] @@ -118,10 +118,11 @@ Module { "QtWebEngine/WebEngineDownloadItem 1.1", "QtWebEngine/WebEngineDownloadItem 1.2", "QtWebEngine/WebEngineDownloadItem 1.3", - "QtWebEngine/WebEngineDownloadItem 1.4" + "QtWebEngine/WebEngineDownloadItem 1.4", + "QtWebEngine/WebEngineDownloadItem 1.5" ] isCreatable: false - exportMetaObjectRevisions: [0, 1, 2, 3] + exportMetaObjectRevisions: [0, 1, 2, 3, 4] Enum { name: "DownloadState" values: { @@ -141,6 +142,35 @@ Module { "MimeHtmlSaveFormat": 2 } } + Enum { + name: "DownloadInterruptReason" + values: { + "NoReason": 0, + "FileFailed": 1, + "FileAccessDenied": 2, + "FileNoSpace": 3, + "FileNameTooLong": 5, + "FileTooLarge": 6, + "FileVirusInfected": 7, + "FileTransientError": 10, + "FileBlocked": 11, + "FileSecurityCheckFailed": 12, + "FileTooShort": 13, + "FileHashMismatch": 14, + "NetworkFailed": 20, + "NetworkTimeout": 21, + "NetworkDisconnected": 22, + "NetworkServerDown": 23, + "NetworkInvalidRequest": 24, + "ServerFailed": 30, + "ServerBadContent": 33, + "ServerUnauthorized": 34, + "ServerCertProblem": 35, + "ServerForbidden": 36, + "ServerUnreachable": 37, + "UserCanceled": 40 + } + } Enum { name: "DownloadType" values: { @@ -158,9 +188,17 @@ Module { Property { name: "mimeType"; revision: 1; type: "string"; isReadonly: true } Property { name: "path"; type: "string" } Property { name: "type"; revision: 3; type: "DownloadType"; isReadonly: true } + Property { + name: "interruptReason" + revision: 4 + type: "DownloadInterruptReason" + isReadonly: true + } + Property { name: "interruptReasonString"; revision: 4; type: "string"; isReadonly: true } Signal { name: "savePageFormatChanged"; revision: 2 } Signal { name: "mimeTypeChanged"; revision: 1 } Signal { name: "typeChanged"; revision: 3 } + Signal { name: "interruptReasonChanged"; revision: 4 } Method { name: "accept" } Method { name: "cancel" } } @@ -310,14 +348,18 @@ Module { Component { name: "QQuickWebEngineNewViewRequest" prototype: "QObject" - exports: ["QtWebEngine/WebEngineNewViewRequest 1.1"] + exports: [ + "QtWebEngine/WebEngineNewViewRequest 1.1", + "QtWebEngine/WebEngineNewViewRequest 1.5" + ] isCreatable: false - exportMetaObjectRevisions: [0] + exportMetaObjectRevisions: [0, 1] Property { name: "destination" type: "QQuickWebEngineView::NewViewDestination" isReadonly: true } + Property { name: "requestedUrl"; revision: 1; type: "QUrl"; isReadonly: true } Property { name: "userInitiated"; type: "bool"; isReadonly: true } Method { name: "openIn" @@ -331,9 +373,10 @@ Module { "QtWebEngine/WebEngineProfile 1.1", "QtWebEngine/WebEngineProfile 1.2", "QtWebEngine/WebEngineProfile 1.3", - "QtWebEngine/WebEngineProfile 1.4" + "QtWebEngine/WebEngineProfile 1.4", + "QtWebEngine/WebEngineProfile 1.5" ] - exportMetaObjectRevisions: [0, 1, 2, 3] + exportMetaObjectRevisions: [0, 1, 2, 3, 4] Enum { name: "HttpCacheType" values: { @@ -361,6 +404,13 @@ Module { Property { name: "httpCacheMaximumSize"; type: "int" } Property { name: "spellCheckLanguages"; revision: 3; type: "QStringList" } Property { name: "spellCheckEnabled"; revision: 3; type: "bool" } + Property { + name: "userScripts" + revision: 4 + type: "QQuickWebEngineScript" + isList: true + isReadonly: true + } Signal { name: "httpAcceptLanguageChanged"; revision: 1 } Signal { name: "spellCheckLanguagesChanged"; revision: 3 } Signal { name: "spellCheckEnabledChanged"; revision: 3 } @@ -403,53 +453,53 @@ Module { Property { name: "runOnSubframes"; type: "bool" } Signal { name: "nameChanged" - Parameter { name: "arg"; type: "string" } + Parameter { name: "name"; type: "string" } } Signal { name: "sourceUrlChanged" - Parameter { name: "arg"; type: "QUrl" } + Parameter { name: "url"; type: "QUrl" } } Signal { name: "sourceCodeChanged" - Parameter { name: "arg"; type: "string" } + Parameter { name: "code"; type: "string" } } Signal { name: "injectionPointChanged" - Parameter { name: "arg"; type: "InjectionPoint" } + Parameter { name: "injectionPoint"; type: "InjectionPoint" } } Signal { name: "worldIdChanged" - Parameter { name: "arg"; type: "ScriptWorldId" } + Parameter { name: "scriptWorldId"; type: "ScriptWorldId" } } Signal { name: "runOnSubframesChanged" - Parameter { name: "arg"; type: "bool" } + Parameter { name: "on"; type: "bool" } } + Method { name: "toString"; type: "string" } Method { name: "setName" - Parameter { name: "arg"; type: "string" } + Parameter { name: "name"; type: "string" } } Method { name: "setSourceUrl" - Parameter { name: "arg"; type: "QUrl" } + Parameter { name: "url"; type: "QUrl" } } Method { name: "setSourceCode" - Parameter { name: "arg"; type: "string" } + Parameter { name: "code"; type: "string" } } Method { name: "setInjectionPoint" - Parameter { name: "arg"; type: "InjectionPoint" } + Parameter { name: "injectionPoint"; type: "InjectionPoint" } } Method { name: "setWorldId" - Parameter { name: "arg"; type: "ScriptWorldId" } + Parameter { name: "scriptWorldId"; type: "ScriptWorldId" } } Method { name: "setRunOnSubframes" - Parameter { name: "arg"; type: "bool" } + Parameter { name: "on"; type: "bool" } } - Method { name: "toString"; type: "string" } } Component { name: "QQuickWebEngineSettings" @@ -458,10 +508,11 @@ Module { "QtWebEngine/WebEngineSettings 1.1", "QtWebEngine/WebEngineSettings 1.2", "QtWebEngine/WebEngineSettings 1.3", - "QtWebEngine/WebEngineSettings 1.4" + "QtWebEngine/WebEngineSettings 1.4", + "QtWebEngine/WebEngineSettings 1.5" ] isCreatable: false - exportMetaObjectRevisions: [0, 1, 2, 3] + exportMetaObjectRevisions: [0, 1, 2, 3, 4] Property { name: "autoLoadImages"; type: "bool" } Property { name: "javascriptEnabled"; type: "bool" } Property { name: "javascriptCanOpenWindows"; type: "bool" } @@ -484,6 +535,7 @@ Module { Property { name: "focusOnNavigationEnabled"; revision: 3; type: "bool" } Property { name: "printElementBackgrounds"; revision: 3; type: "bool" } Property { name: "allowRunningInsecureContent"; revision: 3; type: "bool" } + Property { name: "allowGeolocationOnInsecureOrigins"; revision: 4; type: "bool" } Signal { name: "fullScreenSupportEnabledChanged"; revision: 1 } Signal { name: "screenCaptureEnabledChanged"; revision: 2 } Signal { name: "webGLEnabledChanged"; revision: 2 } @@ -493,6 +545,7 @@ Module { Signal { name: "focusOnNavigationEnabledChanged"; revision: 3 } Signal { name: "printElementBackgroundsChanged"; revision: 3 } Signal { name: "allowRunningInsecureContentChanged"; revision: 3 } + Signal { name: "allowGeolocationOnInsecureOriginsChanged"; revision: 4 } } Component { name: "QQuickWebEngineSingleton" @@ -519,9 +572,10 @@ Module { "QtWebEngine/WebEngineView 1.1", "QtWebEngine/WebEngineView 1.2", "QtWebEngine/WebEngineView 1.3", - "QtWebEngine/WebEngineView 1.4" + "QtWebEngine/WebEngineView 1.4", + "QtWebEngine/WebEngineView 1.5" ] - exportMetaObjectRevisions: [0, 1, 2, 3, 4] + exportMetaObjectRevisions: [0, 1, 2, 3, 4, 5] Enum { name: "NavigationRequestAction" values: { @@ -944,6 +998,12 @@ Module { isPointer: true } } + Signal { + name: "pdfPrintingFinished" + revision: 5 + Parameter { name: "filePath"; type: "string" } + Parameter { name: "success"; type: "bool" } + } Method { name: "runJavaScript" Parameter { type: "string" } -- cgit v1.2.3