- def _connectSignals(self):
- self.connect(self, SIGNAL("currentIdChanged(int)"), self._pageChanged)
+ def addPages(self, page_list):
+ """
+ Adds the pages in the wizard.
+ """
+ for page in page_list:
+ self.addPage(page())
+
+ def connectSignals(self):
+ """
+ Connects the signals with the related slots.
+ """
+ self.connect(self, SIGNAL("currentIdChanged(int)"), self.pageChanged)