Hi i got slot not found that i already declare

class MyReadThread ublic QThread{

public:
QTcpSocket *ms;
MyReadThread(QTcpSocket*s){
ms = s;
connect(ms, SIGNAL(readyRead(void)), this, SLOT(on_socket_readyRead(void)));
}
void run(){
qDebug() << "mythread run";

}
private slots:

void on_socket_readyRead(void){
qDebug() << ms->readAll();
}

};
void qtnetwork:n_server_newConnection(void)
{
qDebug() << "new connection";
QTcpSocket *s = sv->nextPendingConnection();

MyReadThread *t = new MyReadThread(s);
t->start();


}
result:

QObject::connect: No such slot QThread:n_socket_readyRead(void) in qtnetwork.cpp:44
connected
mythread run
The thread 0x23a8 has exited with code 0 (0x0).