ManaPlus
|
#include <keylistmodel.h>
Public Member Functions | |
KeyListModel () | |
int | getNumberOfElements () |
std::string | getElementAt (int i) |
void | setElementAt (const int i, const std::string &caption) |
void | setSize (const int size) |
void | setDataNum (const int num) |
void | setSelectedData (const int i) |
int | getSelectedData () const |
Public Member Functions inherited from ListModel | |
ListModel () | |
virtual | ~ListModel () |
Private Attributes | |
int | mDataNum |
int | mSelectedData |
int | mSize |
The list model for key function list.
Definition at line 41 of file keylistmodel.h.
|
inline |
Definition at line 44 of file keylistmodel.h.
|
inlinevirtual |
Returns element from container.
Implements ListModel.
Definition at line 62 of file keylistmodel.h.
References mSelectedData, setupActionData, and SetupActionData::text.
|
inlinevirtual |
Returns the number of elements in container.
Implements ListModel.
Definition at line 56 of file keylistmodel.h.
References mSize.
|
inline |
Definition at line 80 of file keylistmodel.h.
References mSelectedData.
Referenced by Setup_Input::action(), Setup_Input::keyToSetupData(), Setup_Input::refreshAssignedKey(), and Setup_Input::refreshKeys().
|
inline |
|
inline |
Sets element from container.
Definition at line 68 of file keylistmodel.h.
References mSelectedData, setupActionData, and SetupActionData::text.
Referenced by Setup_Input::action(), and Setup_Input::refreshAssignedKey().
|
inline |
Definition at line 77 of file keylistmodel.h.
References mSelectedData.
Referenced by Setup_Input::action(), and Setup_Input::Setup_Input().
|
inline |
Definition at line 71 of file keylistmodel.h.
References mSize, and EmoteDB::size().
Referenced by Setup_Input::action(), and Setup_Input::Setup_Input().
|
private |
Definition at line 84 of file keylistmodel.h.
Referenced by setDataNum().
|
private |
Definition at line 85 of file keylistmodel.h.
Referenced by getElementAt(), getSelectedData(), setElementAt(), and setSelectedData().
|
private |
Definition at line 86 of file keylistmodel.h.
Referenced by getNumberOfElements(), and setSize().