ManaPlus
|
#include <insertcardlistener.h>
Public Member Functions | |
InsertCardListener () | |
void | action (const ActionEvent &event) |
Public Member Functions inherited from ActionListener | |
virtual | ~ActionListener () |
Data Fields | |
int | cardIndex |
int | itemIndex |
Additional Inherited Members | |
Protected Member Functions inherited from ActionListener | |
ActionListener () | |
Definition at line 33 of file insertcardlistener.h.
|
inline |
Definition at line 35 of file insertcardlistener.h.
|
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.
actionEvent | The event of the action. |
Implements ActionListener.
Definition at line 45 of file insertcardlistener.h.
References cardIndex, Net::InventoryHandler::insertCard(), inventoryHandler, and itemIndex.
int InsertCardListener::cardIndex |
Definition at line 51 of file insertcardlistener.h.
Referenced by action(), and InventoryWindow::combineItems().
int InsertCardListener::itemIndex |
Definition at line 52 of file insertcardlistener.h.
Referenced by action(), and InventoryWindow::combineItems().