Doc: Remove broken link to QWindowSystemInterface::registerTouchDevice()
Mention that it is a private function. Also mention using QTest::createTouchDevice() for adding simulated touch screens to autotests. Task-number: QTBUG-26647 Change-Id: I08c12225768e76b1b9e3fc0fda00af86d44ca766 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Bo Thorsen <bo@vikingsoft.eu> Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
This commit is contained in:
parent
db2de20c59
commit
84fb8c5ec9
@ -39,7 +39,8 @@ depends += \
|
|||||||
qtquick \
|
qtquick \
|
||||||
qtwidgets \
|
qtwidgets \
|
||||||
qtdoc \
|
qtdoc \
|
||||||
qmake
|
qmake \
|
||||||
|
qttestlib
|
||||||
|
|
||||||
headerdirs += ..
|
headerdirs += ..
|
||||||
|
|
||||||
|
@ -215,7 +215,10 @@ static void cleanupDevicesList()
|
|||||||
/*!
|
/*!
|
||||||
Returns a list of all registered devices.
|
Returns a list of all registered devices.
|
||||||
|
|
||||||
\note The returned list cannot be used to add new devices. Use QWindowSystemInterface::registerTouchDevice() instead.
|
\note The returned list cannot be used to add new devices. To add a simulated
|
||||||
|
touch screen for an autotest, QTest::createTouchDevice() can be used.
|
||||||
|
To add real touch screens to QPA plugins, the private
|
||||||
|
\c QWindowSystemInterface::registerTouchDevice() function can be used.
|
||||||
*/
|
*/
|
||||||
QList<const QTouchDevice *> QTouchDevice::devices()
|
QList<const QTouchDevice *> QTouchDevice::devices()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user