summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qinputaspect.cpp
diff options
context:
space:
mode:
authorColin Ogilvie <colin.ogilvie@kdab.com>2016-01-28 11:23:42 +0000
committerJani Heikkinen <jani.heikkinen@qt.io>2016-06-03 06:27:50 +0000
commitbbb264ad66ca590513dc297821aed26d39d32008 (patch)
treeb81e2702f6bec758798f8f9b0755cca58a18c1b8 /src/input/frontend/qinputaspect.cpp
parent8487e1478c929bed1e60847feaf71d04db67cae8 (diff)
Transfer previously written doc for input module
Task-number: QTBUG-46037 Change-Id: I43a3b84cb55e67b30b1b145aabbffa23f9cf9017 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/input/frontend/qinputaspect.cpp')
-rw-r--r--src/input/frontend/qinputaspect.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/input/frontend/qinputaspect.cpp b/src/input/frontend/qinputaspect.cpp
index fbd7674d8..0b7df1299 100644
--- a/src/input/frontend/qinputaspect.cpp
+++ b/src/input/frontend/qinputaspect.cpp
@@ -108,6 +108,10 @@ QInputAspectPrivate::QInputAspectPrivate()
\inmodule Qt3DInput
\brief A QInputAspect class.
\since 5.5
+ \brief Handles mapping between front and backend nodes
+
+ QInputAspect is responsible for creating physical devices.
+ It is also the object responsible establishing the jobs to run at a particular time from the current input setup.
*/
/*!
@@ -156,6 +160,9 @@ QInputAspect::~QInputAspect()
{
}
+/*!
+ Create each of the detected input device integrations through the Integration Factory
+ */
void QInputAspectPrivate::loadInputDevicePlugins()
{
const QStringList keys = QInputDeviceIntegrationFactory::keys();
@@ -172,12 +179,12 @@ void QInputAspectPrivate::loadInputDevicePlugins()
}
}
-
/*!
- Creates a physical device with \a name.
-
- \note The caller is responsible for ownership.
- */
+ Create a physical device identified by \a name using the input device integrations present
+ returns a Q_NULLPTR if it is not found.
+ \note caller is responsible for ownership
+*/
+// Note: caller is responsible for ownership
QAbstractPhysicalDevice *QInputAspect::createPhysicalDevice(const QString &name)
{
Q_D(QInputAspect);