![]() |
ManaPlus
|
#include <iconsmodel.h>
Public Member Functions | |
| IconsModel () | |
| int | getNumberOfElements () |
| std::string | getElementAt (int i) |
Public Member Functions inherited from ListModel | |
| ListModel () | |
| virtual | ~ListModel () |
Private Attributes | |
| StringVect | mStrings |
Definition at line 38 of file iconsmodel.h.
|
inline |
Definition at line 41 of file iconsmodel.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 iconsmodel.h.
References getNumberOfElements(), and mStrings.
|
inlinevirtual |
Gets the number of elements in the list.
Implements ListModel.
Definition at line 70 of file iconsmodel.h.
References CAST_S32, and mStrings.
Referenced by getElementAt().
|
private |
Definition at line 82 of file iconsmodel.h.
Referenced by getElementAt(), getNumberOfElements(), and IconsModel().