summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
commit203ba231d0276943aae36111f9ec1e949f3c6a4c (patch)
treef039f7a5b5fc2da88a96876971bac580d87f6788 /contrib
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/kdepyuic4
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)