qwinwidget.cpp
/*!
    Sets the focus to the window that had the focus before this widget
    was shown, or if there was no previous window, sets the focus to
    the parent window.
*/
Sets the focus to the window that had the focus before this widget
was shown, or if there was no previous window, sets the focus to
the parent window.
Sets the focus to the window that had the focus before this widget was shown or if there was no previous window sets the focus to the parent window .
void QWinWidget::resetFocus()
{
    if (_prevFocus)
        ::SetFocus(_prevFocus);
    else
        ::SetFocus(getParentWindow());
}
void QWinWidget :: resetFocus ( ) { if ( _prevFocus ) :: SetFocus ( _prevFocus ) ; else :: SetFocus ( getParentWindow ( ) ) ; }
Sets the focus to the window that had the focus before this widget
was shown, or if there was no previous window, sets the focus to
the parent window.
Sets the focus to the window that had the focus before this widget was shown or if there was no previous window sets the focus to the parent window .