class TcpServer : public QThread
{
public:
TcpServer(QGroupBox *groupBox, QObject* parent = 0);
~TcpServer();
void getFilePath();
void getFileName();
void initSendFileGroup();
void run();
public slots:
void sendFile();
void freshBtn();
connect(tcpServer, SIGNAL(newConnection()), this, SLOT(freshBtn()));
connect(sendBtn, SIGNAL(clicked()), this, SLOT(sendFile()));
Object::connect: No such slot QThread::freshBtn()
Object::connect: No such slot QThread::sendFile()