A custom signal
Keywords: signals
signals :
void ageChanged (int age); // While a function is, but need not achieved, the parameter age is passed to the slot function
Two correlation signals, and a function of the slot
connect(boy,&Person::ageChanged,this,&Person::on_ageChanged);
Third, the transmitted signal
Keywords: emit
emit ageChanged (age); // transmit signal when the change as age, so that the function execution slots
Fourth, the slot function
void Person :: on_ageChanged (int age) // parameter signal from whence
{
}