summaryrefslogtreecommitdiffstats
path: root/src/sql/qdatatable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/qdatatable.cpp')
-rw-r--r--src/sql/qdatatable.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/sql/qdatatable.cpp b/src/sql/qdatatable.cpp
index 6df0cce08..62abd2d45 100644
--- a/src/sql/qdatatable.cpp
+++ b/src/sql/qdatatable.cpp
@@ -280,8 +280,8 @@ void TQDataTable::init()
d->falseTxt = tr( "False" );
d->datefmt = TQt::LocalDate;
reset();
- connect( this, SIGNAL( selectionChanged() ),
- SLOT( updateCurrentSelection()));
+ connect( this, TQ_SIGNAL( selectionChanged() ),
+ TQ_SLOT( updateCurrentSelection()));
}
/*!
@@ -865,13 +865,13 @@ void TQDataTable::endEdit( int row, int col, bool, bool )
switch ( d->dat.mode() ) {
case TQSql::Insert:
if ( accept )
- TQTimer::singleShot( 0, this, SLOT( doInsertCurrent() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( doInsertCurrent() ) );
else
endInsert();
break;
case TQSql::Update:
if ( accept )
- TQTimer::singleShot( 0, this, SLOT( doUpdateCurrent() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( doUpdateCurrent() ) );
else
endUpdate();
break;
@@ -1652,16 +1652,16 @@ void TQDataTable::loadNextPage()
/*! \internal */
void TQDataTable::sliderPressed()
{
- disconnect( verticalScrollBar(), SIGNAL( valueChanged(int) ),
- this, SLOT( loadNextPage() ) );
+ disconnect( verticalScrollBar(), TQ_SIGNAL( valueChanged(int) ),
+ this, TQ_SLOT( loadNextPage() ) );
}
/*! \internal */
void TQDataTable::sliderReleased()
{
loadNextPage();
- connect( verticalScrollBar(), SIGNAL( valueChanged(int) ),
- this, SLOT( loadNextPage() ) );
+ connect( verticalScrollBar(), TQ_SIGNAL( valueChanged(int) ),
+ this, TQ_SLOT( loadNextPage() ) );
}
/*!
@@ -1809,22 +1809,22 @@ void TQDataTable::setSize( TQSqlCursor* sql )
// ### what are the connect/disconnect calls doing here!? move to refresh()
if ( sql->driver() && sql->driver()->hasFeature( TQSqlDriver::QuerySize ) ) {
setVScrollBarMode( Auto );
- disconnect( verticalScrollBar(), SIGNAL( sliderPressed() ),
- this, SLOT( sliderPressed() ) );
- disconnect( verticalScrollBar(), SIGNAL( sliderReleased() ),
- this, SLOT( sliderReleased() ) );
- disconnect( verticalScrollBar(), SIGNAL( valueChanged(int) ),
- this, SLOT( loadNextPage() ) );
+ disconnect( verticalScrollBar(), TQ_SIGNAL( sliderPressed() ),
+ this, TQ_SLOT( sliderPressed() ) );
+ disconnect( verticalScrollBar(), TQ_SIGNAL( sliderReleased() ),
+ this, TQ_SLOT( sliderReleased() ) );
+ disconnect( verticalScrollBar(), TQ_SIGNAL( valueChanged(int) ),
+ this, TQ_SLOT( loadNextPage() ) );
if ( numRows() != sql->size() )
setNumRows( sql->size() );
} else {
setVScrollBarMode( AlwaysOn );
- connect( verticalScrollBar(), SIGNAL( sliderPressed() ),
- this, SLOT( sliderPressed() ) );
- connect( verticalScrollBar(), SIGNAL( sliderReleased() ),
- this, SLOT( sliderReleased() ) );
- connect( verticalScrollBar(), SIGNAL( valueChanged(int) ),
- this, SLOT( loadNextPage() ) );
+ connect( verticalScrollBar(), TQ_SIGNAL( sliderPressed() ),
+ this, TQ_SLOT( sliderPressed() ) );
+ connect( verticalScrollBar(), TQ_SIGNAL( sliderReleased() ),
+ this, TQ_SLOT( sliderReleased() ) );
+ connect( verticalScrollBar(), TQ_SIGNAL( valueChanged(int) ),
+ this, TQ_SLOT( loadNextPage() ) );
setNumRows(0);
loadNextPage();
}