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() を使用してください。
親ウィジェットを返します。
© 2025 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.