ManaPlus
|
#include <updatelistmodel.h>
Public Member Functions | |
UpdateListModel (ServerInfo *const server) | |
int | getNumberOfElements () |
std::string | getElementAt (int i) |
bool | empty () const |
Public Member Functions inherited from ListModel | |
ListModel () | |
virtual | ~ListModel () |
Protected Attributes | |
StringVect | mNames |
ServerInfo * | mServer |
Definition at line 36 of file updatelistmodel.h.
|
inlineexplicit |
Definition at line 39 of file updatelistmodel.h.
References FOR_EACH, mNames, HostsGroup::name, and ServerInfo::updateHosts.
|
inline |
Definition at line 67 of file updatelistmodel.h.
References mNames.
|
inlinevirtual |
Gets an element at a certain index in the list.
i | An index in the list. |
Implements ListModel.
Definition at line 60 of file updatelistmodel.h.
References getNumberOfElements(), and mNames.
|
inlinevirtual |
Gets the number of elements in the list.
Implements ListModel.
Definition at line 55 of file updatelistmodel.h.
References CAST_S32, and mNames.
Referenced by getElementAt().
|
protected |
Definition at line 73 of file updatelistmodel.h.
Referenced by empty(), getElementAt(), getNumberOfElements(), and UpdateListModel().
|
protected |
Definition at line 74 of file updatelistmodel.h.