diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:59:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:59:00 -0600 |
commit | ec1fddcd0d6663ad273af85357f04abbc5689468 (patch) | |
tree | 6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /kpovmodeler/pminterioredit.cpp | |
parent | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff) | |
download | tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'kpovmodeler/pminterioredit.cpp')
-rw-r--r-- | kpovmodeler/pminterioredit.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kpovmodeler/pminterioredit.cpp b/kpovmodeler/pminterioredit.cpp index a25032d0..d9b427e7 100644 --- a/kpovmodeler/pminterioredit.cpp +++ b/kpovmodeler/pminterioredit.cpp @@ -21,7 +21,7 @@ #include "pmlineedits.h" #include "pmcoloredit.h" -#include <layout.h> +#include <tqlayout.h> #include <tqlabel.h> #include <tqcheckbox.h> #include <klocale.h> @@ -38,33 +38,33 @@ void PMInteriorEdit::createTopWidgets( ) Base::createTopWidgets( ); TQHBoxLayout* hl = new TQHBoxLayout( topLayout( ) ); - TQGridLayout* layout = new TQGridLayout( hl ,17 ,6); + TQGridLayout* tqlayout = new TQGridLayout( hl ,17 ,6); m_pEnableIorEdit = new TQCheckBox( i18n( "Refraction:" ), this ); m_pIorEdit = new PMFloatEdit( this ); - layout->addWidget( m_pEnableIorEdit, 0, 0 ); - layout->addWidget( m_pIorEdit, 0, 1 ); + tqlayout->addWidget( m_pEnableIorEdit, 0, 0 ); + tqlayout->addWidget( m_pIorEdit, 0, 1 ); m_pEnableCausticsEdit = new TQCheckBox( i18n( "Caustics:" ), this ); m_pCausticsEdit = new PMFloatEdit( this ); - layout->addWidget( m_pEnableCausticsEdit, 1, 0 ); - layout->addWidget( m_pCausticsEdit, 1, 1 ); + tqlayout->addWidget( m_pEnableCausticsEdit, 1, 0 ); + tqlayout->addWidget( m_pCausticsEdit, 1, 1 ); m_pEnableDispersionEdit = new TQCheckBox( i18n( "Dispersion:" ), this ); m_pDispersionEdit = new PMFloatEdit( this ); m_pDispersionEdit->setValidation( true, 0, false, 0 ); - layout->addWidget( m_pEnableDispersionEdit, 2, 0 ); - layout->addWidget( m_pDispersionEdit, 2, 1 ); + tqlayout->addWidget( m_pEnableDispersionEdit, 2, 0 ); + tqlayout->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 ); - layout->addWidget( m_pEnableDispSamplesEdit, 3, 0 ); - layout->addWidget( m_pDispSamplesEdit, 3, 1 ); + tqlayout->addWidget( m_pEnableDispSamplesEdit, 3, 0 ); + tqlayout->addWidget( m_pDispSamplesEdit, 3, 1 ); m_pEnableFadeDistanceEdit = new TQCheckBox( i18n( "Fade distance:" ), this ); m_pFadeDistanceEdit = new PMFloatEdit( this ); - layout->addWidget( m_pEnableFadeDistanceEdit, 4, 0 ); - layout->addWidget( m_pFadeDistanceEdit, 4, 1 ); + tqlayout->addWidget( m_pEnableFadeDistanceEdit, 4, 0 ); + tqlayout->addWidget( m_pFadeDistanceEdit, 4, 1 ); m_pEnableFadePowerEdit = new TQCheckBox( i18n( "Fade power:" ), this ); m_pFadePowerEdit = new PMFloatEdit( this ); - layout->addWidget( m_pEnableFadePowerEdit, 5, 0 ); - layout->addWidget( m_pFadePowerEdit, 5, 1 ); + tqlayout->addWidget( m_pEnableFadePowerEdit, 5, 0 ); + tqlayout->addWidget( m_pFadePowerEdit, 5, 1 ); hl->addStretch( 1 ); connect( m_pIorEdit, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); |