![]() |
Qt 4.8
|
The QWindowStateChangeEvent class provides the window state before a window state change. More...
#include <qevent.h>
Public Functions | |
| bool | isOverride () const |
| Qt::WindowStates | oldState () const |
| Returns the state of the window before the change. More... | |
| QWindowStateChangeEvent (Qt::WindowStates aOldState) | |
| QWindowStateChangeEvent (Qt::WindowStates aOldState, bool isOverride) | |
| ~QWindowStateChangeEvent () | |
Public Functions inherited from QEvent | |
| void | accept () |
| Sets the accept flag of the event object, the equivalent of calling setAccepted(true). More... | |
| void | ignore () |
| Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false). More... | |
| bool | isAccepted () const |
| QEvent (Type type) | |
| Contructs an event object of type type. More... | |
| void | setAccepted (bool accepted) |
| bool | spontaneous () const |
| Returns true if the event originated outside the application (a system event); otherwise returns false. More... | |
| Type | type () const |
| Returns the event type. More... | |
| virtual | ~QEvent () |
| Destroys the event. More... | |
Properties | |
| Qt::WindowStates | ostate |
The QWindowStateChangeEvent class provides the window state before a window state change.
| QWindowStateChangeEvent::QWindowStateChangeEvent | ( | Qt::WindowStates | s | ) |
Definition at line 4055 of file qevent.cpp.
| QWindowStateChangeEvent::QWindowStateChangeEvent | ( | Qt::WindowStates | s, |
| bool | isOverride | ||
| ) |
Definition at line 4062 of file qevent.cpp.
| QWindowStateChangeEvent::~QWindowStateChangeEvent | ( | ) |
Definition at line 4078 of file qevent.cpp.
| bool QWindowStateChangeEvent::isOverride | ( | ) | const |
Definition at line 4071 of file qevent.cpp.
Referenced by QMdiSubWindow::eventFilter().
|
inline |
Returns the state of the window before the change.
Definition at line 712 of file qevent.h.
Referenced by QMainWindow::event(), QMeeGoGraphicsSystemSwitchHandler::eventFilter(), and QMdiSubWindow::eventFilter().