aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@digia.com>2015-07-30 12:33:32 +0200
committerNico Vertriest <nico.vertriest@digia.com>2015-08-04 12:15:41 +0000
commit372804f1f64918e281a29cd2f849f7e1b1488eee (patch)
treee7707c00c3e002276ed734508561fd39bbb7d81f /src/qml
parentd296ebfe6585010a38db0e3043ef5ceaa6a30883 (diff)
Doc: added documentation to undocumented methods
Task-number: QTBUG-36985 Change-Id: Idc6f7961f4f02f66dc3d4a8e5d09dd15d43b7757 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Diffstat (limited to 'src/qml')
-rw-r--r--src/qml/qml/qqmlabstracturlinterceptor.cpp2
-rw-r--r--src/qml/qml/qqmlengine.cpp15
-rw-r--r--src/qml/qml/qqmlfileselector.cpp3
3 files changed, 19 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlabstracturlinterceptor.cpp b/src/qml/qml/qqmlabstracturlinterceptor.cpp
index e64b33b181..cb57bc2146 100644
--- a/src/qml/qml/qqmlabstracturlinterceptor.cpp
+++ b/src/qml/qml/qqmlabstracturlinterceptor.cpp
@@ -58,7 +58,7 @@
To implement support for a custom networked scheme, see setNetworkAccessManagerFactory.
*/
-/*
+/*!
\enum QQmlAbstractUrlInterceptor::DataType
Specifies where URL interception is taking place.
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index 392cbe9371..ffc890a2cf 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -260,6 +260,18 @@ void QQmlEnginePrivate::activateDesignerMode()
on producing the image without blocking the main thread.
*/
+/*!
+ \fn QQmlImageProviderBase::imageType() const
+
+ Implement this method to return the image type supported by this image provider.
+*/
+
+/*!
+ \fn QQmlImageProviderBase::flags() const
+
+ Implement this to return the properties of this image provider.
+*/
+
/*! \internal */
QQmlImageProviderBase::QQmlImageProviderBase()
{
@@ -1354,6 +1366,9 @@ QQmlEngine::ObjectOwnership QQmlEngine::objectOwnership(QObject *object)
return ddata->indestructible?CppOwnership:JavaScriptOwnership;
}
+/*!
+ \reimp
+*/
bool QQmlEngine::event(QEvent *e)
{
Q_D(QQmlEngine);
diff --git a/src/qml/qml/qqmlfileselector.cpp b/src/qml/qml/qqmlfileselector.cpp
index 3ee7bb3040..8597e8a5c7 100644
--- a/src/qml/qml/qqmlfileselector.cpp
+++ b/src/qml/qml/qqmlfileselector.cpp
@@ -102,6 +102,9 @@ QQmlFileSelector::QQmlFileSelector(QQmlEngine* engine, QObject* parent)
d->engine->setUrlInterceptor(d->myInstance.data());
}
+/*!
+ Destroys the QQmlFileSelector object.
+*/
QQmlFileSelector::~QQmlFileSelector()
{
Q_D(QQmlFileSelector);