Add stub of new structure of the wizard preset path.
[bertos.git] / wizard / BWizardPage.py
index be66756206897d489e8c33cb82187f4340e7e65b..5c4b4bb9650f42d4dd1da35376d26bf7625c03c8 100644 (file)
@@ -107,6 +107,18 @@ class BWizardPage(QWizardPage):
         Value is a QVariant and neet to be converted in a standard type.
         """
         return QApplication.instance().settings.value(QString(key), QVariant())
+
+    def plugins(self):
+        """
+        Returns the list of actived plugins.
+        """
+        return qvariant_converter.getStringList(self.settingsRetrieve("plugins"))
+
+    def setPlugins(self, plugins):
+        """
+        Stores the given list of actived plugins.
+        """
+        self.settingsStore("plugins", qvariant_converter.convertStringList(plugins))
     
     def versions(self):
         """