diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeui/kfontrequester.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-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.cpp | 8 |
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 ) { |