summaryrefslogtreecommitdiffstats
path: root/khexedit/bitswapwidget.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:52 -0600
commitbf280726d5d22f33d33e4f9e771220c725249407 (patch)
tree48b7496821910eb85179d543acee981cf5d16dd8 /khexedit/bitswapwidget.cc
parentc78266617c282543427d2c000b3b68fe2b6b6722 (diff)
downloadtdeutils-bf280726d5d22f33d33e4f9e771220c725249407.tar.gz
tdeutils-bf280726d5d22f33d33e4f9e771220c725249407.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'khexedit/bitswapwidget.cc')
-rw-r--r--khexedit/bitswapwidget.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/khexedit/bitswapwidget.cc b/khexedit/bitswapwidget.cc
index 7e7f14c..14c81c1 100644
--- a/khexedit/bitswapwidget.cc
+++ b/khexedit/bitswapwidget.cc
@@ -81,7 +81,7 @@ void CDigitLabel::setDotPosition( uint dotPosition )
-TQSize CDigitLabel::tqsizeHint( void ) const
+TQSize CDigitLabel::sizeHint( void ) const
{
int h = fontMetrics().height();
TQSize s( h, h ); // Retangular
@@ -98,13 +98,13 @@ void CDigitLabel::drawContents( TQPainter *p )
if( hasFocus() == true )
{
- p->fillRect( cr, tqpalette().active().highlight() );
- p->setPen( tqpalette().active().highlightedText() );
+ p->fillRect( cr, palette().active().highlight() );
+ p->setPen( palette().active().highlightedText() );
}
else
{
- p->fillRect( cr, tqpalette().active().base() );
- p->setPen( tqpalette().active().text() );
+ p->fillRect( cr, palette().active().base() );
+ p->setPen( palette().active().text() );
}
if( mDotPosition != 0 )
@@ -132,7 +132,7 @@ void CDigitLabel::drawContents( TQPainter *p )
TQString text;
text.setNum( mDigit );
- p->drawText( 0, 0, cr.width(), cr.height(), tqalignment(), text );
+ p->drawText( 0, 0, cr.width(), cr.height(), alignment(), text );
@@ -183,9 +183,9 @@ CByteWidget::CByteWidget( TQWidget *parent, const char *name )
{
mDigit[i] = new CDigitLabel( this, 7-i );
mDigit[i]->setLineWidth( 1 );
- mDigit[i]->setFixedSize( mDigit[i]->tqsizeHint()*2 );
+ mDigit[i]->setFixedSize( mDigit[i]->sizeHint()*2 );
mDigit[i]->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
- mDigit[i]->tqsetAlignment( AlignCenter );
+ mDigit[i]->setAlignment( AlignCenter );
connect( mDigit[i], TQT_SIGNAL(stepCell(const TQObject *, bool )),
this, TQT_SLOT(stepCell(const TQObject *, bool )));
connect( mDigit[i], TQT_SIGNAL(valueChanged(const TQObject *, uint, bool )),