From 16434e5519f6224e231bc5f7202f0e495eda7bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 3 Jan 2023 00:52:18 +0100 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- module-init.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'module-init.py') 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 * -- cgit v1.2.1