summaryrefslogtreecommitdiffstats
path: root/kpdf/ui/minibar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:21:13 -0600
committerTimothy Pearson <[email protected]>2011-12-21 14:21:13 -0600
commitebbee358abafa1b5166404c6fe5cc44ae2837a57 (patch)
tree268d36bbf4de9fb4007a1419b132b8b95251b99d /kpdf/ui/minibar.cpp
parent74c05bbf9d92e43a6cf3799355b5f3598884409e (diff)
downloadtdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.tar.gz
tdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kpdf/ui/minibar.cpp')
-rw-r--r--kpdf/ui/minibar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpdf/ui/minibar.cpp b/kpdf/ui/minibar.cpp
index 864291c5..baa449af 100644
--- a/kpdf/ui/minibar.cpp
+++ b/kpdf/ui/minibar.cpp
@@ -87,7 +87,7 @@ MiniBar::MiniBar( TQWidget * parent, KPDFDocument * document )
TQSpacerItem * spacerL = new TQSpacerItem( 20, 10, TQSizePolicy::Expanding );
horLayout->addItem( spacerL );
- // central 2r by 3c grid tqlayout that contains all components
+ // central 2r by 3c grid layout that contains all components
TQGridLayout * gridLayout = new TQGridLayout( 0, 3,5, 2,1 );
// top spacer 6x6 px
// TQSpacerItem * spacerTop = new TQSpacerItem( 6, 6, TQSizePolicy::Fixed, TQSizePolicy::Fixed );
@@ -318,7 +318,7 @@ void ProgressWidget::paintEvent( TQPaintEvent * e )
p.drawLine( delta, 0, delta, h );
}
// draw a frame-like outline
- //p.setPen( tqpalette().active().mid() );
+ //p.setPen( palette().active().mid() );
//p.drawRect( 0,0, w, h );
}
@@ -372,7 +372,7 @@ void PagesEdit::focusOutEvent( TQFocusEvent * e )
{
// change background color to a dark tone
setLineWidth( 1 );
- setPaletteBackgroundColor( tqpalette().active().background().light( 105 ) );
+ setPaletteBackgroundColor( palette().active().background().light( 105 ) );
// restore text
TQLineEdit::setText( backString );
// call default handler
@@ -428,7 +428,7 @@ void HoverButton::paintEvent( TQPaintEvent * e )
else
{
TQPainter p( this );
- p.fillRect(e->rect(), parentWidget() ? parentWidget()->tqpalette().brush(TQPalette::Active, TQColorGroup::Background) : paletteBackgroundColor());
+ p.fillRect(e->rect(), parentWidget() ? parentWidget()->palette().brush(TQPalette::Active, TQColorGroup::Background) : paletteBackgroundColor());
drawButtonLabel( &p );
}
}