Jump to content

Qt for HarmonyOS/qtohosextras doc/Obsolete Members for QOhosStartOptions

From Qt Wiki

Obsolete Members for QOhosStartOptions

The following members of class QOhosStartOptions are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) virtual void setWindowFocused(bool windowFocused) = 0

Member Function Documentation

[pure virtual] void QOhosStartOptions::setWindowFocused(bool windowFocused)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Sets windowFocused on a launched window.

This field is not supported from HarmonyOS SDK v5.0.3.400. This function is deprecated and no longer has any effect.