QWindowStateChangeEvent Class Reference

#include <qevent.h>

Inheritance diagram for QWindowStateChangeEvent:

Inheritance graph
[legend]
Collaboration diagram for QWindowStateChangeEvent:

Collaboration graph
[legend]
List of all members.

Detailed Description

The QWindowStateChangeEvent class provides the window state before a window state change.

Definition at line 657 of file qevent.h.

Public Member Functions

 QWindowStateChangeEvent (Qt::WindowStates aOldState)
 QWindowStateChangeEvent (Qt::WindowStates aOldState, bool isOverride)
 ~QWindowStateChangeEvent ()
Qt::WindowStates oldState () const
bool isOverride () const

Private Attributes

Qt::WindowStates ostate


Constructor & Destructor Documentation

QWindowStateChangeEvent::QWindowStateChangeEvent ( Qt::WindowStates  aOldState  ) 

Definition at line 3193 of file qevent.cpp.

03194     : QEvent(WindowStateChange), ostate(s)
03195 {
03196 }

QWindowStateChangeEvent::QWindowStateChangeEvent ( Qt::WindowStates  aOldState,
bool  isOverride 
)

Definition at line 3200 of file qevent.cpp.

References QEvent::d.

03201     : QEvent(WindowStateChange), ostate(s)
03202 {
03203     if (isOverride)
03204         d = (QEventPrivate*)(this);
03205 }

QWindowStateChangeEvent::~QWindowStateChangeEvent (  ) 

Definition at line 3216 of file qevent.cpp.

03217 {
03218 }


Member Function Documentation

Qt::WindowStates QWindowStateChangeEvent::oldState (  )  const [inline]

Returns the state of the window before the change.

Definition at line 664 of file qevent.h.

00664 { return ostate; }

bool QWindowStateChangeEvent::isOverride (  )  const

Definition at line 3209 of file qevent.cpp.

References QEvent::d.

03210 {
03211     return (d != 0);
03212 }


Member Data Documentation

Qt::WindowStates QWindowStateChangeEvent::ostate [private]

Definition at line 668 of file qevent.h.


The documentation for this class was generated from the following files:
Generated on Thu Mar 15 19:52:20 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1