summaryrefslogtreecommitdiffstats
path: root/knode/headerview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/headerview.cpp')
-rw-r--r--knode/headerview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/knode/headerview.cpp b/knode/headerview.cpp
index 324e9d3e5..78b46a4cf 100644
--- a/knode/headerview.cpp
+++ b/knode/headerview.cpp
@@ -14,7 +14,7 @@
#include <tqcursor.h>
#include <tqheader.h>
-#include <stylesheet.h>
+#include <tqstylesheet.h>
#include <tqtimer.h>
#include <klocale.h>
@@ -64,7 +64,7 @@ KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) :
setColumnAlignment( mPaintInfo.sizeCol, TQt::AlignRight );
setColumnAlignment( mPaintInfo.scoreCol, TQt::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)) );
@@ -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 ) ) );
}