branch | qmlfrontend |
changeset 11422 | c6c6a4b32cea |
parent 11419 | 8a5cc31483c6 |
child 11423 | e045dc60c37e |
11421:25e0f427f57e | 11422:c6c6a4b32cea |
---|---|
203 QStringList l = QString::fromUtf8(msg).split('\n'); |
203 QStringList l = QString::fromUtf8(msg).split('\n'); |
204 emit roomAdded(0, l[1], l[2].toInt(), l[3].toInt(), l[4], l[5], l[6], l[7], l[8]); |
204 emit roomAdded(0, l[1], l[2].toInt(), l[3].toInt(), l[4], l[5], l[6], l[7], l[8]); |
205 break; |
205 break; |
206 } |
206 } |
207 case MSG_UPDATEROOM: { |
207 case MSG_UPDATEROOM: { |
208 QStringList l = QString::fromUtf8(msg).split('\n'); |
|
209 emit roomUpdated(l[0], 0, l[2], l[3].toInt(), l[4].toInt(), l[5], l[6], l[7], l[8], l[9]); |
|
208 break; |
210 break; |
209 } |
211 } |
210 case MSG_REMOVEROOM: { |
212 case MSG_REMOVEROOM: { |
211 emit roomRemoved(QString::fromUtf8(msg)); |
213 emit roomRemoved(QString::fromUtf8(msg)); |
212 break; |
214 break; |