Or if you want to run through all those items unconditionally:
Qt Code:
  1. foreach (QComboBox *box, findChildren<QComboBox *>()) {
  2. // do the fancy stuff
  3. }
To copy to clipboard, switch view to plain text mode 
Note that QObject::findChlidren() might recurse into other child widgets to find children that match the type T & name.