xxxxxxxxxx
//Disconnect everything connected to an object's signals:
disconnect(myObject, nullptr, nullptr, nullptr);
//equivalent to the non-static overloaded function
myObject->disconnect();
//Disconnect everything connected to a specific signal:
disconnect(myObject, SIGNAL(mySignal()), nullptr, nullptr);
//equivalent to the non-static overloaded function
myObject->disconnect(SIGNAL(mySignal()));
//Disconnect a specific receiver:
disconnect(myObject, nullptr, myReceiver, nullptr);
//equivalent to the non-static overloaded function
myObject->disconnect(myReceiver);