Obsolete Members for QAction

I seguenti membri della classe ` QAction ` sono deprecati. Sono forniti per garantire il funzionamento del codice sorgente esistente. Si sconsiglia vivamente di utilizzarli nel nuovo codice.

Funzioni pubbliche

(deprecated in 6.0) QList<QGraphicsWidget *> associatedGraphicsWidgets() const
(deprecated in 6.0) QList<QWidget *> associatedWidgets() const
(deprecated in 6.0) QWidget *parentWidget() const

Documentazione sulle funzioni membro

[deprecated in 6.0] QList<QGraphicsWidget *> QAction::associatedGraphicsWidgets() const

Questa funzione è deprecata a partire dalla versione 6.0. Si sconsiglia vivamente di utilizzarla nel codice nuovo.

Utilizzare invece ` associatedObjects()` con ` qobject_cast()`.

Restituisce un elenco dei widget grafici a cui è stata aggiunta questa azione.

Vedi anche QGraphicsWidget::addAction(), associatedObjects() e associatedWidgets().

[deprecated in 6.0] QList<QWidget *> QAction::associatedWidgets() const

Questa funzione è deprecata a partire dalla versione 6.0. Si sconsiglia vivamente di utilizzarla nel codice nuovo.

Utilizzare invece ` associatedObjects()` con ` qobject_cast()`.

Restituisce un elenco dei widget a cui è stata aggiunta questa azione.

Vedi anche QWidget::addAction(), associatedObjects() e associatedGraphicsWidgets().

[deprecated in 6.0] QWidget *QAction::parentWidget() const

Questa funzione è deprecata a partire dalla versione 6.0. Si sconsiglia vivamente di utilizzarla nel codice nuovo.

Utilizzare invece ` parent()` insieme a ` qobject_cast()`.

Restituisce il widget padre.

© 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.