diff options
Diffstat (limited to 'kbfxlib/common/kbfxfontchooser.cpp')
-rw-r--r-- | kbfxlib/common/kbfxfontchooser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kbfxlib/common/kbfxfontchooser.cpp b/kbfxlib/common/kbfxfontchooser.cpp index ca0fd74..2ebf7d9 100644 --- a/kbfxlib/common/kbfxfontchooser.cpp +++ b/kbfxlib/common/kbfxfontchooser.cpp @@ -23,14 +23,14 @@ KBFXFontChooser::KBFXFontChooser ( TQWidget *parent, const char *name ) : TQWidget ( parent, name ) { - TQHBoxLayout* tqlayout = new TQHBoxLayout ( this, 0, KDialog::spacingHint() ); + TQHBoxLayout* layout = new TQHBoxLayout ( this, 0, KDialog::spacingHint() ); m_label = new TQLabel ( this, "fontLabel" ); m_label->setSizePolicy ( TQSizePolicy::Expanding, TQSizePolicy::Fixed, TRUE); // m_label->setFrameShape ( TQFrame::StyledPanel ); // m_label->setFrameShadow ( TQFrame::Sunken ); - tqlayout->addWidget ( m_label ); + layout->addWidget ( m_label ); m_button = new TQPushButton ( this, "fontButton" ); m_label->setMaximumHeight ( m_button -> height() ); @@ -43,7 +43,7 @@ KBFXFontChooser::KBFXFontChooser ( TQWidget *parent, const char *name ) m_button->setIconSet ( iconSet ); m_button->setFixedWidth ( m_button->fontMetrics().width ( fontText ) + 3 * KDialog::spacingHint() + pixmap.width() ); - tqlayout->addWidget ( m_button ); + layout->addWidget ( m_button ); connect ( m_button, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( buttonClicked() ) ); |