summaryrefslogtreecommitdiffstats
path: root/src/qtuicompiler.py
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-12-21 14:34:34 +0100
committerSlávek Banko <[email protected]>2022-12-21 14:34:34 +0100
commita635b7dc1520361feb00c21c2a40d4a9cbaf9778 (patch)
treedf8d9a901b525bef2841f70b76c891e1b9ad9435 /src/qtuicompiler.py
parentd394f6a6cd6f042b4d306a5d42c0b6c89c554ff5 (diff)
downloadpytdeextensions-a635b7dc1520361feb00c21c2a40d4a9cbaf9778.tar.gz
pytdeextensions-a635b7dc1520361feb00c21c2a40d4a9cbaf9778.zip
Update after rename python extension module from python_tqt to PyTQt.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/qtuicompiler.py')
-rw-r--r--src/qtuicompiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qtuicompiler.py b/src/qtuicompiler.py
index 7e196df..dfca67c 100644
--- a/src/qtuicompiler.py
+++ b/src/qtuicompiler.py
@@ -17,7 +17,7 @@
import os
import sys
-from python_tqt import pyqtconfig
+from PyTQt import pyqtconfig
from distutils.spawn import *
import traceback
@@ -59,7 +59,7 @@ def CompileUI(ui_file_name, py_file_name=None, kde=False):
input = open(tmp_file_name, 'r')
output = open(py_file_name, 'w')
for line in input.readlines():
- if kde and string.strip(line) == 'from python_tqt.qt import *':
+ if kde and string.strip(line) == 'from PyTQt.qt import *':
output.write(line)
output.write('from tdecore import *\nfrom tdeui import *\n\n')
elif kde and string.find(line, " = KDatePicker(") != -1: