- def _modeChecked(self, checked, value):
- output_list = self._projectInfoRetrieve("OUTPUT")
+ def connectSignals(self):
+ """
+ Connects the signals with the related slots.
+ """
+ self.connect(self.pageContent.eclipseCheckBox, SIGNAL("stateChanged(int)"), lambda checked: self.modeChecked(checked, "eclipse"))
+ self.connect(self.pageContent.xcodeCheckBox, SIGNAL("stateChanged(int)"), lambda checked: self.modeChecked(checked, "xcode"))
+ self.connect(self.pageContent.codeliteCheckBox, SIGNAL("stateChanged(int)"), lambda checked: self.modeChecked(checked, "codelite"))
+
+ ####
+
+ ## Slots ##
+
+ def modeChecked(self, checked, value):
+ """
+ Slot called when one of the mode checkbox is checked. It stores it.
+ """
+ output_list = self.projectInfo("OUTPUT")