summaryrefslogtreecommitdiffstats
path: root/lib/kformula/symbolaction.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /lib/kformula/symbolaction.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
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() );
}
}
}