diff options
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/qtable.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/table/qtable.cpp b/src/table/qtable.cpp index 93d389e3b..1d07d5141 100644 --- a/src/table/qtable.cpp +++ b/src/table/qtable.cpp @@ -1272,7 +1272,7 @@ TQWidget *TQComboTableItem::createEditor() const ( (TQComboTableItem*)this )->cb = new TQComboBox( edit, table()->viewport(), "qt_editor_cb" ); cb->insertStringList( entries ); cb->setCurrentItem( current ); - TQObject::connect( cb, SIGNAL( activated(int) ), table(), SLOT( doValueChanged() ) ); + TQObject::connect( cb, TQ_SIGNAL( activated(int) ), table(), TQ_SLOT( doValueChanged() ) ); return cb; } @@ -1538,7 +1538,7 @@ TQWidget *TQCheckTableItem::createEditor() const cb->setChecked( checked ); cb->setText( text() ); cb->setBackgroundColor( table()->viewport()->backgroundColor() ); - TQObject::connect( cb, SIGNAL( toggled(bool) ), table(), SLOT( doValueChanged() ) ); + TQObject::connect( cb, TQ_SIGNAL( toggled(bool) ), table(), TQ_SLOT( doValueChanged() ) ); return cb; } @@ -2076,7 +2076,7 @@ void TQTable::init( int rows, int cols ) d->geomTimer = new TQTimer( this ); d->lastVisCol = 0; d->lastVisRow = 0; - connect( d->geomTimer, SIGNAL( timeout() ), this, SLOT( updateGeometriesSlot() ) ); + connect( d->geomTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( updateGeometriesSlot() ) ); shouldClearSelection = FALSE; dEnabled = FALSE; roRows.setAutoDelete( TRUE ); @@ -2130,25 +2130,25 @@ void TQTable::init( int rows, int cols ) contents.setAutoDelete( FALSE ); // Connect header, table and scrollbars - connect( horizontalScrollBar(), SIGNAL( valueChanged(int) ), - topHeader, SLOT( setOffset(int) ) ); - connect( verticalScrollBar(), SIGNAL( valueChanged(int) ), - leftHeader, SLOT( setOffset(int) ) ); - connect( topHeader, SIGNAL( sectionSizeChanged(int) ), - this, SLOT( columnWidthChanged(int) ) ); - connect( topHeader, SIGNAL( indexChange(int,int,int) ), - this, SLOT( columnIndexChanged(int,int,int) ) ); - connect( topHeader, SIGNAL( sectionClicked(int) ), - this, SLOT( columnClicked(int) ) ); - connect( leftHeader, SIGNAL( sectionSizeChanged(int) ), - this, SLOT( rowHeightChanged(int) ) ); - connect( leftHeader, SIGNAL( indexChange(int,int,int) ), - this, SLOT( rowIndexChanged(int,int,int) ) ); + connect( horizontalScrollBar(), TQ_SIGNAL( valueChanged(int) ), + topHeader, TQ_SLOT( setOffset(int) ) ); + connect( verticalScrollBar(), TQ_SIGNAL( valueChanged(int) ), + leftHeader, TQ_SLOT( setOffset(int) ) ); + connect( topHeader, TQ_SIGNAL( sectionSizeChanged(int) ), + this, TQ_SLOT( columnWidthChanged(int) ) ); + connect( topHeader, TQ_SIGNAL( indexChange(int,int,int) ), + this, TQ_SLOT( columnIndexChanged(int,int,int) ) ); + connect( topHeader, TQ_SIGNAL( sectionClicked(int) ), + this, TQ_SLOT( columnClicked(int) ) ); + connect( leftHeader, TQ_SIGNAL( sectionSizeChanged(int) ), + this, TQ_SLOT( rowHeightChanged(int) ) ); + connect( leftHeader, TQ_SIGNAL( indexChange(int,int,int) ), + this, TQ_SLOT( rowIndexChanged(int,int,int) ) ); // Initialize variables autoScrollTimer = new TQTimer( this ); - connect( autoScrollTimer, SIGNAL( timeout() ), - this, SLOT( doAutoScroll() ) ); + connect( autoScrollTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( doAutoScroll() ) ); curRow = curCol = 0; topHeader->setSectionState( curCol, TQTableHeader::Bold ); leftHeader->setSectionState( curRow, TQTableHeader::Bold ); @@ -3948,7 +3948,7 @@ void TQTable::contentsMouseReleaseEvent( TQMouseEvent *e ) void TQTable::contentsContextMenuEvent( TQContextMenuEvent *e ) { - if ( !receivers( SIGNAL(contextMenuRequested(int,int,const TQPoint&)) ) ) { + if ( !receivers( TQ_SIGNAL(contextMenuRequested(int,int,const TQPoint&)) ) ) { e->ignore(); return; } @@ -6527,8 +6527,8 @@ TQTableHeader::TQTableHeader( int i, TQTable *t, states.fill( Normal, -1 ); stretchable.fill( FALSE, -1 ); autoScrollTimer = new TQTimer( this ); - connect( autoScrollTimer, SIGNAL( timeout() ), - this, SLOT( doAutoScroll() ) ); + connect( autoScrollTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( doAutoScroll() ) ); #ifndef NO_LINE_WIDGET line1 = new TQWidget( table->viewport(), "qt_line1" ); line1->hide(); @@ -6542,17 +6542,17 @@ TQTableHeader::TQTableHeader( int i, TQTable *t, d = new TQTableHeaderPrivate; d->oldLinePos = -1; //outside, in contents coords #endif - connect( this, SIGNAL( sizeChange(int,int,int) ), - this, SLOT( sectionWidthChanged(int,int,int) ) ); - connect( this, SIGNAL( indexChange(int,int,int) ), - this, SLOT( indexChanged(int,int,int) ) ); + connect( this, TQ_SIGNAL( sizeChange(int,int,int) ), + this, TQ_SLOT( sectionWidthChanged(int,int,int) ) ); + connect( this, TQ_SIGNAL( indexChange(int,int,int) ), + this, TQ_SLOT( indexChanged(int,int,int) ) ); stretchTimer = new TQTimer( this ); widgetStretchTimer = new TQTimer( this ); - connect( stretchTimer, SIGNAL( timeout() ), - this, SLOT( updateStretches() ) ); - connect( widgetStretchTimer, SIGNAL( timeout() ), - this, SLOT( updateWidgetStretches() ) ); + connect( stretchTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( updateStretches() ) ); + connect( widgetStretchTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( updateWidgetStretches() ) ); startPos = -1; } |