summaryrefslogtreecommitdiffstats
path: root/kdeui/kfontrequester.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeui/kfontrequester.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kfontrequester.cpp')
-rw-r--r--kdeui/kfontrequester.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeui/kfontrequester.cpp b/kdeui/kfontrequester.cpp
index 293f9d546..13b3ffbcf 100644
--- a/kdeui/kfontrequester.cpp
+++ b/kdeui/kfontrequester.cpp
@@ -32,7 +32,7 @@ KFontRequester::KFontRequester( TQWidget *parent, const char *name,
bool onlyFixed ) : TQWidget( parent, name ),
m_onlyFixed( onlyFixed )
{
- TQHBoxLayout *layout = new TQHBoxLayout( this, 0, KDialog::spacingHint() );
+ TQHBoxLayout *tqlayout = new TQHBoxLayout( this, 0, KDialog::spacingHint() );
m_sampleLabel = new TQLabel( this, "m_sampleLabel" );
m_button = new TQPushButton( i18n( "Choose..." ), this, "m_button" );
@@ -40,8 +40,8 @@ KFontRequester::KFontRequester( TQWidget *parent, const char *name,
m_sampleLabel->setFrameStyle( TQFrame::StyledPanel | TQFrame::Sunken );
setFocusProxy( m_button );
- layout->addWidget( m_sampleLabel, 1 );
- layout->addWidget( m_button );
+ tqlayout->addWidget( m_sampleLabel, 1 );
+ tqlayout->addWidget( m_button );
connect( m_button, TQT_SIGNAL( clicked() ), TQT_SLOT( buttonClicked() ) );
@@ -72,7 +72,7 @@ void KFontRequester::setTitle( const TQString &title )
void KFontRequester::buttonClicked()
{
- int result = KFontDialog::getFont( m_selFont, m_onlyFixed, parentWidget() );
+ int result = KFontDialog::getFont( m_selFont, m_onlyFixed, tqparentWidget() );
if ( result == KDialog::Accepted )
{