summaryrefslogtreecommitdiffstats
path: root/src/table
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/table
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/table')
-rw-r--r--src/table/ntqtable.h8
-rw-r--r--src/table/qtable.cpp18
2 files changed, 13 insertions, 13 deletions
diff --git a/src/table/ntqtable.h b/src/table/ntqtable.h
index 0c5e022e8..a74104c31 100644
--- a/src/table/ntqtable.h
+++ b/src/table/ntqtable.h
@@ -55,7 +55,7 @@
#endif // QT_H
-#ifndef QT_NO_TABLE
+#ifndef TQT_NO_TABLE
#if !defined( TQT_MODULE_TABLE ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_TABLE )
#define TQM_EXPORT_TABLE
@@ -423,7 +423,7 @@ protected:
void showEvent( TQShowEvent *e );
void paintEvent( TQPaintEvent *e );
void setEditMode( EditMode mode, int row, int col );
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
virtual void contentsDragEnterEvent( TQDragEnterEvent *e );
virtual void contentsDragMoveEvent( TQDragMoveEvent *e );
virtual void contentsDragLeaveEvent( TQDragLeaveEvent *e );
@@ -464,7 +464,7 @@ signals:
void selectionChanged();
void valueChanged( int row, int col );
void contextMenuRequested( int row, int col, const TQPoint &pos );
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
void dropped( TQDropEvent *e );
#endif
@@ -560,5 +560,5 @@ private:
#define Q_DEFINED_QTABLE
#include "ntqwinexport.h"
-#endif // QT_NO_TABLE
+#endif // TQT_NO_TABLE
#endif // TABLE_H
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