summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qtouchdevice.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@nokia.com>2012-08-17 17:55:05 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-21 06:49:06 +0200
commit24b24cc8acd1cdafc1238387e6505f47b9d39e17 (patch)
treed13c2e554baaa5dc4afc4b0aaa0fd2b3cccc3de6 /src/gui/kernel/qtouchdevice.cpp
parent9bb80356036cbc39018163097710f61160782598 (diff)
QTouchDevice documentation
Change-Id: I33c39522c92ef1abd5572b757122f6467702b1e6 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
Diffstat (limited to 'src/gui/kernel/qtouchdevice.cpp')
-rw-r--r--src/gui/kernel/qtouchdevice.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/kernel/qtouchdevice.cpp b/src/gui/kernel/qtouchdevice.cpp
index 590d17599c..fba4ceaee2 100644
--- a/src/gui/kernel/qtouchdevice.cpp
+++ b/src/gui/kernel/qtouchdevice.cpp
@@ -115,6 +115,9 @@ QTouchDevice::QTouchDevice()
{
}
+/*!
+ Destroys a touch device instance.
+ */
QTouchDevice::~QTouchDevice()
{
delete d;
@@ -150,7 +153,7 @@ QString QTouchDevice::name() const
}
/*!
- Sets the device type.
+ Sets the device type \a devType.
*/
void QTouchDevice::setType(DeviceType devType)
{
@@ -158,7 +161,7 @@ void QTouchDevice::setType(DeviceType devType)
}
/*!
- Sets the capabilities supported by the device and its driver.
+ Sets the capabilities \a caps supported by the device and its driver.
*/
void QTouchDevice::setCapabilities(Capabilities caps)
{
@@ -166,7 +169,7 @@ void QTouchDevice::setCapabilities(Capabilities caps)
}
/*!
- Sets the name (a unique identifier) for the device. In most systems it is
+ Sets the \a name (a unique identifier) for the device. In most systems it is
enough to leave this unset and keep the default empty name. This identifier
becomes important when having multiple touch devices and a need to
differentiate between them.