See the second example in the connection signals documentation.
In your case, it will be:
self.myComboBox.currentIndexChanged[QtCore.QString].connect(self.mySlot)
or if you use v2 API for QString
self.myComboBox.currentIndexChanged[str].connect(self.mySlot)
source share