Add the module containing the define exceptions
[bertos.git] / wizard / BWizard.py
index 497ea51d3c674406995538d4c06377486c2db716..23f05a096bcbd32eb40f3d9eb888fa46fffee84e 100644 (file)
@@ -9,6 +9,8 @@
 # Author: Lorenzo Berni <duplo@develer.com>
 #
 
+import copy
+
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
@@ -46,4 +48,7 @@ class BWizard(QWizard):
             prevPage.saveData()
         page = self.page(pageId)
         if page is not None:
-            page.reloadData()
\ No newline at end of file
+            page.reloadData()
+    
+    def project(self):
+        return copy.deepcopy(QApplication.instance().project)
\ No newline at end of file