How to access widget combobox selection in a c++ class

Hi
On selection of a widget-combobox i need to change a variable in c++ class. How do i access what has been selected in the widget from my c++ class.