diff options
Diffstat (limited to 'contrib/kdepyuic')
-rwxr-xr-x | contrib/kdepyuic | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/kdepyuic b/contrib/kdepyuic index fe9b413..873b032 100755 --- a/contrib/kdepyuic +++ b/contrib/kdepyuic @@ -137,14 +137,14 @@ def doPyuic (): if addImport and (string.strip (line) == 'from qt import *'): n.write (line) addimport (n) - elif addApp and (string.strip (line) == 'a = QApplication(sys.argv)'): + elif addApp and (string.strip (line) == 'a = TQApplication(sys.argv)'): indent = 0 while line [indent] in string.whitespace: indent = indent + 1 addapp (line[:indent], n) elif string.find(line, " = KDatePicker(") != -1: o = string.find(line, ",") - n.write (line[:o] + ",QDate.currentDate()" + line[o:]) + n.write (line[:o] + ",TQDate.currentDate()" + line[o:]) else: n.write (line) |