gpt4 book ai didi

c++ - 连接功能

转载 作者:行者123 更新时间:2023-11-28 03:41:16 24 4
gpt4 key购买 nike

下面QT函数调用中的this是什么?

connect(findButton, SIGNAL(clicked()), this, SLOT(findClicked()));

我知道 C++ 中 this 的背景,但是 this 在这个函数调用中指向什么?

最佳答案

this 指向当前对象。该方法从成员函数中调用。

关于c++ - 连接功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9158161/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com