Properly import python_tqt module

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a7b3f0dc23)
r14.0.x r14.0.4
Slávek Banko 8 years ago
parent df9d151b02
commit 2af4c73f0f

@ -19,19 +19,7 @@
import sys
import os
import os.path
# Trinity-specific paths
tqt_modules = []
for m_path in sys.path:
if os.path.exists(os.path.join(m_path, 'sip4_tqt')):
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, 'python_tqt')):
m_pyqt_dir = os.path.join(m_path, 'python_tqt')
tqt_modules.insert(0, m_pyqt_dir)
for m_path in tqt_modules:
sys.path.insert(0, m_path)
from qt import *
from python_tqt.qt import *
from tdeui import *
from tdecore import *
from tdefile import *

@ -14,7 +14,7 @@
# #
###########################################################################
from qt import *
from python_tqt.qt import *
from tdeui import *
from tdecore import *
from tdeio import *

@ -13,7 +13,7 @@
# (at your option) any later version. #
# #
###########################################################################
from qt import *
from python_tqt.qt import *
from tdecore import *
import locale

@ -22,7 +22,7 @@ TODO:
import sys
import os
from qt import *
from python_tqt.qt import *
from tdeui import *
#import kdedesigner
from fuser_ui import *

@ -19,19 +19,7 @@
import sys
import os
import os.path
# Trinity-specific paths
tqt_modules = []
for m_path in sys.path:
if os.path.exists(os.path.join(m_path, 'sip4_tqt')):
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, 'python_tqt')):
m_pyqt_dir = os.path.join(m_path, 'python_tqt')
tqt_modules.insert(0, m_pyqt_dir)
for m_path in tqt_modules:
sys.path.insert(0, m_path)
from qt import *
from python_tqt.qt import *
from tdeui import *
from tdecore import *
from tdefile import *

@ -1,6 +1,6 @@
#!/usr/bin/env python
from qt import *
from python_tqt.qt import *
from tdecore import *
import sys, os

@ -19,19 +19,7 @@
import sys
import os
import os.path
# Trinity-specific paths
tqt_modules = []
for m_path in sys.path:
if os.path.exists(os.path.join(m_path, 'sip4_tqt')):
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, 'python_tqt')):
m_pyqt_dir = os.path.join(m_path, 'python_tqt')
tqt_modules.insert(0, m_pyqt_dir)
for m_path in tqt_modules:
sys.path.insert(0, m_path)
from qt import *
from python_tqt.qt import *
from tdeui import *
from tdecore import *
import posix

@ -18,19 +18,7 @@
import sys
import os.path
# Trinity-specific paths
tqt_modules = []
for m_path in sys.path:
if os.path.exists(os.path.join(m_path, 'sip4_tqt')):
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, 'python_tqt')):
m_pyqt_dir = os.path.join(m_path, 'python_tqt')
tqt_modules.insert(0, m_pyqt_dir)
for m_path in tqt_modules:
sys.path.insert(0, m_path)
from qt import *
from python_tqt.qt import *
from tdeui import *
from tdecore import *
from tdefile import *

@ -16,7 +16,7 @@
# #
###########################################################################
from qt import *
from python_tqt.qt import *
from tdecore import *
from tdeui import *
from tdefile import *

@ -19,19 +19,7 @@
import sys
import os
import os.path
# Trinity-specific paths
tqt_modules = []
for m_path in sys.path:
if os.path.exists(os.path.join(m_path, 'sip4_tqt')):
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, 'python_tqt')):
m_pyqt_dir = os.path.join(m_path, 'python_tqt')
tqt_modules.insert(0, m_pyqt_dir)
for m_path in tqt_modules:
sys.path.insert(0, m_path)
from qt import *
from python_tqt.qt import *
from tdecore import *
from tdeui import *
from tdefile import *

Loading…
Cancel
Save