Browse Source

Properly import python_tqt module

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 5 years ago
parent
commit
a7b3f0dc23
  1. 14
      grubconfig/grubconfig.py
  2. 2
      mountconfig/SMBShareSelectDialog.py
  3. 2
      mountconfig/SimpleCommandRunner.py
  4. 2
      mountconfig/fuser.py
  5. 14
      mountconfig/mountconfig.py
  6. 2
      mountconfig/sizeview.py
  7. 14
      serviceconfig/serviceconfig.py
  8. 14
      userconfig/userconfig.py
  9. 2
      wineconfig/firstrunwizard.py
  10. 14
      wineconfig/wineconfig.py

14
grubconfig/grubconfig.py

@ -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 *

2
mountconfig/SMBShareSelectDialog.py

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

2
mountconfig/SimpleCommandRunner.py

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

2
mountconfig/fuser.py

@ -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 *

14
mountconfig/mountconfig.py

@ -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 *

2
mountconfig/sizeview.py

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

14
serviceconfig/serviceconfig.py

@ -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

14
userconfig/userconfig.py

@ -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 *

2
wineconfig/firstrunwizard.py

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

14
wineconfig/wineconfig.py

@ -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