class States : public RefCountedObject
Class to manage the list of states in the application.
size_t count() const
Returns the number of states.
size_t currentIndex() const
Returns the index of the current state.
void setCurrentIndex(size_t index)
Sets the state with index index to current.
Public Static Functions
static States *instance()
States is a singleton. Always access States using this instance()
- size_t count() const