Obsolete Members for QTouchEvent

Los siguientes miembros de la clase ` QTouchEvent ` están obsoletos. Se mantienen para que el código fuente antiguo siga funcionando. Recomendamos encarecidamente no utilizarlos en código nuevo.

Funciones públicas

(deprecated in 6.0) QTouchEvent(QEvent::Type eventType, const QPointingDevice *device, Qt::KeyboardModifiers modifiers, QEventPoint::States touchPointStates, const QList<QEventPoint> &touchPoints = {})
(deprecated in 6.0) const QList<QEventPoint> &touchPoints() const

Documentación de las funciones de miembro

[explicit, deprecated in 6.0] QTouchEvent::QTouchEvent(QEvent::Type eventType, const QPointingDevice *device, Qt::KeyboardModifiers modifiers, QEventPoint::States touchPointStates, const QList<QEventPoint> &touchPoints = {})

Esta función está obsoleta desde la versión 6.0. Recomendamos encarecidamente no utilizarla en código nuevo.

Utiliza otro constructor.

Crea un objeto `QTouchEvent` con los valores proporcionados para ` eventType`, ` device` y ` touchPoints`. Los valores ` touchPointStates ` y ` modifiers ` representan los estados actuales de los puntos táctiles y los modificadores del teclado en el momento del evento.

[deprecated in 6.0] const QList<QEventPoint> &QTouchEvent::touchPoints() const

Esta función está obsoleta desde la versión 6.0. Recomendamos encarecidamente no utilizarla en código nuevo.

Utiliza en su lugar points().

Devuelve una referencia a la lista de puntos táctiles contenidos en el evento táctil.

Véase también QPointerEvent::point() y QPointerEvent::pointCount().

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.