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.