In Qt, signals and slots require matching argument types:
QObject::connect: Incompatible sender/receiver arguments QLabel::linkActivated(QString) --> Butt
A simple method is to have an intermediate slot that calls the slot that you want. e.g.
connect(src, SIGNAL(linkActivated(QString)), this, SLOT(receiveLink(QString)));
and then
void receiveLink(QString blah)
{
int response = someFunction(blah);
mybutton->call(response);
}
You have to define some way to interpret the string into an int.