summaryrefslogtreecommitdiffstats
path: root/lib/kformula/symbolaction.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/symbolaction.cc')
-rw-r--r--lib/kformula/symbolaction.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kformula/symbolaction.cc b/lib/kformula/symbolaction.cc
index e26f3fef..d5aa3176 100644
--- a/lib/kformula/symbolaction.cc
+++ b/lib/kformula/symbolaction.cc
@@ -91,7 +91,7 @@ void SymbolComboItem::paint( TQPainter *p )
p->setFont( m_font );
TQFontMetrics fm( p->fontMetrics() );
p->drawText( 3, fm.ascent() + fm.leading() / 2,
- TQString( "%1" ).arg( TQChar( m_symbol ) ) );
+ TQString( "%1" ).tqarg( TQChar( m_symbol ) ) );
p->setFont( KGlobalSettings::generalFont() );
fm = p->fontMetrics();
@@ -128,7 +128,7 @@ int SymbolAction::plug( TQWidget* w, int index )
TQT_SLOT( slotActivated( const TQString & ) ) );
cb->setEnabled( isEnabled() );
bar->insertWidget( id_, comboWidth(), cb, index );
- cb->setMinimumWidth( cb->sizeHint().width() );
+ cb->setMinimumWidth( cb->tqsizeHint().width() );
addContainer( bar, id_ );
@@ -166,7 +166,7 @@ void SymbolAction::updateItems( int id )
for( uint i = 0; i < items().count(); ++i ) {
new SymbolComboItem( *items().at( i ), m_font, m_chars.at( i ), cb );
}
- cb->setMinimumWidth( cb->sizeHint().width() );
+ cb->setMinimumWidth( cb->tqsizeHint().width() );
}
}
}