1.1 --- a/examples/Common/QtConfigurator/__init__.py Tue Oct 25 17:52:28 2005 +0000
1.2 +++ b/examples/Common/QtConfigurator/__init__.py Wed Oct 26 00:07:09 2005 +0000
1.3 @@ -169,16 +169,16 @@
1.4 def get_resource_class(resource_type):
1.5
1.6 if resource_type == "PyQt":
1.7 - import XSLForms.PyQt
1.8 + import XSLForms.Resources.PyQtResources
1.9 import QtConfigurator.Forms
1.10 - class Configurator(ConfiguratorResource, QtConfigurator.Forms.Configurator, XSLForms.PyQt.XSLFormsResource):
1.11 + class Configurator(ConfiguratorResource, QtConfigurator.Forms.Configurator, XSLForms.Resources.PyQtResources.XSLFormsResource):
1.12 def __init__(self, *args, **kw):
1.13 QtConfigurator.Forms.Configurator.__init__(self, *args, **kw)
1.14 - self.factory = XSLForms.PyQt.Factory(self.prepare_template("configuration"))
1.15 + self.factory = XSLForms.Resources.PyQtResources.Factory(self.prepare_template("configuration"))
1.16 ConfiguratorResource.__init__(self, *args, **kw)
1.17 else:
1.18 - import XSLForms.Resources
1.19 - class Configurator(ConfiguratorResource, XSLForms.PyQtWeb.XSLFormsResource):
1.20 + import XSLForms.Resources.PyQtWebResources
1.21 + class Configurator(ConfiguratorResource, XSLForms.Resources.PyQtWebResources.XSLFormsResource):
1.22 def __init__(self, *args, **kw):
1.23 ConfiguratorResource.__init__(self, *args, **kw)
1.24