From 44c743c90cf51eddbf5b0bb3cf957c58fa0ef94f Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Tue, 19 Jan 2016 15:30:02 +0100 Subject: Doc: Removed Qt3DCollision namespace and module docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Besides that, fixed a few qdoc warnings. Change-Id: Ibaf8fd6ffbb93f3f2bd73fa5fedf06e94f6ac2eb Reviewed-by: Paul Lemire Reviewed-by: Topi Reiniƶ --- src/core/aspects/qabstractaspect.cpp | 21 +++++- src/core/nodes/qentity.cpp | 6 ++ src/core/nodes/qnode.cpp | 13 ++++ src/core/qbackendscenepropertychange.cpp | 7 ++ src/doc/qt3d.qdocconf | 3 +- src/doc/src/qt3d-index.qdoc | 5 +- src/doc/src/qt3d-module.qdoc | 7 -- src/doc/src/qt3dcollision-module.qdoc | 74 ---------------------- .../quick3d/items/quick3dnodeinstantiator.cpp | 3 + src/render/defaults/qphongalphamaterial.cpp | 2 + 10 files changed, 54 insertions(+), 87 deletions(-) delete mode 100644 src/doc/src/qt3dcollision-module.qdoc (limited to 'src') diff --git a/src/core/aspects/qabstractaspect.cpp b/src/core/aspects/qabstractaspect.cpp index 72ec7c502..2b7e02e68 100644 --- a/src/core/aspects/qabstractaspect.cpp +++ b/src/core/aspects/qabstractaspect.cpp @@ -81,13 +81,30 @@ QAbstractAspect::QAbstractAspect(QObject *parent) : QObject(*new QAbstractAspectPrivate, parent) { } +/*! + \typedef Qt3DCore::QAspectJobPtr + \relates Qt3DCore::QAbstractAspect + + A shared pointer for QAspectJob. +*/ + +/*! + \typedef Qt3DCore::QBackendNodeFunctorPtr + \relates Qt3DCore::QAbstractAspect + + A shared pointer for QBackendNodeFunctor. +*/ -/*! \internal */ +/*! + \internal +*/ QAbstractAspect::QAbstractAspect(QAbstractAspectPrivate &dd, QObject *parent) : QObject(dd, parent) { } - +/*! + Registers backend. +*/ void QAbstractAspect::registerBackendType(const QMetaObject &obj, const QBackendNodeFunctorPtr &functor) { Q_D(QAbstractAspect); diff --git a/src/core/nodes/qentity.cpp b/src/core/nodes/qentity.cpp index 7bca65917..c0396cb21 100644 --- a/src/core/nodes/qentity.cpp +++ b/src/core/nodes/qentity.cpp @@ -118,6 +118,12 @@ void QEntity::copy(const QNode *ref) addComponent(qobject_cast(ccclone)); } } +/*! + \typedef Qt3DCore::QComponentList + \relates Qt3DCore::QEntity + + List of QComponent pointers. +*/ /*! Returns the list of Qt3DCore::QComponent instances the entity is referencing. diff --git a/src/core/nodes/qnode.cpp b/src/core/nodes/qnode.cpp index 8378e1f5f..791754c24 100644 --- a/src/core/nodes/qnode.cpp +++ b/src/core/nodes/qnode.cpp @@ -537,6 +537,19 @@ void QNode::setParent(QNode *parent) emit parentChanged(parent); } +/*! + \typedef Qt3DCore::QNodePtr + \relates Qt3DCore::QNode + + A shared pointer for QNode. +*/ +/*! + \typedef Qt3DCore::QNodeList + \relates Qt3DCore::QNode + + List of QNode pointers. +*/ + /*! * Returns a list filled with the QNode children of the current * QNode instance. diff --git a/src/core/qbackendscenepropertychange.cpp b/src/core/qbackendscenepropertychange.cpp index a68edda39..c2b73084b 100644 --- a/src/core/qbackendscenepropertychange.cpp +++ b/src/core/qbackendscenepropertychange.cpp @@ -83,6 +83,13 @@ QNodeId QBackendScenePropertyChange::targetNode() const return d->m_targetUuid; } +/*! + \typedef Qt3DCore::QBackendScenePropertyChangePtr + \relates Qt3DCore::QBackendScenePropertyChange + + A shared pointer for QBackendScenePropertyChange. +*/ + /*! \internal */ QBackendScenePropertyChange::QBackendScenePropertyChange(QBackendScenePropertyChangePrivate &dd) : QScenePropertyChange(dd) diff --git a/src/doc/qt3d.qdocconf b/src/doc/qt3d.qdocconf index d36c1d280..49f612619 100644 --- a/src/doc/qt3d.qdocconf +++ b/src/doc/qt3d.qdocconf @@ -79,7 +79,8 @@ Cpp.ignoretokens += QT3DCORE_PRIVATE_EXPORT \ QT3DLOGIC_PRIVATE_EXPORT \ QT3DLOGICSHARED_EXPORT \ QT3DRENDERSHARED_EXPORT \ - QT3DRENDERSHARED_PRIVATE_EXPORT + QT3DRENDERSHARED_PRIVATE_EXPORT \ + QT3DQUICKSHARED_PRIVATE_EXPORT Cpp.ignoredirectives += Q_DECLARE_LOGGING_CATEGORY diff --git a/src/doc/src/qt3d-index.qdoc b/src/doc/src/qt3d-index.qdoc index 4c2ce5a11..9c4255ac8 100644 --- a/src/doc/src/qt3d-index.qdoc +++ b/src/doc/src/qt3d-index.qdoc @@ -58,7 +58,7 @@ \l qmake \c .pro file: \badcode - QT += 3dcore 3drender 3dinput 3dcollision 3dlogic + QT += 3dcore 3drender 3dinput 3dlogic \endcode To include the definitions of the modules' classes, use the following @@ -68,14 +68,13 @@ #include #include #include - #include #include \endcode A Qt Quick application requires also additional dependencies: \badcode - QT += 3dcore 3drenderer 3dinput 3dcollision qml quick 3dquick + QT += 3dcore 3drenderer 3dinput qml quick 3dquick \endcode \section1 Overview diff --git a/src/doc/src/qt3d-module.qdoc b/src/doc/src/qt3d-module.qdoc index 90bbd5e86..264c258c3 100644 --- a/src/doc/src/qt3d-module.qdoc +++ b/src/doc/src/qt3d-module.qdoc @@ -63,9 +63,6 @@ \section2 Qt 3D Core Module \generatelist {classesbymodule Qt3DCore} - \section2 Qt 3D Collision Module - \generatelist {classesbymodule Qt3DCollision} - \section2 Qt 3D Input Module \generatelist {classesbymodule Qt3DInput} @@ -104,7 +101,6 @@ following import statements: \badcode - import Qt3D.Collision 2.0 import Qt3D.Render 2.0 import Qt3D.Input 2.0 import Qt3D.Logic 2.0 @@ -115,9 +111,6 @@ \section2 Qt 3D Core Module \generatelist {qmltypesbymodule Qt3D.Core} - \section2 Qt 3D Collision Module - \generatelist {qmltypesbymodule Qt3D.Collision} - \section2 Qt 3D Input Module \generatelist {qmltypesbymodule Qt3D.Input} diff --git a/src/doc/src/qt3dcollision-module.qdoc b/src/doc/src/qt3dcollision-module.qdoc deleted file mode 100644 index 84ee787db..000000000 --- a/src/doc/src/qt3dcollision-module.qdoc +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \module Qt3DCollision - \title Qt 3D Collision C++ Classes - \brief The Qt 3D Collision module enables collision detection. - \ingroup modules - \ingroup qt3d-modules - \qtvariable 3dcollision - - To use classes from this module, add this directive into the C++ files: - - \code - #include - \endcode - - To link against the corresponding C++ libraries, add the following to your qmake project file: - - \badcode - QT += 3dcollision - \endcode - -*/ - -/*! - \namespace Qt3DCollision - \inmodule Qt3DCollision - \ingroup qt3d-namespaces - - \brief Contains classes that enable collision detection. -*/ - -/*! - \qmlmodule Qt3D.Collision 2.0 - \title Qt 3D Collision QML Types - \ingroup qmlmodules - \ingroup qt3d-qmlmodules - - \brief Provides QML types to synchronize frames with the 3D backend. - - To import and use the module's QML types, use the following statement: - - \badcode - import Qt3D.Collision 2.0 - \endcode - - \section1 QML Types -*/ - diff --git a/src/quick3d/quick3d/items/quick3dnodeinstantiator.cpp b/src/quick3d/quick3d/items/quick3dnodeinstantiator.cpp index a4ab82155..5d267fe90 100644 --- a/src/quick3d/quick3d/items/quick3dnodeinstantiator.cpp +++ b/src/quick3d/quick3d/items/quick3dnodeinstantiator.cpp @@ -77,6 +77,9 @@ public: QVector > m_objects; }; +/*! + \internal +*/ Quick3DNodeInstantiatorPrivate::Quick3DNodeInstantiatorPrivate() : QNodePrivate() , m_componentComplete(true) diff --git a/src/render/defaults/qphongalphamaterial.cpp b/src/render/defaults/qphongalphamaterial.cpp index a55e13f9b..8968f5f85 100644 --- a/src/render/defaults/qphongalphamaterial.cpp +++ b/src/render/defaults/qphongalphamaterial.cpp @@ -206,6 +206,8 @@ void QPhongAlphaMaterialPrivate::handleAlphaChanged(const QVariant &var) */ /*! + \fn Qt3DRender::QPhongAlphaMaterial::QPhongAlphaMaterial(Qt3DCore::QNode *parent) + Constructs a new QPhongAlphaMaterial instance with parent object \a parent. */ QPhongAlphaMaterial::QPhongAlphaMaterial(QNode *parent) -- cgit v1.2.3