class ComboBox_impl : public QComboBox{ Q_OBJECTpublic: ComboBox_impl() { connect(this, SIGNAL(currentIndexChanged(int)), SLOT(doProcessIndexChanged(int))); } virtual ~ComboBox_impl() { }public Q_SLOTS: void doProcessIndexChanged(int) { }};
connect(this, SIGNAL(currentIndexChanged(int)), SLOT(doProcessIndexChanged(int)));
C++ (Qt)ComboBox_impl() : QComboBox(){ }