From 104997c6f7b545c0095fdc1b1573367bc4cb4d5b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 27 Feb 2012 17:38:16 -0600 Subject: Rename tqt3 color functions --- sip/qt/qapplication.sip | 2 +- sip/qt/qcolor.sip | 16 ++++++++-------- sip/qt/qobject.sip | 8 ++++---- sip/qt/qwindowdefs_x11.sip | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'sip') 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 exec_loop 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 -- cgit v1.2.1