Obsolete Members for QTouchEvent
The following members of class QTouchEvent are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Types
(obsolete) enum | DeviceType { } |
公有函数
(obsolete) QTouchEvent::DeviceType | deviceType() const |
成员类型
enum QTouchEvent::DeviceType
This enum represents the type of device that generated a QTouchEvent.
This enum has been deprecated. Use QTouchDevice::DeviceType instead.
参见 QTouchDevice::DeviceType, QTouchDevice::type(), and QTouchEvent::device().
成员函数
QTouchEvent::DeviceType QTouchEvent::deviceType() const
Returns the touch device Type, which is of type DeviceType.
This function has been deprecated. Use QTouchDevice::type() instead.
参见 QTouchDevice::type() and QTouchEvent::device().