Qt ------ 断开某对信号与槽的connect

QMetaObject::Connection dis;

dis = connect(this,&TcpSocket::readyRead,this,&TcpSocket::readData);

disconnect(dis);

 

posted @ 2017-11-15 17:58  流水灯  阅读(4403)  评论(0编辑  收藏  举报