ManaPlus
|
#include <itemsmodel.h>
Public Member Functions | |
ItemsModal () | |
int | getNumberOfElements () |
std::string | getElementAt (int i) |
Public Member Functions inherited from ListModel | |
ListModel () | |
virtual | ~ListModel () |
Private Attributes | |
StringVect | mStrings |
Definition at line 39 of file itemsmodel.h.
|
inline |
Definition at line 42 of file itemsmodel.h.
References FOR_EACH, ItemDB::getItemInfos(), Actions::info(), and mStrings.
|
inlinevirtual |
Gets an element at a certain index in the list.
i | An index in the list. |
Implements ListModel.
Definition at line 75 of file itemsmodel.h.
References getNumberOfElements(), and mStrings.
Referenced by ItemAmountWindow::action().
|
inlinevirtual |
Gets the number of elements in the list.
Implements ListModel.
Definition at line 70 of file itemsmodel.h.
References CAST_S32, and mStrings.
Referenced by getElementAt().
|
private |
Definition at line 83 of file itemsmodel.h.
Referenced by getElementAt(), getNumberOfElements(), and ItemsModal().