How can I pass slot as a parameter to class member function and then call "connect"?
Below is the sketch of what I am trying to do. What is the proper way to pass the slot to a member function to be later passed as a parameter to "connect"?

class A
{
private slot:
void DoSmth() {}; // slot declaration
public:
A()
{
Connector(&A::DoSmth); //I am trying to pass the slot as function pointer
}
void Connector(void (A::*p) ()) // what is the right way to declare the function with slot as a parameter?
{
connect (....SLOT(p)); // compiles, but does not work. Apparently I am doing smth. wrong.
}
}