Ejemplo n.º 1
0
QDataStream &operator<<(QDataStream &out, const Config &config)
{
	for (GameKeys gameKey : GameKeys::labels())
		out << gameKey << toUnderlying(config.key(gameKey));
	return out;
}
Ejemplo n.º 2
0
QDataStream & BTech::operator << (QDataStream &out, const BTech::Skill &skill)
{
	out << toUnderlying(skill);
	return out;
}