Obsolete Members for QGuiApplication

以下成员源于类 QGuiApplication 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

信号

(deprecated (6.0)) void fontChanged (const QFont & font )
(deprecated (6.0)) void paletteChanged (const QPalette & palette )

成员函数文档编制

[signal] void QGuiApplication:: fontChanged (const QFont & font )

This function is deprecated since 6.0. We strongly advise against using it in new code.

Handle QEvent::ApplicationFontChange 代替。

此信号被发射当 font of the application changes. Use QEvent::ApplicationFontChanged instead.

另请参阅 font ().

[signal] void QGuiApplication:: paletteChanged (const QPalette & palette )

This function is deprecated since 6.0. We strongly advise against using it in new code.

Handle QEvent::ApplicationPaletteChange 代替。

此信号被发射当 palette of the application changes. Use QEvent::ApplicationPaletteChanged instead.

另请参阅 palette ().