From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- src/table/qtable.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/table/qtable.cpp') diff --git a/src/table/qtable.cpp b/src/table/qtable.cpp index 555b3e03a..771f5e22f 100644 --- a/src/table/qtable.cpp +++ b/src/table/qtable.cpp @@ -46,7 +46,7 @@ #include "ntqtable.h" -#ifndef QT_NO_TABLE +#ifndef TQT_NO_TABLE #include #include @@ -2069,7 +2069,7 @@ TQTable::TQTable( int numRows, int numCols, TQWidget *parent, const char *name ) void TQTable::init( int rows, int cols ) { -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP setDragAutoScroll( FALSE ); #endif d = new TQTablePrivate; @@ -3590,7 +3590,7 @@ void TQTable::selectRow( int row ) if ( row < 0 ) return; bool isDataTable = FALSE; -#ifndef QT_NO_SQL +#ifndef TQT_NO_SQL isDataTable = ::tqt_cast(this) != 0; #endif if ( isDataTable || selectionMode() == SingleRow ) { @@ -3785,7 +3785,7 @@ void TQTable::contentsMouseMoveEvent( TQMouseEvent *e ) fixRow( tmpRow, e->pos().y() ); fixCol( tmpCol, e->pos().x() ); -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP if ( dragEnabled() && startDragRow != -1 && startDragCol != -1 ) { if (TQPoint(dragStartPos - e->pos()).manhattanLength() > TQApplication::startDragDistance()) startDrag(); @@ -4071,7 +4071,7 @@ bool TQTable::eventFilter( TQObject *o, TQEvent *e ) } } break; -#ifndef QT_NO_WHEELEVENT +#ifndef TQT_NO_WHEELEVENT case TQEvent::Wheel: if ( o == this || o == viewport() ) { TQWheelEvent* we = (TQWheelEvent*)e; @@ -6350,7 +6350,7 @@ void TQTable::editCell( int row, int col, bool replace ) } } -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP /*! This event handler is called whenever a TQTable object receives a @@ -6770,7 +6770,7 @@ void TQTableHeader::mousePressEvent( TQMouseEvent *e ) startPos = -1; setCaching( TRUE ); resizedSection = -1; -#ifdef QT_NO_CURSOR +#ifdef TQT_NO_CURSOR isResizing = FALSE; #else isResizing = cursor().shape() != ArrowCursor; @@ -6785,7 +6785,7 @@ void TQTableHeader::mousePressEvent( TQMouseEvent *e ) void TQTableHeader::mouseMoveEvent( TQMouseEvent *e ) { if ( (e->state() & MouseButtonMask) != LeftButton // Using LeftButton simulates old behavior. -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR || cursor().shape() != ArrowCursor #endif || ( ( e->state() & ControlButton ) == ControlButton && @@ -7367,4 +7367,4 @@ void TQTableHeader::setLabels(const TQStringList & labels) #include "qtable.moc" -#endif // QT_NO_TABLE +#endif // TQT_NO_TABLE -- cgit v1.2.3