From 79e5d6be76392920c148aa615d9e3504f3388996 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:21:13 -0600 Subject: Rename obsolete tq methods to standard names (cherry picked from commit ebbee358abafa1b5166404c6fe5cc44ae2837a57) --- kpdf/ui/thumbnaillist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kpdf/ui/thumbnaillist.cpp') diff --git a/kpdf/ui/thumbnaillist.cpp b/kpdf/ui/thumbnaillist.cpp index 8f9359b5..22819cb6 100644 --- a/kpdf/ui/thumbnaillist.cpp +++ b/kpdf/ui/thumbnaillist.cpp @@ -82,7 +82,7 @@ ThumbnailList::ThumbnailList( TQWidget *parent, KPDFDocument *document ) setDragAutoScroll( false ); // set contents background to the 'base' color - viewport()->setPaletteBackgroundColor( tqpalette().active().base() ); + viewport()->setPaletteBackgroundColor( palette().active().base() ); setFrameStyle( StyledPanel | Raised ); connect( this, TQT_SIGNAL(contentsMoving(int, int)), this, TQT_SLOT(slotRequestVisiblePixmaps(int, int)) ); @@ -509,7 +509,7 @@ void ThumbnailWidget::paintEvent( TQPaintEvent * e ) p.setPen( isBookmarked ? TQColor( 0xFF8000 ) : TQt::black ); p.drawRect( m_margin/2 - 1, m_margin/2 - 1, m_pixmapWidth + 2, m_pixmapHeight + 2 ); // draw the clear rect - p.setPen( isBookmarked ? TQColor( 0x804000 ) : tqpalette().active().base() ); + p.setPen( isBookmarked ? TQColor( 0x804000 ) : palette().active().base() ); // draw the bottom and right shadow edges if ( !isBookmarked ) { -- cgit v1.2.1