4 _keyNames(0), _colors(0), _count(0), _mapCount(0)
13 _keyNames(0), _colors(0), _count(0), _mapCount(0)
65 static int qs_strcmp(
const void* lhs,
const void* rhs){
66 return strcmp(*(
const char**)lhs, *(
const char**)rhs);
72 QMutableListIterator<Key> i(newKeys);
79 alloc(newKeys.count());
82 foreach(
const Key&
key, newKeys)
104 ptrdiff_t position = namePtr -
_keyNames;
void init(const KeyMap &map)
static int qs_strcmp(const void *lhs, const void *rhs)
QRgb * colorForName(const char *name)
bool operator==(const ColorMap &rhs) const
const ColorMap & operator=(const ColorMap &rhs)
QList< Key > positions() const