ManaPlus
|
#include <worldlistmodel.h>
Public Member Functions | |
WorldListModel (const Worlds &worlds) | |
int | getNumberOfElements () |
std::string | getElementAt (int i) |
Public Member Functions inherited from ListModel | |
ListModel () | |
virtual | ~ListModel () |
Private Attributes | |
Worlds | mWorlds |
The list model for the server list.
Definition at line 37 of file worldlistmodel.h.
|
inlineexplicit |
Definition at line 40 of file worldlistmodel.h.
|
inlinevirtual |
Gets an element at a certain index in the list.
i | An index in the list. |
Implements ListModel.
Definition at line 52 of file worldlistmodel.h.
References mWorlds, WorldInfo::name, WorldInfo::online_users, and Catch::toString().
|
inlinevirtual |
|
private |
Definition at line 63 of file worldlistmodel.h.
Referenced by getElementAt(), and getNumberOfElements().