ManaPlus
|
#include <shoprenamelistener.h>
Public Member Functions | |
ShopRenameListener () | |
void | action (const ActionEvent &event) |
void | setDialog (EditDialog *const dialog) |
Public Member Functions inherited from ActionListener | |
virtual | ~ActionListener () |
Protected Attributes | |
EditDialog * | mDialog |
Additional Inherited Members | |
Protected Member Functions inherited from ActionListener | |
ActionListener () | |
Definition at line 31 of file shoprenamelistener.h.
ShopRenameListener::ShopRenameListener | ( | ) |
Definition at line 31 of file shoprenamelistener.cpp.
|
virtual |
Called when an action is recieved from a widget. It is used to be able to recieve a notification that an action has occured.
actionEvent | The event of the action. |
Implements ActionListener.
Definition at line 37 of file shoprenamelistener.cpp.
References ActionEvent::getId(), EditDialog::getMsg(), mDialog, ShopWindow::setShopName(), and shopWindow.
|
inline |
Definition at line 40 of file shoprenamelistener.h.
References mDialog.
Referenced by ShopWindow::action().
|
protected |
Definition at line 44 of file shoprenamelistener.h.
Referenced by action(), and setDialog().