Add a stub of the BProject interface for store the project infos
[bertos.git] / wizard / BWizardPage.py
index 4233fc5baf8e3d559e52f6119bc61cce5192e6bc..dd031ed996a8665a3eb9da4f663c81ba9d38eb05 100644 (file)
@@ -20,4 +20,16 @@ class BWizardPage(QWizardPage):
         self.pageContent = uic.loadUi(wizardGui, None)
         layout = QVBoxLayout()
         layout.addWidget(self.pageContent)
-        self.setLayout(layout)
\ No newline at end of file
+        self.setLayout(layout)
+    
+    def _settingsStore(self, key, value):
+        QApplication.instance().settings.setValue(QString(key), QVariant(value))
+    
+    def _settingsRetrieve(self, key):
+        return QApplication.instance().settings.value(QString(key), QVariant())
+    
+    def _projectInfoStore(self, key, value):
+        QApplication.instance().project.setInfo(key, value)
+    
+    def _projectInfoRetrieve(self, key):
+        return QApplication.instance().project.setInfo(key)
\ No newline at end of file