摘要: 1. 判断信号是否正确连接 通过判断connect的返回值是否为true。 bool _ok = connect(this, SIGNAL(signal1()), this, SLOT(slot1())); // 打印true qDebug() << _ok; 2. 判断信号是否被连接了 recei 阅读全文
posted @ 2023-10-16 17:28 手磨咖啡 阅读(477) 评论(0) 推荐(0)