diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-12-31 09:08:58 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-12-31 09:08:58 +0000 |
commit | d0375cfb5b4b8fdcfe8991056c28dc26a2ee6fad (patch) | |
tree | c0d3474d786558940639d299377aaa0ba1470e31 /qtinterface | |
parent | e8f655c9225246c11d9290761459248299a1fb6a (diff) | |
download | tqtinterface-d0375cfb5b4b8fdcfe8991056c28dc26a2ee6fad.tar.gz tqtinterface-d0375cfb5b4b8fdcfe8991056c28dc26a2ee6fad.zip |
Enhance compatibility with TQt 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1210401 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface')
-rw-r--r-- | qtinterface/tqt.h | 77 |
1 files changed, 75 insertions, 2 deletions
diff --git a/qtinterface/tqt.h b/qtinterface/tqt.h index 82a3a9d..77a4b14 100644 --- a/qtinterface/tqt.h +++ b/qtinterface/tqt.h @@ -48,10 +48,8 @@ Boston, MA 02110-1301, USA. #define qint64 long #define quint64 unsigned long -#define tqchildren children #define tqaccess access #define tqcolorTable colorTable -#define tqmask mask #define TQSO_Default Default #define tqqt_cast ::qt_cast #define TQ_Horizontal Horizontal @@ -579,6 +577,81 @@ Boston, MA 02110-1301, USA. #define TQXmlLexicalHandler QXmlLexicalHandler #define TQXmlDeclHandler QXmlDeclHandler #define TQXmlDefaultHandler QXmlDefaultHandler + +#define tqRound qRound +#define tqstrlen qstrlen +#define tqstrncmp qstrncmp +#define tqUncompress qUncompress +#define tqCopy qCopy +#define tqEqual qEqual +#define tqFill qFill +#define tqFind qFind +#define tqCount qCount +#define tqSwap qSwap +#define tqSystemWarning qSystemWarning +#define tqSuppressObsoleteWarnings qSuppressObsoleteWarnings + +#define tqmoc moc +#define TQMOC MOC +#define TQRGB_MASK RGB_MASK + +#define tqRed qRed +#define tqGreen qGreen +#define tqBlue qBlue +#define tqAlpha qAlpha +#define tqRgb qRgb +#define tqRgba qRgba +#define tqGray qGray +#define tqCompress qCompress +#define tqInstallMsgHandler qInstallMsgHandler +#define tqparentWidget parentWidget +#define tqchildAt childAt +#define tqAppName qAppName +#define tqApp qApp + +#define tqCursorShape CursorShape +#define tqshape shape +#define tqStatus Status +#define tqmetaObject metaObject +#define tqfind find +#define tqchildren children +#define tqsetObjectName setObjectName +#define tqtopLevelWidget topLevelWidget +#define tqparent parent +#define tqmask mask +#define tqfocusWidget focusWidget +#define tqcontains contains +#define tqunicode unicode +#define tqreplace replace +#define tqsignals signals +#define tqslots slots +#define tqworldMatrix worldMatrix +#define tqsizeHint sizeHint +#define tqminimumSize minimumSize +#define tqmaximumSize maximumSize +#define tqgeometry geometry +#define tqspacerItem spacerItem +#define tqlayout layout +#define tqsetAlignment setAlignment +#define tqinvalidate invalidate +#define tqalignment alignment +#define tqdevice device +#define tqfromLatin1 fromLatin1 +#define tqreceivers receivers +#define tqencodedData encodedData +#define tqcurrentDate currentDate +#define tqstyleHint styleHint +#define tqitemRect itemRect +#define tqvisualRect visualRect +#define tqdrawControl drawControl +#define tqsetSizePolicy setSizePolicy +#define tqpixelMetric pixelMetric +#define tqdrawComplexControl drawComplexControl +#define tqrepaint repaint +#define tqcolorGroup colorGroup +#define tqdrawTextItem drawTextItem +#define tqsetLibraryPaths setLibraryPaths +#define tqsetColorGroup setColorGroup #endif #ifdef USE_QT4 |