Obsolete Members for QAction
QAction クラスの以下のメンバーは非推奨となっています。これらは、古いソースコードが動作し続けるようにするために提供されています。新しいコードでの使用は強く推奨しません。
パブリック関数
(deprecated in 6.0) QList<QGraphicsWidget *> | associatedGraphicsWidgets() const |
(deprecated in 6.0) QList<QWidget *> | associatedWidgets() const |
(deprecated in 6.0) QWidget * | parentWidget() const |
メンバー関数のドキュメント
[deprecated in 6.0] QList<QGraphicsWidget *> QAction::associatedGraphicsWidgets() const
この関数はバージョン 6.0 以降で非推奨となりました。新しいコードでの使用は強く推奨しません。
代わりに、associatedObjects() とqobject_cast() を使用してください。
このアクションが追加されたグラフィックウィジェットのリストを返します。
QGraphicsWidget::addAction()、associatedObjects()、およびassociatedWidgets()も参照してください 。
[deprecated in 6.0] QList<QWidget *> QAction::associatedWidgets() const
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
代わりに、associatedObjects() とqobject_cast() を使用してください。
このアクションが追加されたウィジェットのリストを返します。
QWidget::addAction()、associatedObjects()、およびassociatedGraphicsWidgets()も参照してください 。
[deprecated in 6.0] QWidget *QAction::parentWidget() const
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
代わりに、parent() とqobject_cast() を組み合わせて使用してください。
親ウィジェットを返します。
© 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.