diff options
Diffstat (limited to 'src/widgets/qlistview.cpp')
-rw-r--r-- | src/widgets/qlistview.cpp | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/src/widgets/qlistview.cpp b/src/widgets/qlistview.cpp index 22c04e03c..599c99439 100644 --- a/src/widgets/qlistview.cpp +++ b/src/widgets/qlistview.cpp @@ -2694,29 +2694,29 @@ void TQListView::init() setMouseTracking( TRUE ); viewport()->setMouseTracking( TRUE ); - connect( d->timer, SIGNAL(timeout()), - this, SLOT(updateContents()) ); - connect( d->dirtyItemTimer, SIGNAL(timeout()), - this, SLOT(updateDirtyItems()) ); - connect( d->visibleTimer, SIGNAL(timeout()), - this, SLOT(makeVisible()) ); - connect( d->renameTimer, SIGNAL(timeout()), - this, SLOT(startRename()) ); - connect( d->autoopenTimer, SIGNAL(timeout()), - this, SLOT(openFocusItem()) ); - - connect( d->h, SIGNAL(sizeChange(int,int,int)), - this, SLOT(handleSizeChange(int,int,int)) ); - connect( d->h, SIGNAL(indexChange(int,int,int)), - this, SLOT(handleIndexChange()) ); - connect( d->h, SIGNAL(sectionClicked(int)), - this, SLOT(changeSortColumn(int)) ); - connect( d->h, SIGNAL(sectionHandleDoubleClicked(int)), - this, SLOT(adjustColumn(int)) ); - connect( horizontalScrollBar(), SIGNAL(sliderMoved(int)), - d->h, SLOT(setOffset(int)) ); - connect( horizontalScrollBar(), SIGNAL(valueChanged(int)), - d->h, SLOT(setOffset(int)) ); + connect( d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(updateContents()) ); + connect( d->dirtyItemTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(updateDirtyItems()) ); + connect( d->visibleTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(makeVisible()) ); + connect( d->renameTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(startRename()) ); + connect( d->autoopenTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(openFocusItem()) ); + + connect( d->h, TQ_SIGNAL(sizeChange(int,int,int)), + this, TQ_SLOT(handleSizeChange(int,int,int)) ); + connect( d->h, TQ_SIGNAL(indexChange(int,int,int)), + this, TQ_SLOT(handleIndexChange()) ); + connect( d->h, TQ_SIGNAL(sectionClicked(int)), + this, TQ_SLOT(changeSortColumn(int)) ); + connect( d->h, TQ_SIGNAL(sectionHandleDoubleClicked(int)), + this, TQ_SLOT(adjustColumn(int)) ); + connect( horizontalScrollBar(), TQ_SIGNAL(sliderMoved(int)), + d->h, TQ_SLOT(setOffset(int)) ); + connect( horizontalScrollBar(), TQ_SIGNAL(valueChanged(int)), + d->h, TQ_SLOT(setOffset(int)) ); // will access d->r TQListViewPrivate::Root * r = new TQListViewPrivate::Root( this ); @@ -3460,11 +3460,11 @@ void TQListView::setColumnWidth( int column, int w ) int oldw = d->h->sectionSize( column ); if ( column < d->h->count() && oldw != w ) { d->h->resizeSection( column, w ); - disconnect( d->h, SIGNAL(sizeChange(int,int,int)), - this, SLOT(handleSizeChange(int,int,int)) ); + disconnect( d->h, TQ_SIGNAL(sizeChange(int,int,int)), + this, TQ_SLOT(handleSizeChange(int,int,int)) ); emit d->h->sizeChange( column, oldw, w); - connect( d->h, SIGNAL(sizeChange(int,int,int)), - this, SLOT(handleSizeChange(int,int,int)) ); + connect( d->h, TQ_SIGNAL(sizeChange(int,int,int)), + this, TQ_SLOT(handleSizeChange(int,int,int)) ); updateGeometries(); viewport()->update(); } @@ -4446,7 +4446,7 @@ void TQListView::contentsMousePressEventEx( TQMouseEvent * e ) void TQListView::contentsContextMenuEvent( TQContextMenuEvent *e ) { - if ( !receivers( SIGNAL(contextMenuRequested(TQListViewItem*,const TQPoint&,int)) ) ) { + if ( !receivers( TQ_SIGNAL(contextMenuRequested(TQListViewItem*,const TQPoint&,int)) ) ) { e->ignore(); return; } @@ -4486,8 +4486,8 @@ void TQListView::contentsMouseReleaseEventEx( TQMouseEvent * e ) d->buttonDown = FALSE; // delete and disconnect autoscroll timer, if we have one if ( d->scrollTimer ) { - disconnect( d->scrollTimer, SIGNAL(timeout()), - this, SLOT(doAutoScroll()) ); + disconnect( d->scrollTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(doAutoScroll()) ); d->scrollTimer->stop(); delete d->scrollTimer; d->scrollTimer = 0; @@ -4709,8 +4709,8 @@ void TQListView::contentsMouseMoveEvent( TQMouseEvent * e ) // connect the timer if ( needAutoScroll && !d->scrollTimer ) { d->scrollTimer = new TQTimer( this ); - connect( d->scrollTimer, SIGNAL(timeout()), - this, SLOT(doAutoScroll()) ); + connect( d->scrollTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(doAutoScroll()) ); d->scrollTimer->start( 100, FALSE ); // call it once manually doAutoScroll( vp ); @@ -4720,8 +4720,8 @@ void TQListView::contentsMouseMoveEvent( TQMouseEvent * e ) if ( !needAutoScroll ) { // if there is a autoscroll timer, delete it if ( d->scrollTimer ) { - disconnect( d->scrollTimer, SIGNAL(timeout()), - this, SLOT(doAutoScroll()) ); + disconnect( d->scrollTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(doAutoScroll()) ); d->scrollTimer->stop(); delete d->scrollTimer; d->scrollTimer = 0; |