ManaPlus
Public Member Functions
SoundsModel Class Reference

#include <soundsmodel.h>

Inheritance diagram for SoundsModel:
NamesModel ListModel

Public Member Functions

 SoundsModel ()
 
- Public Member Functions inherited from NamesModel
 NamesModel ()
 
 ~NamesModel ()
 
int getNumberOfElements ()
 
std::string getElementAt (int i)
 
StringVectgetNames ()
 
size_t size () const
 
void clear ()
 
void add (const std::string &str)
 
void fillFromArray (const char *const *const arr, const std::size_t size)
 
void fillFromVector (const StringVect &vect)
 
- Public Member Functions inherited from ListModel
 ListModel ()
 
virtual ~ListModel ()
 

Additional Inherited Members

- Protected Attributes inherited from NamesModel
StringVect mNames
 

Detailed Description

Definition at line 34 of file soundsmodel.h.

Constructor & Destructor Documentation

◆ SoundsModel()

SoundsModel::SoundsModel ( )
inline

Definition at line 37 of file soundsmodel.h.

37  :
38  NamesModel()
39  {
40  mNames.push_back(gettext("(no sound)"));
42  }
StringVect mNames
Definition: namesmodel.h:62
static void fillSoundsList(StringVect &list)
Definition: theme.cpp:578

References Theme::fillSoundsList(), and NamesModel::mNames.


The documentation for this class was generated from the following file: