What is this
in the following QT function call?
connect(findButton, SIGNAL(clicked()), this, SLOT(findClicked()));
I know the background of this
in C++ but what is this
pointing to in this function call?
What is this
in the following QT function call?
connect(findButton, SIGNAL(clicked()), this, SLOT(findClicked()));
I know the background of this
in C++ but what is this
pointing to in this function call?
this
points to the current object. The method is called from a member function.
In this example you are connecting:
with:
This is most likely the object in which the connect line's code is located.
To answer your question, you need to check and see what object is being created in the code that contains the connect call.