Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QWidget::overrideWindowState ( Qt::WindowStates  newstate  )  [inherited]

For internal use only.

The function sets the window state on child widgets similar to setWindowState(). The difference is that the window state changed event has the isOverride() flag set. It exists mainly to keep Q3Workspace working.

Definition at line 2158 of file qwidget.cpp.

References QCoreApplication::sendEvent().

{
    QWindowStateChangeEvent e((Qt::WindowStates)data->window_state, true);
    data->window_state  = newstate;
    QApplication::sendEvent(this, &e);
}


Generated by  Doxygen 1.6.0   Back to index