summaryrefslogtreecommitdiffstats
path: root/pyuic3/uic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pyuic3/uic.cpp')
-rw-r--r--pyuic3/uic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuic3/uic.cpp b/pyuic3/uic.cpp
index 16c027e..ea483a4 100644
--- a/pyuic3/uic.cpp
+++ b/pyuic3/uic.cpp
@@ -249,7 +249,7 @@ Uic::Uic( const TQString &fn, const char *outputFn, TQTextStream &outStream,
out << "\n";
out << indent << "def __tr(self,s,c = None):\n";
++indent;
- out << indent << "return qApp.translate(\"" << nameOfClass << "\",s,c)\n";
+ out << indent << "return tqApp.translate(\"" << nameOfClass << "\",s,c)\n";
--indent;
}
@@ -258,7 +258,7 @@ Uic::Uic( const TQString &fn, const char *outputFn, TQTextStream &outStream,
out << "\n";
out << indent << "def __trUtf8(self,s,c = None):\n";
++indent;
- out << indent << "return qApp.translate(\"" << nameOfClass << "\",s,c,TQApplication.UnicodeUTF8)\n";
+ out << indent << "return tqApp.translate(\"" << nameOfClass << "\",s,c,TQApplication.UnicodeUTF8)\n";
--indent;
}