diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /src/sql/qdatatable.cpp | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/sql/qdatatable.cpp')
-rw-r--r-- | src/sql/qdatatable.cpp | 40 |
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(); } |