C++ (Qt)struct ThreadData{ Data data_; QTcpSocket* socket_;};
C++ (Qt)socket_->write()
C++ (Qt)connect(&ft, SIGNAL(dataReady(const QString &)), thread, SLOT(slotSendData(const QString &)));
C++ (Qt)void FortuneThread::slotSendData(const QString &s){ tcpSocket_->write(s.toAscii());}