summaryrefslogtreecommitdiffstats
path: root/pyuic3
diff options
context:
space:
mode:
Diffstat (limited to 'pyuic3')
-rw-r--r--pyuic3/globaldefs.h2
-rw-r--r--pyuic3/uic.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/pyuic3/globaldefs.h b/pyuic3/globaldefs.h
index 0035612..4704ff9 100644
--- a/pyuic3/globaldefs.h
+++ b/pyuic3/globaldefs.h
@@ -38,7 +38,7 @@ static void init_colors()
return;
#if 0 // a calculated alternative for backColor1
- TQColorGroup myCg = qApp->palette().active();
+ TQColorGroup myCg = tqApp->palette().active();
int h1, s1, v1;
int h2, s2, v2;
myCg.color( TQColorGroup::Base ).hsv( &h1, &s1, &v1 );
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;
}