diff options
author | Timothy Pearson <[email protected]> | 2011-12-24 11:53:11 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-24 11:53:11 -0600 |
commit | 1aa0bb45dc0a8f890f1419d01ca3b9328ad03f4a (patch) | |
tree | 679ff667ca6f4e994c274abdc72fb706df136bf6 /kpdf | |
parent | ebbee358abafa1b5166404c6fe5cc44ae2837a57 (diff) | |
download | tdegraphics-1aa0bb45dc0a8f890f1419d01ca3b9328ad03f4a.tar.gz tdegraphics-1aa0bb45dc0a8f890f1419d01ca3b9328ad03f4a.zip |
Rename a few stragglers
Diffstat (limited to 'kpdf')
-rw-r--r-- | kpdf/ui/minibar.cpp | 6 | ||||
-rw-r--r-- | kpdf/ui/pagepainter.cpp | 2 | ||||
-rw-r--r-- | kpdf/ui/pageview.cpp | 8 | ||||
-rw-r--r-- | kpdf/ui/presentationwidget.cpp | 4 | ||||
-rw-r--r-- | kpdf/ui/thumbnaillist.cpp | 4 |
5 files changed, 12 insertions, 12 deletions
diff --git a/kpdf/ui/minibar.cpp b/kpdf/ui/minibar.cpp index baa449af..eec74581 100644 --- a/kpdf/ui/minibar.cpp +++ b/kpdf/ui/minibar.cpp @@ -308,12 +308,12 @@ void ProgressWidget::paintEvent( TQPaintEvent * e ) // paint rects and a separator line TQPainter p( this ); if ( cRect.isValid() ) - p.fillRect( cRect, tqpalette().active().highlightedText() ); + p.fillRect( cRect, palette().active().highlightedText() ); if ( fRect.isValid() ) - p.fillRect( fRect, tqpalette().active().highlight() ); + p.fillRect( fRect, palette().active().highlight() ); if ( l && l != w ) { - p.setPen( tqpalette().active().highlight().dark( 120 ) ); + p.setPen( palette().active().highlight().dark( 120 ) ); int delta = TQApplication::reverseLayout() ? w - l : l; p.drawLine( delta, 0, delta, h ); } diff --git a/kpdf/ui/pagepainter.cpp b/kpdf/ui/pagepainter.cpp index f5b659b5..a4644c16 100644 --- a/kpdf/ui/pagepainter.cpp +++ b/kpdf/ui/pagepainter.cpp @@ -213,7 +213,7 @@ void PagePainter::paintPageOnPainter( const KPDFPage * page, int id, int flags, // 3. visually enchance links and images if requested if ( enhanceLinks || enhanceImages ) { - TQColor normalColor = TQApplication::tqpalette().active().highlight(); + TQColor normalColor = TQApplication::palette().active().highlight(); TQColor lightColor = normalColor.light( 140 ); // enlarging limits for intersection is like growing the 'rectGeometry' below TQRect limitsEnlarged = limits; diff --git a/kpdf/ui/pageview.cpp b/kpdf/ui/pageview.cpp index cf93db68..0029676e 100644 --- a/kpdf/ui/pageview.cpp +++ b/kpdf/ui/pageview.cpp @@ -618,7 +618,7 @@ void PageView::viewportPaintEvent( TQPaintEvent * pe ) if ( !selectionRect.isNull() && selectionRect.intersects( contentsRect ) && !selectionRectInternal.contains( contentsRect ) ) { - screenPainter.setPen( tqpalette().active().highlight().dark(110) ); + screenPainter.setPen( palette().active().highlight().dark(110) ); screenPainter.drawRect( selectionRect ); } // 4) Layer 3: overlays @@ -876,7 +876,7 @@ void PageView::contentsMouseMoveEvent( TQMouseEvent * e ) { d->aPrevAction = d->aMouseNormal; d->aMouseSelect->activate(); - TQColor selColor = tqpalette().active().highlight().light( 120 ); + TQColor selColor = palette().active().highlight().light( 120 ); selectionStart( e->x() + deltaX, e->y() + deltaY, selColor, false ); selectionEndPoint( e->x(), e->y() ); break; @@ -946,7 +946,7 @@ void PageView::contentsMousePressEvent( TQMouseEvent * e ) case MouseZoom: // set first corner of the zoom rect if ( leftButton ) - selectionStart( e->x(), e->y(), tqpalette().active().highlight(), false ); + selectionStart( e->x(), e->y(), palette().active().highlight(), false ); else if ( rightButton ) updateZoom( ZoomOut ); break; @@ -954,7 +954,7 @@ void PageView::contentsMousePressEvent( TQMouseEvent * e ) case MouseSelect: // set first corner of the selection rect if ( leftButton ) { - TQColor selColor = tqpalette().active().highlight().light( 120 ); + TQColor selColor = palette().active().highlight().light( 120 ); selectionStart( e->x(), e->y(), selColor, false ); } break; diff --git a/kpdf/ui/presentationwidget.cpp b/kpdf/ui/presentationwidget.cpp index ada517d9..74800e88 100644 --- a/kpdf/ui/presentationwidget.cpp +++ b/kpdf/ui/presentationwidget.cpp @@ -690,9 +690,9 @@ void PresentationWidget::generateOverlay() // generate a 2 colors pixmap using mixing shadow (made with highlight color) // and image (made with highlightedText color) - TQColor color = tqpalette().active().highlightedText(); + TQColor color = palette().active().highlightedText(); int red = color.red(), green = color.green(), blue = color.blue(); - color = tqpalette().active().highlight(); + color = palette().active().highlight(); int sRed = color.red(), sGreen = color.green(), sBlue = color.blue(); // pointers unsigned int * data = (unsigned int *)image.bits(), diff --git a/kpdf/ui/thumbnaillist.cpp b/kpdf/ui/thumbnaillist.cpp index 22819cb6..6c5e2b5f 100644 --- a/kpdf/ui/thumbnaillist.cpp +++ b/kpdf/ui/thumbnaillist.cpp @@ -495,9 +495,9 @@ void ThumbnailWidget::paintEvent( TQPaintEvent * e ) TQPainter p( this ); // draw the bottom label + highlight mark - TQColor fillColor = m_selected ? tqpalette().active().highlight() : tqpalette().active().base(); + TQColor fillColor = m_selected ? palette().active().highlight() : palette().active().base(); p.fillRect( 0, 0, width, height, fillColor ); - p.setPen( m_selected ? tqpalette().active().highlightedText() : tqpalette().active().text() ); + p.setPen( m_selected ? palette().active().highlightedText() : palette().active().text() ); p.drawText( 0, m_pixmapHeight + m_margin, width, m_labelHeight, TQt::AlignCenter, TQString::number( m_labelNumber ) ); // draw page outline and pixmap |