diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
commit | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch) | |
tree | ab537a329b9613e11dce8195761f93ffe82aed24 /knode/headerview.cpp | |
parent | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff) | |
download | tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
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 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 ) ) ); } |