diff options
Diffstat (limited to 'mountconfig')
-rw-r--r-- | mountconfig/SMBShareSelectDialog.py | 2 | ||||
-rw-r--r-- | mountconfig/SimpleCommandRunner.py | 2 | ||||
-rw-r--r-- | mountconfig/fuser.py | 2 | ||||
-rwxr-xr-x | mountconfig/mountconfig.py | 14 | ||||
-rw-r--r-- | mountconfig/sizeview.py | 2 |
5 files changed, 5 insertions, 17 deletions
diff --git a/mountconfig/SMBShareSelectDialog.py b/mountconfig/SMBShareSelectDialog.py index fbc06f0..86f668a 100644 --- a/mountconfig/SMBShareSelectDialog.py +++ b/mountconfig/SMBShareSelectDialog.py @@ -14,7 +14,7 @@ # # ########################################################################### -from qt import * +from python_tqt.qt import * from tdeui import * from tdecore import * from tdeio import * diff --git a/mountconfig/SimpleCommandRunner.py b/mountconfig/SimpleCommandRunner.py index 300310e..b879934 100644 --- a/mountconfig/SimpleCommandRunner.py +++ b/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 diff --git a/mountconfig/fuser.py b/mountconfig/fuser.py index 3071885..291a6bc 100644 --- a/mountconfig/fuser.py +++ b/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 * diff --git a/mountconfig/mountconfig.py b/mountconfig/mountconfig.py index d7e3641..d2576f1 100755 --- a/mountconfig/mountconfig.py +++ b/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 * diff --git a/mountconfig/sizeview.py b/mountconfig/sizeview.py index 05c5115..b0e37f7 100644 --- a/mountconfig/sizeview.py +++ b/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 |