下面QT函数调用中的this
是什么?
connect(findButton, SIGNAL(clicked()), this, SLOT(findClicked()));
我知道 C++ 中 this
的背景,但是 this
在这个函数调用中指向什么?
最佳答案
this
指向当前对象。该方法从成员函数中调用。
关于c++ - 连接功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9158161/