#include <eventhandler.h>
Inheritance diagram for MWidgets::WindowSizeEventHandler< T >:
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. |
Definition at line 95 of file eventhandler.h.
typedef void(T::*) MWidgets::WindowSizeEventHandler< T >::WindowSizeEventCallBack(Widget *sender, int left, int top, int right, int bottom) |
MWidgets::WindowSizeEventHandler< T >::WindowSizeEventHandler | ( | T * | parent, | |
WindowSizeEventCallBack | callback | |||
) | [inline] |
Constructor.
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.
void MWidgets::WindowSizeEventHandler< T >::Call | ( | Widget * | sender, | |
int | left, | |||
int | top, | |||
int | right, | |||
int | bottom | |||
) | [inline, virtual] |
Method call real handler.
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.
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().
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().