+void Player::setLabel(QString body, QString color)
+{
+ QString text = QString("<font color=%1>").arg(color);
+ if (state >= Waiting) {
+ text += QString("<font size=-3>%1:</font><br>").arg(Qt::escape(name));
+ }
+ text += Qt::escape(body);
+ theLabel->setText(text);
+}
+