From ebbee358abafa1b5166404c6fe5cc44ae2837a57 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:21:13 -0600 Subject: Rename obsolete tq methods to standard names --- kpovmodeler/pminterioredit.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kpovmodeler/pminterioredit.cpp') diff --git a/kpovmodeler/pminterioredit.cpp b/kpovmodeler/pminterioredit.cpp index d9b427e7..4b8b2381 100644 --- a/kpovmodeler/pminterioredit.cpp +++ b/kpovmodeler/pminterioredit.cpp @@ -38,33 +38,33 @@ void PMInteriorEdit::createTopWidgets( ) Base::createTopWidgets( ); TQHBoxLayout* hl = new TQHBoxLayout( topLayout( ) ); - TQGridLayout* tqlayout = new TQGridLayout( hl ,17 ,6); + TQGridLayout* layout = new TQGridLayout( hl ,17 ,6); m_pEnableIorEdit = new TQCheckBox( i18n( "Refraction:" ), this ); m_pIorEdit = new PMFloatEdit( this ); - tqlayout->addWidget( m_pEnableIorEdit, 0, 0 ); - tqlayout->addWidget( m_pIorEdit, 0, 1 ); + layout->addWidget( m_pEnableIorEdit, 0, 0 ); + layout->addWidget( m_pIorEdit, 0, 1 ); m_pEnableCausticsEdit = new TQCheckBox( i18n( "Caustics:" ), this ); m_pCausticsEdit = new PMFloatEdit( this ); - tqlayout->addWidget( m_pEnableCausticsEdit, 1, 0 ); - tqlayout->addWidget( m_pCausticsEdit, 1, 1 ); + layout->addWidget( m_pEnableCausticsEdit, 1, 0 ); + layout->addWidget( m_pCausticsEdit, 1, 1 ); m_pEnableDispersionEdit = new TQCheckBox( i18n( "Dispersion:" ), this ); m_pDispersionEdit = new PMFloatEdit( this ); m_pDispersionEdit->setValidation( true, 0, false, 0 ); - tqlayout->addWidget( m_pEnableDispersionEdit, 2, 0 ); - tqlayout->addWidget( m_pDispersionEdit, 2, 1 ); + layout->addWidget( m_pEnableDispersionEdit, 2, 0 ); + layout->addWidget( m_pDispersionEdit, 2, 1 ); m_pEnableDispSamplesEdit = new TQCheckBox( i18n( "Dispersion samples:" ), this ); m_pDispSamplesEdit = new PMIntEdit( this ); m_pDispSamplesEdit->setValidation( true, 2, false, 0 ); - tqlayout->addWidget( m_pEnableDispSamplesEdit, 3, 0 ); - tqlayout->addWidget( m_pDispSamplesEdit, 3, 1 ); + layout->addWidget( m_pEnableDispSamplesEdit, 3, 0 ); + layout->addWidget( m_pDispSamplesEdit, 3, 1 ); m_pEnableFadeDistanceEdit = new TQCheckBox( i18n( "Fade distance:" ), this ); m_pFadeDistanceEdit = new PMFloatEdit( this ); - tqlayout->addWidget( m_pEnableFadeDistanceEdit, 4, 0 ); - tqlayout->addWidget( m_pFadeDistanceEdit, 4, 1 ); + layout->addWidget( m_pEnableFadeDistanceEdit, 4, 0 ); + layout->addWidget( m_pFadeDistanceEdit, 4, 1 ); m_pEnableFadePowerEdit = new TQCheckBox( i18n( "Fade power:" ), this ); m_pFadePowerEdit = new PMFloatEdit( this ); - tqlayout->addWidget( m_pEnableFadePowerEdit, 5, 0 ); - tqlayout->addWidget( m_pFadePowerEdit, 5, 1 ); + layout->addWidget( m_pEnableFadePowerEdit, 5, 0 ); + layout->addWidget( m_pFadePowerEdit, 5, 1 ); hl->addStretch( 1 ); connect( m_pIorEdit, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); -- cgit v1.2.1