summaryrefslogtreecommitdiffstats
path: root/sip/qt
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-27 17:38:16 -0600
committerTimothy Pearson <[email protected]>2012-02-27 17:38:16 -0600
commit104997c6f7b545c0095fdc1b1573367bc4cb4d5b (patch)
treecb6ae5f9464208d78cb51515f5a3c3a0a7edc64f /sip/qt
parente87fff3247e64b4e9509be991a8f2d6bd4ccfacc (diff)
downloadpytqt-104997c6f7b545c0095fdc1b1573367bc4cb4d5b.tar.gz
pytqt-104997c6f7b545c0095fdc1b1573367bc4cb4d5b.zip
Rename tqt3 color functions
Diffstat (limited to 'sip/qt')
-rw-r--r--sip/qt/qapplication.sip2
-rw-r--r--sip/qt/qcolor.sip16
-rw-r--r--sip/qt/qobject.sip8
-rw-r--r--sip/qt/qwindowdefs_x11.sip2
4 files changed, 14 insertions, 14 deletions
diff --git a/sip/qt/qapplication.sip b/sip/qt/qapplication.sip
index 4e08b98..367ac2c 100644
--- a/sip/qt/qapplication.sip
+++ b/sip/qt/qapplication.sip
@@ -65,7 +65,7 @@ This has been renamed to <Literal>exec_loop</Literal> in Python.
%End
-TQApplication *qApp;
+TQApplication *tqApp;
class TQApplication : TQObject
diff --git a/sip/qt/qcolor.sip b/sip/qt/qcolor.sip
index 553b064..bf6ede8 100644
--- a/sip/qt/qcolor.sip
+++ b/sip/qt/qcolor.sip
@@ -106,16 +106,16 @@ TQColor darkYellow;
// Related functions.
-int qRed(TQRgb);
-int qGreen(TQRgb);
-int qBlue(TQRgb);
-TQRgb qRgb(int,int,int);
-int qGray(int,int,int);
-int qGray(TQRgb);
+int tqRed(TQRgb);
+int tqGreen(TQRgb);
+int tqBlue(TQRgb);
+TQRgb tqRgb(int,int,int);
+int tqGray(int,int,int);
+int tqGray(TQRgb);
%If (TQt_2_00 -)
-int qAlpha(TQRgb);
-TQRgb qRgba(int,int,int,int);
+int tqAlpha(TQRgb);
+TQRgb tqRgba(int,int,int,int);
%End
diff --git a/sip/qt/qobject.sip b/sip/qt/qobject.sip
index be2e6c5..55a9e1c 100644
--- a/sip/qt/qobject.sip
+++ b/sip/qt/qobject.sip
@@ -437,8 +437,8 @@ public:
Py_BEGIN_ALLOW_THREADS
- if (cname && qApp)
- sipRes = new TQString(qApp -> translate(cname,a0,a1,TQApplication::DefaultCodec));
+ if (cname && tqApp)
+ sipRes = new TQString(tqApp -> translate(cname,a0,a1,TQApplication::DefaultCodec));
else
sipRes = new TQString(TQString::fromLatin1(a0));
@@ -460,8 +460,8 @@ public:
Py_BEGIN_ALLOW_THREADS
- if (cname && qApp)
- sipRes = new TQString(qApp -> translate(cname,a0,a1,TQApplication::UnicodeUTF8));
+ if (cname && tqApp)
+ sipRes = new TQString(tqApp -> translate(cname,a0,a1,TQApplication::UnicodeUTF8));
else
sipRes = new TQString(TQString::fromUtf8(a0));
diff --git a/sip/qt/qwindowdefs_x11.sip b/sip/qt/qwindowdefs_x11.sip
index a771d63..9b2fdd6 100644
--- a/sip/qt/qwindowdefs_x11.sip
+++ b/sip/qt/qwindowdefs_x11.sip
@@ -42,7 +42,7 @@ WId qt_xrootwin(int);
%End
%If (TQt_3_3_0 -)
-const char *qAppClass();
+const char *tqAppClass();
%End
%End