MWidgets::WindowSizeEventHandler< T > Class Template Reference

Template class for creating specific to object event handler. More...

#include <eventhandler.h>

Inheritance diagram for MWidgets::WindowSizeEventHandler< T >:

MWidgets::BaseEventHandler List of all members.

Public Types

typedef void(T::*) WindowSizeEventCallBack (Widget *sender, int left, int top, int right, int bottom)
 Objects callback methods type.

Public Member Functions

 WindowSizeEventHandler (T *parent, WindowSizeEventCallBack callback)
 Constructor.
void Call (Widget *sender, int left, int top, int right, int bottom)
 Method call real handler.

Protected Attributes

T * m_pParent
 pointer to object.
WindowSizeEventCallBack m_pCallBack
 pointer to objects method.

Detailed Description

template<class T>
class MWidgets::WindowSizeEventHandler< T >

Template class for creating specific to object event handler.

Definition at line 95 of file eventhandler.h.


Member Typedef Documentation

template<class T>
typedef void(T::*) MWidgets::WindowSizeEventHandler< T >::WindowSizeEventCallBack(Widget *sender, int left, int top, int right, int bottom)

Objects callback methods type.

Definition at line 99 of file eventhandler.h.


Constructor & Destructor Documentation

template<class T>
MWidgets::WindowSizeEventHandler< T >::WindowSizeEventHandler ( T *  parent,
WindowSizeEventCallBack  callback 
) [inline]

Constructor.

Parameters:
parent pointer to object.
callback pointer to objects method.

Definition at line 108 of file eventhandler.h.

References MWidgets::WindowSizeEventHandler< T >::m_pCallBack, and MWidgets::WindowSizeEventHandler< T >::m_pParent.


Member Function Documentation

template<class T>
void MWidgets::WindowSizeEventHandler< T >::Call ( Widget sender,
int  left,
int  top,
int  right,
int  bottom 
) [inline, virtual]

Method call real handler.

Parameters:
sender poiter to sender object.
left left coordinate of client area.
top top coordinate of client area.
right rightcoordinate of client area.
bottom bottom coordinate of client area.

Reimplemented from MWidgets::BaseEventHandler.

Definition at line 119 of file eventhandler.h.

References MWidgets::WindowSizeEventHandler< T >::m_pCallBack, and MWidgets::WindowSizeEventHandler< T >::m_pParent.


Member Data Documentation

template<class T>
WindowSizeEventCallBack MWidgets::WindowSizeEventHandler< T >::m_pCallBack [protected]

pointer to objects method.

Definition at line 103 of file eventhandler.h.

Referenced by MWidgets::WindowSizeEventHandler< T >::Call(), and MWidgets::WindowSizeEventHandler< T >::WindowSizeEventHandler().

template<class T>
T* MWidgets::WindowSizeEventHandler< T >::m_pParent [protected]

pointer to object.

Definition at line 102 of file eventhandler.h.

Referenced by MWidgets::WindowSizeEventHandler< T >::Call(), and MWidgets::WindowSizeEventHandler< T >::WindowSizeEventHandler().


The documentation for this class was generated from the following file:
Generated on Thu Oct 26 13:47:46 2006 for MWidgets by  doxygen 1.4.7