diff options
author | Timothy Pearson <[email protected]> | 2012-02-27 17:38:16 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-27 17:38:16 -0600 |
commit | 104997c6f7b545c0095fdc1b1573367bc4cb4d5b (patch) | |
tree | cb6ae5f9464208d78cb51515f5a3c3a0a7edc64f /pyuic3/uic.cpp | |
parent | e87fff3247e64b4e9509be991a8f2d6bd4ccfacc (diff) | |
download | pytqt-104997c6f7b545c0095fdc1b1573367bc4cb4d5b.tar.gz pytqt-104997c6f7b545c0095fdc1b1573367bc4cb4d5b.zip |
Rename tqt3 color functions
Diffstat (limited to 'pyuic3/uic.cpp')
-rw-r--r-- | pyuic3/uic.cpp | 4 |
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; } |