Add a stub of the BProject interface for store the project infos
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 16:16:19 +0000 (16:16 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 16:16:19 +0000 (16:16 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2065 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BProject.py
wizard/BWizardPage.py

index 907599c7ff9986bb99488c57793200d778fbfe5f..19d61a1ccbe6167e93d04a33823a6b4cc4526e06 100644 (file)
@@ -14,10 +14,6 @@ class BProject(object):
     def __init__(self):
         pass
     
-    def openProject(self, path):
-        # Fill the BProject fields, opening an existing project
-        pass
-    
     def setProjectPath(self, path):
         self.projectPath = path
     
index 4eb9915b5fed6331639fb0aa431d2da44ce3ae6c..dd031ed996a8665a3eb9da4f663c81ba9d38eb05 100644 (file)
@@ -26,4 +26,10 @@ class BWizardPage(QWizardPage):
         QApplication.instance().settings.setValue(QString(key), QVariant(value))
     
     def _settingsRetrieve(self, key):
-        return QApplication.instance().settings.value(QString(key), QVariant())
\ No newline at end of file
+        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