diff options
Diffstat (limited to 'knode/headerview.cpp')
-rw-r--r-- | knode/headerview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/knode/headerview.cpp b/knode/headerview.cpp index ede75bb66..0c2e06220 100644 --- a/knode/headerview.cpp +++ b/knode/headerview.cpp @@ -64,7 +64,7 @@ KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) : setColumnAlignment( mPaintInfo.sizeCol, Qt::AlignRight ); setColumnAlignment( mPaintInfo.scoreCol, Qt::AlignRight ); - // due to our own column text squeezing we need to repaint on column resizing + // due to our own column text squeezing we need to tqrepaint on column resizing disconnect( header(), TQT_SIGNAL(sizeChange(int, int, int)) ); connect( header(), TQT_SIGNAL(sizeChange(int, int, int)), TQT_SLOT(slotSizeChanged(int, int, int)) ); @@ -146,7 +146,7 @@ void KNHeaderView::setActive( TQListViewItem *i ) if ( mActiveItem ) { mActiveItem->setActive( false ); - repaintItem( mActiveItem ); + tqrepaintItem( mActiveItem ); mActiveItem = 0; } @@ -534,7 +534,7 @@ TQDragObject* KNHeaderView::dragObject() void KNHeaderView::slotSizeChanged( int section, int, int newSize ) { - viewport()->repaint( header()->sectionPos(section), 0, newSize, visibleHeight(), false); + viewport()->tqrepaint( header()->sectionPos(section), 0, newSize, visibleHeight(), false); } @@ -601,14 +601,14 @@ void KNHeaderViewToolTip::maybeTip( const TQPoint &p ) if ( !item->showToolTip( column ) ) return; - const TQRect itemRect = listView->itemRect( item ); - if ( !itemRect.isValid() ) + const TQRect tqitemRect = listView->tqitemRect( item ); + if ( !tqitemRect.isValid() ) return; const TQRect headerRect = listView->header()->sectionRect( column ); if ( !headerRect.isValid() ) return; - tip( TQRect( headerRect.left(), itemRect.top(), headerRect.width(), itemRect.height() ), + tip( TQRect( headerRect.left(), tqitemRect.top(), headerRect.width(), tqitemRect.height() ), TQStyleSheet::escape( item->text( column ) ) ); } |