32 const std::string &colorName,
34 mItems(
new int[maxSize]),
37 mColorName(colorName),
58 for (
size_t i = 0; i <
mMaxSize; i++)
76 for (
size_t i = 0; i <
mMaxSize; i++)
121 for (
size_t i = 0; i <
mMaxSize; i++)
std::string getValue(const std::string &key, const std::string &deflt) const
void deleteKey(const std::string &key)
void setValue(const std::string &key, const std::string &value)
ItemColor getColor() const
ShortcutBase(const std::string &itemName, const std::string &colorName, const int maxSize)
void setItemSelected(const int itemId)
void clear(const bool isSave)
ItemColor mItemColorSelected
void setItem(const size_t index)
Configuration serverConfig
#define fromInt(val, name)
const ItemColor ItemColor_one
const ItemColor ItemColor_zero
std::string toString(T const &value)
converts any type to a string