From 79213c7dcd5754122caa8047676cff8f9352e9bb Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 17 Jul 2011 18:35:57 -0500 Subject: Revert accidental tqsize*Cursor conversion from prior commit --- experimental/tqtinterface/qt4/bin/qt20fix | 2 +- .../tqtinterface/qt4/include/tqtglobaldefines.h~ | 20 +++++------ .../tqtinterface/qt4/src/kernel/tqcursor_x11.cpp | 40 +++++++++++----------- .../tqtinterface/qt4/src/kernel/tqnamespace.h | 10 +++--- .../tqtinterface/qt4/src/kernel/tqtglobaldefines.h | 20 +++++------ .../qt4/tools/designer/designer/sizehandle.cpp | 16 ++++----- 6 files changed, 54 insertions(+), 54 deletions(-) diff --git a/experimental/tqtinterface/qt4/bin/qt20fix b/experimental/tqtinterface/qt4/bin/qt20fix index 403673806..cff7e4dcc 100755 --- a/experimental/tqtinterface/qt4/bin/qt20fix +++ b/experimental/tqtinterface/qt4/bin/qt20fix @@ -62,7 +62,7 @@ sub parseline{ # -# this is the big array of globals and their tqreplacements. add stuff +# this is the big array of globals and their replacements. add stuff # at will. # diff --git a/experimental/tqtinterface/qt4/include/tqtglobaldefines.h~ b/experimental/tqtinterface/qt4/include/tqtglobaldefines.h~ index 04b86e3a5..03721ed4b 100644 --- a/experimental/tqtinterface/qt4/include/tqtglobaldefines.h~ +++ b/experimental/tqtinterface/qt4/include/tqtglobaldefines.h~ @@ -193,11 +193,11 @@ // #define tqcrossCursor Qt::CrossCursor // #define tqwaitCursor Qt::WaitCursor // #define tqibeamCursor Qt::IBeamCursor -// #define sizeVerCursor Qt::SizeVerCursor -// #define sizeHorCursor Qt::SizeHorCursor -// #define sizeBDiagCursor Qt::SizeBDiagCursor -// #define sizeFDiagCursor Qt::SizeFDiagCursor -// #define sizeAllCursor Qt::SizeAllCursor +// #define tqsizeVerCursor Qt::SizeVerCursor +// #define tqsizeHorCursor Qt::SizeHorCursor +// #define tqsizeBDiagCursor Qt::SizeBDiagCursor +// #define tqsizeFDiagCursor Qt::SizeFDiagCursor +// #define tqsizeAllCursor Qt::SizeAllCursor // #define tqblankCursor Qt::BlankCursor // #define tqsplitVCursor Qt::SplitVCursor // #define tqsplitHCursor Qt::SplitHCursor @@ -211,11 +211,11 @@ #define tqcrossCursor TQt::crossCursor #define tqwaitCursor TQt::waitCursor #define tqibeamCursor TQt::ibeamCursor -#define sizeVerCursor TQt::sizeVerCursor -#define sizeHorCursor TQt::sizeHorCursor -#define sizeBDiagCursor TQt::sizeBDiagCursor -#define sizeFDiagCursor TQt::sizeFDiagCursor -#define sizeAllCursor TQt::sizeAllCursor +#define tqsizeVerCursor TQt::tqsizeVerCursor +#define tqsizeHorCursor TQt::tqsizeHorCursor +#define tqsizeBDiagCursor TQt::tqsizeBDiagCursor +#define tqsizeFDiagCursor TQt::tqsizeFDiagCursor +#define tqsizeAllCursor TQt::tqsizeAllCursor #define tqblankCursor TQt::blankCursor #define tqsplitVCursor TQt::splitVCursor #define tqsplitHCursor TQt::splitHCursor diff --git a/experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp b/experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp index 36f25047d..159e72d6b 100644 --- a/experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp +++ b/experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp @@ -66,11 +66,11 @@ TQT_STATIC_CONST_IMPL TQCursor & TQt::upArrowCursor = cursorTable[1]; TQT_STATIC_CONST_IMPL TQCursor & TQt::crossCursor = cursorTable[2]; TQT_STATIC_CONST_IMPL TQCursor & TQt::waitCursor = cursorTable[3]; TQT_STATIC_CONST_IMPL TQCursor & TQt::ibeamCursor = cursorTable[4]; -TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeVerCursor = cursorTable[5]; -TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeHorCursor = cursorTable[6]; -TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeBDiagCursor = cursorTable[7]; -TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeFDiagCursor = cursorTable[8]; -TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeAllCursor = cursorTable[9]; +TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeVerCursor = cursorTable[5]; +TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeHorCursor = cursorTable[6]; +TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeBDiagCursor = cursorTable[7]; +TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeFDiagCursor = cursorTable[8]; +TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeAllCursor = cursorTable[9]; TQT_STATIC_CONST_IMPL TQCursor & TQt::blankCursor = cursorTable[10]; TQT_STATIC_CONST_IMPL TQCursor & TQt::splitVCursor = cursorTable[11]; TQT_STATIC_CONST_IMPL TQCursor & TQt::splitHCursor = cursorTable[12]; @@ -84,11 +84,11 @@ TQT_STATIC_CONST_IMPL TQCursor & TQt::busyCursor = cursorTable[16]; // TQT_STATIC_CONST TQCursor & crossCursor = Qt::CrossCursor; // TQT_STATIC_CONST TQCursor & waitCursor = Qt::WaitCursor; // TQT_STATIC_CONST TQCursor & ibeamCursor = Qt::IBeamCursor; -// TQT_STATIC_CONST TQCursor & sizeVerCursor = Qt::SizeVerCursor; -// TQT_STATIC_CONST TQCursor & sizeHorCursor = Qt::SizeHorCursor; -// TQT_STATIC_CONST TQCursor & sizeBDiagCursor = Qt::SizeBDiagCursor; -// TQT_STATIC_CONST TQCursor & sizeFDiagCursor = Qt::SizeFDiagCursor; -// TQT_STATIC_CONST TQCursor & sizeAllCursor = Qt::SizeAllCursor; +// TQT_STATIC_CONST TQCursor & tqsizeVerCursor = Qt::SizeVerCursor; +// TQT_STATIC_CONST TQCursor & tqsizeHorCursor = Qt::SizeHorCursor; +// TQT_STATIC_CONST TQCursor & tqsizeBDiagCursor = Qt::SizeBDiagCursor; +// TQT_STATIC_CONST TQCursor & tqsizeFDiagCursor = Qt::SizeFDiagCursor; +// TQT_STATIC_CONST TQCursor & tqsizeAllCursor = Qt::SizeAllCursor; // TQT_STATIC_CONST TQCursor & blankCursor = Qt::BlankCursor; // TQT_STATIC_CONST TQCursor & splitVCursor = Qt::SplitVCursor; // TQT_STATIC_CONST TQCursor & splitHCursor = Qt::SplitHCursor; @@ -102,11 +102,11 @@ TQT_STATIC_CONST_IMPL TQCursor & TQt::busyCursor = cursorTable[16]; // TQT_STATIC_CONST_IMPL TQCursor & TQt::crossCursor = Qt::CrossCursor; // TQT_STATIC_CONST_IMPL TQCursor & TQt::waitCursor = Qt::WaitCursor; // TQT_STATIC_CONST_IMPL TQCursor & TQt::ibeamCursor = Qt::IBeamCursor; -// TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeVerCursor = Qt::SizeVerCursor; -// TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeHorCursor = Qt::SizeHorCursor; -// TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeBDiagCursor = Qt::SizeBDiagCursor; -// TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeFDiagCursor = Qt::SizeFDiagCursor; -// TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeAllCursor = Qt::SizeAllCursor; +// TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeVerCursor = Qt::SizeVerCursor; +// TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeHorCursor = Qt::SizeHorCursor; +// TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeBDiagCursor = Qt::SizeBDiagCursor; +// TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeFDiagCursor = Qt::SizeFDiagCursor; +// TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeAllCursor = Qt::SizeAllCursor; // TQT_STATIC_CONST_IMPL TQCursor & TQt::blankCursor = Qt::BlankCursor; // TQT_STATIC_CONST_IMPL TQCursor & TQt::splitVCursor = Qt::SplitVCursor; // TQT_STATIC_CONST_IMPL TQCursor & TQt::splitHCursor = Qt::SplitHCursor; @@ -288,11 +288,11 @@ TQT_STATIC_CONST_IMPL TQCursor & TQt::upArrowCursor = cursorTable[1]; TQT_STATIC_CONST_IMPL TQCursor & TQt::crossCursor = cursorTable[2]; TQT_STATIC_CONST_IMPL TQCursor & TQt::waitCursor = cursorTable[3]; TQT_STATIC_CONST_IMPL TQCursor & TQt::ibeamCursor = cursorTable[4]; -TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeVerCursor = cursorTable[5]; -TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeHorCursor = cursorTable[6]; -TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeBDiagCursor = cursorTable[7]; -TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeFDiagCursor = cursorTable[8]; -TQT_STATIC_CONST_IMPL TQCursor & TQt::sizeAllCursor = cursorTable[9]; +TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeVerCursor = cursorTable[5]; +TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeHorCursor = cursorTable[6]; +TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeBDiagCursor = cursorTable[7]; +TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeFDiagCursor = cursorTable[8]; +TQT_STATIC_CONST_IMPL TQCursor & TQt::tqsizeAllCursor = cursorTable[9]; TQT_STATIC_CONST_IMPL TQCursor & TQt::blankCursor = cursorTable[10]; TQT_STATIC_CONST_IMPL TQCursor & TQt::splitVCursor = cursorTable[11]; TQT_STATIC_CONST_IMPL TQCursor & TQt::splitHCursor = cursorTable[12]; diff --git a/experimental/tqtinterface/qt4/src/kernel/tqnamespace.h b/experimental/tqtinterface/qt4/src/kernel/tqnamespace.h index b15893615..6587a717a 100644 --- a/experimental/tqtinterface/qt4/src/kernel/tqnamespace.h +++ b/experimental/tqtinterface/qt4/src/kernel/tqnamespace.h @@ -1009,11 +1009,11 @@ typedef Qt::Orientation Orientation; TQT_STATIC_CONST TQCursor & crossCursor; // crosshair TQT_STATIC_CONST TQCursor & waitCursor; // hourglass/watch TQT_STATIC_CONST TQCursor & ibeamCursor; // ibeam/text entry - TQT_STATIC_CONST TQCursor & sizeVerCursor; // vertical resize - TQT_STATIC_CONST TQCursor & sizeHorCursor; // horizontal resize - TQT_STATIC_CONST TQCursor & sizeBDiagCursor; // diagonal resize (/) - TQT_STATIC_CONST TQCursor & sizeFDiagCursor; // diagonal resize (\) - TQT_STATIC_CONST TQCursor & sizeAllCursor; // all directions resize + TQT_STATIC_CONST TQCursor & tqsizeVerCursor; // vertical resize + TQT_STATIC_CONST TQCursor & tqsizeHorCursor; // horizontal resize + TQT_STATIC_CONST TQCursor & tqsizeBDiagCursor; // diagonal resize (/) + TQT_STATIC_CONST TQCursor & tqsizeFDiagCursor; // diagonal resize (\) + TQT_STATIC_CONST TQCursor & tqsizeAllCursor; // all directions resize TQT_STATIC_CONST TQCursor & blankCursor; // blank/invisible cursor TQT_STATIC_CONST TQCursor & splitVCursor; // vertical bar with left-right // arrows diff --git a/experimental/tqtinterface/qt4/src/kernel/tqtglobaldefines.h b/experimental/tqtinterface/qt4/src/kernel/tqtglobaldefines.h index 35de7c745..c17f1e692 100644 --- a/experimental/tqtinterface/qt4/src/kernel/tqtglobaldefines.h +++ b/experimental/tqtinterface/qt4/src/kernel/tqtglobaldefines.h @@ -195,11 +195,11 @@ // #define tqcrossCursor Qt::CrossCursor // #define tqwaitCursor Qt::WaitCursor // #define tqibeamCursor Qt::IBeamCursor -// #define sizeVerCursor Qt::SizeVerCursor -// #define sizeHorCursor Qt::SizeHorCursor -// #define sizeBDiagCursor Qt::SizeBDiagCursor -// #define sizeFDiagCursor Qt::SizeFDiagCursor -// #define sizeAllCursor Qt::SizeAllCursor +// #define tqsizeVerCursor Qt::SizeVerCursor +// #define tqsizeHorCursor Qt::SizeHorCursor +// #define tqsizeBDiagCursor Qt::SizeBDiagCursor +// #define tqsizeFDiagCursor Qt::SizeFDiagCursor +// #define tqsizeAllCursor Qt::SizeAllCursor // #define tqblankCursor Qt::BlankCursor // #define tqsplitVCursor Qt::SplitVCursor // #define tqsplitHCursor Qt::SplitHCursor @@ -213,11 +213,11 @@ #define tqcrossCursor TQt::crossCursor #define tqwaitCursor TQt::waitCursor #define tqibeamCursor TQt::ibeamCursor -#define sizeVerCursor TQt::sizeVerCursor -#define sizeHorCursor TQt::sizeHorCursor -#define sizeBDiagCursor TQt::sizeBDiagCursor -#define sizeFDiagCursor TQt::sizeFDiagCursor -#define sizeAllCursor TQt::sizeAllCursor +#define tqsizeVerCursor TQt::tqsizeVerCursor +#define tqsizeHorCursor TQt::tqsizeHorCursor +#define tqsizeBDiagCursor TQt::tqsizeBDiagCursor +#define tqsizeFDiagCursor TQt::tqsizeFDiagCursor +#define tqsizeAllCursor TQt::tqsizeAllCursor #define tqblankCursor TQt::blankCursor #define tqsplitVCursor TQt::splitVCursor #define tqsplitHCursor TQt::splitHCursor diff --git a/experimental/tqtinterface/qt4/tools/designer/designer/sizehandle.cpp b/experimental/tqtinterface/qt4/tools/designer/designer/sizehandle.cpp index 76743d63a..f0c6ef32a 100644 --- a/experimental/tqtinterface/qt4/tools/designer/designer/sizehandle.cpp +++ b/experimental/tqtinterface/qt4/tools/designer/designer/sizehandle.cpp @@ -64,28 +64,28 @@ void SizeHandle::updateCursor() switch ( dir ) { case LeftTop: - setCursor( sizeFDiagCursor ); + setCursor( tqsizeFDiagCursor ); break; case Top: - setCursor( sizeVerCursor ); + setCursor( tqsizeVerCursor ); break; case RightTop: - setCursor( sizeBDiagCursor ); + setCursor( tqsizeBDiagCursor ); break; case Right: - setCursor( sizeHorCursor ); + setCursor( tqsizeHorCursor ); break; case RightBottom: - setCursor( sizeFDiagCursor ); + setCursor( tqsizeFDiagCursor ); break; case Bottom: - setCursor( sizeVerCursor ); + setCursor( tqsizeVerCursor ); break; case LeftBottom: - setCursor( sizeBDiagCursor ); + setCursor( tqsizeBDiagCursor ); break; case Left: - setCursor( sizeHorCursor ); + setCursor( tqsizeHorCursor ); break; } } -- cgit v1.2.1