equal
deleted
inserted
replaced
263 } |
263 } |
264 case 'y': |
264 case 'y': |
265 { |
265 { |
266 // copy string to clipboard |
266 // copy string to clipboard |
267 QApplication::clipboard()->setText(QString::fromUtf8(msg.mid(2))); |
267 QApplication::clipboard()->setText(QString::fromUtf8(msg.mid(2))); |
268 break; |
|
269 } |
|
270 case 'Y': |
|
271 { |
|
272 // paste clipboard to game |
|
273 SendIPC(QString("Y").toAscii() + QApplication::clipboard()->text().toUtf8().left(250).replace('\n', ' ')); |
|
274 break; |
268 break; |
275 } |
269 } |
276 case 'i': |
270 case 'i': |
277 { |
271 { |
278 emit GameStats(msg.at(2), QString::fromUtf8(msg.mid(3))); |
272 emit GameStats(msg.at(2), QString::fromUtf8(msg.mid(3))); |