summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2016-09-19 15:10:24 +0200
committerKai Koehne <kai.koehne@qt.io>2016-09-19 15:09:57 +0000
commit062b9bf3cf202b199892ca7bbe6d934c9b059022 (patch)
treea7f01e3d31c12ccebe100fb685c5eb1ea408bb2b
parent2f24e3c307aecb657736310948c7cdaad5176678 (diff)
Doc: Fix types of \qmlproperty
Change-Id: Ie355f72a0bf575e66ab465fb2fcada0430ed8c7c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
-rw-r--r--src/webengine/api/qquickwebenginedownloaditem.cpp6
-rw-r--r--src/webengine/api/qquickwebengineprofile.cpp10
-rw-r--r--src/webengine/api/qquickwebenginesettings.cpp2
3 files changed, 9 insertions, 9 deletions
diff --git a/src/webengine/api/qquickwebenginedownloaditem.cpp b/src/webengine/api/qquickwebenginedownloaditem.cpp
index 4e71c750d..08a8f15e9 100644
--- a/src/webengine/api/qquickwebenginedownloaditem.cpp
+++ b/src/webengine/api/qquickwebenginedownloaditem.cpp
@@ -158,7 +158,7 @@ void QQuickWebEngineDownloadItem::cancel()
}
/*!
- \qmlproperty quint32 WebEngineDownloadItem::id
+ \qmlproperty int WebEngineDownloadItem::id
Holds the download item's ID.
*/
@@ -217,7 +217,7 @@ qint64 QQuickWebEngineDownloadItem::receivedBytes() const
}
/*!
- \qmlproperty QString WebEngineDownloadItem::mimeType
+ \qmlproperty string WebEngineDownloadItem::mimeType
\since QtWebEngine 1.2
Holds the MIME type of the download.
@@ -230,7 +230,7 @@ QString QQuickWebEngineDownloadItem::mimeType() const
}
/*!
- \qmlproperty QString WebEngineDownloadItem::path
+ \qmlproperty string WebEngineDownloadItem::path
Holds the full target path where data is being downloaded to.
diff --git a/src/webengine/api/qquickwebengineprofile.cpp b/src/webengine/api/qquickwebengineprofile.cpp
index 013696f7e..3af027b73 100644
--- a/src/webengine/api/qquickwebengineprofile.cpp
+++ b/src/webengine/api/qquickwebengineprofile.cpp
@@ -264,7 +264,7 @@ QQuickWebEngineProfile::~QQuickWebEngineProfile()
}
/*!
- \qmlproperty QString WebEngineProfile::storageName
+ \qmlproperty string WebEngineProfile::storageName
The storage name that is used to create separate subdirectories for each profile that uses
the disk for storing persistent data and cache.
@@ -343,7 +343,7 @@ void QQuickWebEngineProfile::setOffTheRecord(bool offTheRecord)
}
/*!
- \qmlproperty QString WebEngineProfile::persistentStoragePath
+ \qmlproperty string WebEngineProfile::persistentStoragePath
The path to the location where the persistent data for the browser and web content are
stored. Persistent data includes persistent cookies, HTML5 local storage, and visited links.
@@ -380,7 +380,7 @@ void QQuickWebEngineProfile::setPersistentStoragePath(const QString &path)
}
/*!
- \qmlproperty QString WebEngineProfile::cachePath
+ \qmlproperty string WebEngineProfile::cachePath
The path to the location where the profile's caches are stored, in particular the HTTP cache.
@@ -415,7 +415,7 @@ void QQuickWebEngineProfile::setCachePath(const QString &path)
}
/*!
- \qmlproperty QString WebEngineProfile::httpUserAgent
+ \qmlproperty string WebEngineProfile::httpUserAgent
The user-agent string sent with HTTP to identify the browser.
*/
@@ -548,7 +548,7 @@ void QQuickWebEngineProfile::setHttpCacheMaximumSize(int maximumSize)
}
/*!
- \qmlproperty QString WebEngineProfile::httpAcceptLanguage
+ \qmlproperty string WebEngineProfile::httpAcceptLanguage
The value of the Accept-Language HTTP request-header field.
diff --git a/src/webengine/api/qquickwebenginesettings.cpp b/src/webengine/api/qquickwebenginesettings.cpp
index 525d6c8c4..c15115e60 100644
--- a/src/webengine/api/qquickwebenginesettings.cpp
+++ b/src/webengine/api/qquickwebenginesettings.cpp
@@ -235,7 +235,7 @@ bool QQuickWebEngineSettings::fullScreenSupportEnabled() const
}
/*!
- \qmlproperty QString WebEngineSettings::defaultTextEncoding
+ \qmlproperty string WebEngineSettings::defaultTextEncoding
\since QtWebEngine 1.2
Sets the default encoding. The value must be a string describing an encoding such as "utf-8" or