ManaPlus
Public Member Functions
WeightListener Struct Reference

#include <weightlistener.h>

Inheritance diagram for WeightListener:
ActionListener

Public Member Functions

 WeightListener ()
 
void action (const ActionEvent &event)
 
- Public Member Functions inherited from ActionListener
virtual ~ActionListener ()
 

Additional Inherited Members

- Protected Member Functions inherited from ActionListener
 ActionListener ()
 

Detailed Description

Listener used for handling the overweigth message.

Definition at line 36 of file weightlistener.h.

Constructor & Destructor Documentation

◆ WeightListener()

WeightListener::WeightListener ( )
inline

Definition at line 39 of file weightlistener.h.

39  :
41  { }

Member Function Documentation

◆ action()

void WeightListener::action ( const ActionEvent actionEvent)
inlinevirtual

Called when an action is recieved from a widget. It is used to be able to recieve a notification that an action has occured.

Parameters
actionEventThe event of the action.

Implements ActionListener.

Definition at line 45 of file weightlistener.h.

46  {
47  weightNotice = nullptr;
48  }
OkDialog * weightNotice

References weightNotice.


The documentation for this struct was generated from the following file: