#include <widgetdeathlistener.h>
Interface for listening for death events from widgets.
- See also
- Widget::addDeathListener, Widget::removeDeathListener
- Author
- Olof Naessén
Definition at line 76 of file widgetdeathlistener.h.
◆ ~WidgetDeathListener()
virtual WidgetDeathListener::~WidgetDeathListener |
( |
| ) |
|
|
inlinevirtual |
◆ WidgetDeathListener()
WidgetDeathListener::WidgetDeathListener |
( |
| ) |
|
|
inlineprotected |
Constructor.
You should not be able to make an instance of DeathListener, therefore its constructor is protected.
Definition at line 102 of file widgetdeathlistener.h.
◆ death()
virtual void WidgetDeathListener::death |
( |
const Event & |
event | ) |
|
|
pure virtual |
Called when a widget dies. It is used to be able to recieve a notification when a death of a widget occurs.
- Parameters
-
event | The event of the death. |
Implemented in TabbedArea, and BasicContainer.
The documentation for this class was generated from the following file: