summaryrefslogtreecommitdiffstats
path: root/kbfxlib/common/kbfxfontchooser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:09:22 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:09:22 -0600
commitbc48dbcc61e0c39023cc81c09f716d2ed8158648 (patch)
tree46364f015a495db0431ee52e35da2b81b0354522 /kbfxlib/common/kbfxfontchooser.cpp
parentb5e89dd08b51b46ea43e036ac11dba55ea80fc72 (diff)
downloadkbfx-bc48dbcc61e0c39023cc81c09f716d2ed8158648.tar.gz
kbfx-bc48dbcc61e0c39023cc81c09f716d2ed8158648.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kbfxlib/common/kbfxfontchooser.cpp')
-rw-r--r--kbfxlib/common/kbfxfontchooser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbfxlib/common/kbfxfontchooser.cpp b/kbfxlib/common/kbfxfontchooser.cpp
index 2a445d6..ca0fd74 100644
--- a/kbfxlib/common/kbfxfontchooser.cpp
+++ b/kbfxlib/common/kbfxfontchooser.cpp
@@ -26,7 +26,7 @@ KBFXFontChooser::KBFXFontChooser ( TQWidget *parent, const char *name )
TQHBoxLayout* tqlayout = new TQHBoxLayout ( this, 0, KDialog::spacingHint() );
m_label = new TQLabel ( this, "fontLabel" );
- m_label->tqsetSizePolicy ( TQSizePolicy::Expanding, TQSizePolicy::Fixed, TRUE);
+ m_label->setSizePolicy ( TQSizePolicy::Expanding, TQSizePolicy::Fixed, TRUE);
// m_label->setFrameShape ( TQFrame::StyledPanel );
// m_label->setFrameShadow ( TQFrame::Sunken );
@@ -36,9 +36,9 @@ KBFXFontChooser::KBFXFontChooser ( TQWidget *parent, const char *name )
m_label->setMaximumHeight ( m_button -> height() );
m_label->setMinimumHeight ( m_button -> height() );
TQString fontText = i18n ( "Font..." );
-// m_button->tqsetSizePolicy ( TQSizePolicy::Minimum, TQSizePolicy::Minimum, TRUE);
+// m_button->setSizePolicy ( TQSizePolicy::Minimum, TQSizePolicy::Minimum, TRUE);
m_button->setText ( fontText );
- TQIconSet iconSet = SmallIconSet ( TQString::tqfromLatin1 ( "fonts" ) );
+ TQIconSet iconSet = SmallIconSet ( TQString::fromLatin1 ( "fonts" ) );
TQPixmap pixmap = iconSet.pixmap ( TQIconSet::Small, TQIconSet::Normal );
m_button->setIconSet ( iconSet );
m_button->setFixedWidth ( m_button->fontMetrics().width ( fontText ) +
@@ -66,7 +66,7 @@ void KBFXFontChooser::updateFontLabel()
TQString s = TQString ( "%1 (%2pt) " ).arg ( m_font.family() ).arg ( m_font.pointSize() );
m_label->setFont ( m_font );
m_label->setText ( s );
- m_label->tqsetAlignment ( TQt::AlignLeft | TQt::AlignVCenter );
+ m_label->setAlignment ( TQt::AlignLeft | TQt::AlignVCenter );
emit FontChanged();
}