diff options
Diffstat (limited to 'src/table/qtable.cpp')
-rw-r--r-- | src/table/qtable.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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 <ntqpainter.h> #include <ntqlineedit.h> @@ -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<TQDataTable*>(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 |