C++ (Qt)QList<QCheckBox*> checkBoxList = this->findChildren<QCheckBox*> ();foreach(const QCheckBox* checkBox, checkBoxList) connect (checkBox, SIGNAL(stateChanged(int)), this, SIGNAL(modified()));
connect (checkBox, SIGNAL(stateChanged(int)), this, SIGNAL(modified())