summaryrefslogtreecommitdiffstats
path: root/module-init.py
diff options
context:
space:
mode:
Diffstat (limited to 'module-init.py')
-rw-r--r--module-init.py30
1 files changed, 15 insertions, 15 deletions
diff --git a/module-init.py b/module-init.py
index 404ec4b..0f08cbd 100644
--- a/module-init.py
+++ b/module-init.py
@@ -7,8 +7,8 @@ for m_path in sys.path:
m_sip_dir = os.path.join(m_path, 'sip4_tqt')
tqt_modules.insert(0, m_sip_dir)
if os.path.exists(os.path.join(m_path, 'PyTQt')):
- m_pyqt_dir = os.path.join(m_path, 'PyTQt')
- tqt_modules.insert(0, m_pyqt_dir)
+ m_pytqt_dir = os.path.join(m_path, 'PyTQt')
+ tqt_modules.insert(0, m_pytqt_dir)
for m_path in tqt_modules:
sys.path.insert(0, m_path)
@@ -31,22 +31,22 @@ def is_module_available(module_name):
# Base modules
__all__ = [
- 'qt',
- 'qtcanvas',
- 'qtnetwork',
- 'qttable',
- 'qtsql',
- 'qtui',
- 'qtxml',
+ 'tqt',
+ 'tqtcanvas',
+ 'tqtnetwork',
+ 'tqttable',
+ 'tqtsql',
+ 'tqtui',
+ 'tqtxml',
]
# Optional modules
-if is_module_available('qtaxcontainer'):
- __all__.append('qtaxcontainer')
-if is_module_available('qtext'):
- __all__.append('qtext')
-if is_module_available('qtgl'):
- __all__.append('qtgl')
+if is_module_available('tqtaxcontainer'):
+ __all__.append('tqtaxcontainer')
+if is_module_available('tqtext'):
+ __all__.append('tqtext')
+if is_module_available('tqtgl'):
+ __all__.append('tqtgl')
# Import namespaces
from PyTQt import *