![]() |
ManaPlus
|
#include <langlistmodel.h>
Public Member Functions | |
| LangListModel () | |
| ~LangListModel () | |
| int | getNumberOfElements () |
| std::string | getElementAt (int i) |
| const Image * | getImageAt (int i) |
Public Member Functions inherited from ExtendedListModel | |
| ExtendedListModel () | |
Public Member Functions inherited from ListModel | |
| ListModel () | |
| virtual | ~ListModel () |
Data Fields | |
| Image * | mIcons [langs_count] |
Definition at line 92 of file langlistmodel.h.
|
inline |
Definition at line 95 of file langlistmodel.h.
References Loader::getImage(), Language::icon, LANG_NAME, langs_count, and anonymous_namespace{languagedb.cpp}::mIcons.
|
inline |
Definition at line 114 of file langlistmodel.h.
References langs_count, and anonymous_namespace{languagedb.cpp}::mIcons.
|
inlinevirtual |
Gets an element at a certain index in the list.
| i | An index in the list. |
Implements ListModel.
Definition at line 127 of file langlistmodel.h.
References LANG_NAME, and Language::name.
|
inlinevirtual |
Implements ExtendedListModel.
Definition at line 135 of file langlistmodel.h.
References anonymous_namespace{languagedb.cpp}::mIcons.
|
inlinevirtual |
Gets the number of elements in the list.
Implements ListModel.
Definition at line 124 of file langlistmodel.h.
References langs_count.
| Image* LangListModel::mIcons[langs_count] |
Definition at line 142 of file langlistmodel.h.