diff options
Diffstat (limited to 'lib/kformula/symbolaction.cc')
-rw-r--r-- | lib/kformula/symbolaction.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kformula/symbolaction.cc b/lib/kformula/symbolaction.cc index e26f3fef..edc3d62e 100644 --- a/lib/kformula/symbolaction.cc +++ b/lib/kformula/symbolaction.cc @@ -76,12 +76,12 @@ SymbolComboItem::~SymbolComboItem() int SymbolComboItem::width( const TQListBox * /*lb*/ ) const { - return widest + TQFontMetrics( KGlobalSettings::generalFont() ).width( text() ) + 12; + return widest + TQFontMetrics( TDEGlobalSettings::generalFont() ).width( text() ) + 12; } int SymbolComboItem::height( const TQListBox * /*lb*/ ) const { - int generalHeight = TQFontMetrics( KGlobalSettings::generalFont() ).lineSpacing(); + int generalHeight = TQFontMetrics( TDEGlobalSettings::generalFont() ).lineSpacing(); int fontHeight = TQFontMetrics( m_font ).lineSpacing(); return TQMAX( generalHeight, fontHeight ) + 2; } @@ -93,7 +93,7 @@ void SymbolComboItem::paint( TQPainter *p ) p->drawText( 3, fm.ascent() + fm.leading() / 2, TQString( "%1" ).arg( TQChar( m_symbol ) ) ); - p->setFont( KGlobalSettings::generalFont() ); + p->setFont( TDEGlobalSettings::generalFont() ); fm = p->fontMetrics(); p->drawText( widest + 6, height( m_combo->listBox() ) / 2 + fm.strikeOutPos(), m_name ); } |