Obsolete Members for QTouchEvent
QTouchEvent クラスの以下のメンバーは非推奨となっています。これらは、古いソースコードが動作し続けるように提供されているものです。新しいコードでの使用は強く推奨しません。
パブリック関数
(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 |
メンバー関数のドキュメント
[explicit, deprecated in 6.0] QTouchEvent::QTouchEvent(QEvent::Type eventType, const QPointingDevice *device, Qt::KeyboardModifiers modifiers, QEventPoint::States touchPointStates, const QList<QEventPoint> &touchPoints = {})
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
別のコンストラクタを使用してください。
指定されたeventType 、device 、およびtouchPoints を使用して QTouchEvent を生成します。touchPointStates およびmodifiers は、イベント発生時点での現在のタッチポイントの状態およびキーボード修飾子です。
[deprecated in 6.0] const QList<QEventPoint> &QTouchEvent::touchPoints() const
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強くお勧めしません。
代わりに `points()` を使用してください。
タッチイベントに含まれるタッチポイントのリストへの参照を返します。
QPointerEvent::point() および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.