diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-01-03 00:52:18 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-01-20 02:10:39 +0100 |
commit | 16434e5519f6224e231bc5f7202f0e495eda7bb7 (patch) | |
tree | d0a3bc5f18eb65f89c1e6238dcf579e6c9cb80ad /module-init.py | |
parent | 1c362264d328c8886d33061ab992750741f7933a (diff) | |
download | pytqt-16434e5519f6224e231bc5f7202f0e495eda7bb7.tar.gz pytqt-16434e5519f6224e231bc5f7202f0e495eda7bb7.zip |
Do rename qt=>tqt on source files, directories and libraries.
Rename pyuic=>pytquic, pylupdate=>pytqlupdate.
Do rename qt=>tqt on constants and variables.
Do rename QT=>TQT on constants.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'module-init.py')
-rw-r--r-- | module-init.py | 30 |
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 * |