From 24b24cc8acd1cdafc1238387e6505f47b9d39e17 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 17 Aug 2012 17:55:05 +0200 Subject: QTouchDevice documentation Change-Id: I33c39522c92ef1abd5572b757122f6467702b1e6 Reviewed-by: Jens Bache-Wiig --- src/gui/kernel/qtouchdevice.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/gui') 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. -- cgit v1.2.3