summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmpreviewsettings.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:21:13 -0600
committerTimothy Pearson <[email protected]>2011-12-21 14:21:13 -0600
commitebbee358abafa1b5166404c6fe5cc44ae2837a57 (patch)
tree268d36bbf4de9fb4007a1419b132b8b95251b99d /kpovmodeler/pmpreviewsettings.cpp
parent74c05bbf9d92e43a6cf3799355b5f3598884409e (diff)
downloadtdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.tar.gz
tdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kpovmodeler/pmpreviewsettings.cpp')
-rw-r--r--kpovmodeler/pmpreviewsettings.cpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/kpovmodeler/pmpreviewsettings.cpp b/kpovmodeler/pmpreviewsettings.cpp
index a08ff1fe..700c19ee 100644
--- a/kpovmodeler/pmpreviewsettings.cpp
+++ b/kpovmodeler/pmpreviewsettings.cpp
@@ -32,16 +32,16 @@
PMPreviewSettings::PMPreviewSettings( TQWidget* parent, const char* name )
: PMSettingsDialogPage( parent, name )
{
- TQHBoxLayout* htqlayout;
- TQVBoxLayout* vtqlayout;
+ TQHBoxLayout* hlayout;
+ TQVBoxLayout* vlayout;
TQVBoxLayout* gvl;
TQGridLayout* grid;
TQGroupBox* gb;
- vtqlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint( ) );
+ vlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint( ) );
- htqlayout = new TQHBoxLayout( vtqlayout );
- grid = new TQGridLayout( htqlayout, 2, 2 );
+ hlayout = new TQHBoxLayout( vlayout );
+ grid = new TQGridLayout( hlayout, 2, 2 );
grid->addWidget( new TQLabel( i18n( "Size:" ), this ), 0, 0 );
m_pPreviewSize = new PMIntEdit( this );
m_pPreviewSize->setValidation( true, 10, true, 400 );
@@ -50,10 +50,10 @@ PMPreviewSettings::PMPreviewSettings( TQWidget* parent, const char* name )
grid->addWidget( new TQLabel( i18n( "Gamma:" ), this ), 1, 0 );
m_pPreviewGamma = new PMFloatEdit( this );
grid->addWidget( m_pPreviewGamma, 1, 1 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
gb = new TQGroupBox( i18n( "Rendered Objects" ), this );
- vtqlayout->addWidget( gb );
+ vlayout->addWidget( gb );
gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) );
gvl->addSpacing( 10 );
m_pPreviewSphere = new TQCheckBox( i18n( "Sphere" ), gb );
@@ -64,52 +64,52 @@ PMPreviewSettings::PMPreviewSettings( TQWidget* parent, const char* name )
gvl->addWidget( m_pPreviewBox );
gb = new TQGroupBox( i18n( "Wall" ), this );
- vtqlayout->addWidget( gb );
+ vlayout->addWidget( gb );
gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) );
gvl->addSpacing( 10 );
m_pPreviewWall = new TQCheckBox( i18n( "Enable wall" ), gb );
gvl->addWidget( m_pPreviewWall );
- htqlayout = new TQHBoxLayout( gvl );
- htqlayout->addWidget( new TQLabel( i18n( "Color 1:" ), gb ) );
+ hlayout = new TQHBoxLayout( gvl );
+ hlayout->addWidget( new TQLabel( i18n( "Color 1:" ), gb ) );
m_pWallColor1 = new KColorButton( gb );
- htqlayout->addWidget( m_pWallColor1 );
- htqlayout->addWidget( new TQLabel( i18n( "Color 2:" ), gb ) );
+ hlayout->addWidget( m_pWallColor1 );
+ hlayout->addWidget( new TQLabel( i18n( "Color 2:" ), gb ) );
m_pWallColor2 = new KColorButton( gb );
- htqlayout->addWidget( m_pWallColor2 );
- htqlayout->addStretch( 1 );
+ hlayout->addWidget( m_pWallColor2 );
+ hlayout->addStretch( 1 );
gb = new TQGroupBox( i18n( "Floor" ), this );
- vtqlayout->addWidget( gb );
+ vlayout->addWidget( gb );
gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) );
gvl->addSpacing( 10 );
m_pPreviewFloor = new TQCheckBox( i18n( "Enable floor" ), gb );
gvl->addWidget( m_pPreviewFloor );
- htqlayout = new TQHBoxLayout( gvl );
- htqlayout->addWidget( new TQLabel( i18n( "Color 1:" ), gb ) );
+ hlayout = new TQHBoxLayout( gvl );
+ hlayout->addWidget( new TQLabel( i18n( "Color 1:" ), gb ) );
m_pFloorColor1 = new KColorButton( gb );
- htqlayout->addWidget( m_pFloorColor1 );
- htqlayout->addWidget( new TQLabel( i18n( "Color 2:" ), gb ) );
+ hlayout->addWidget( m_pFloorColor1 );
+ hlayout->addWidget( new TQLabel( i18n( "Color 2:" ), gb ) );
m_pFloorColor2 = new KColorButton( gb );
- htqlayout->addWidget( m_pFloorColor2 );
- htqlayout->addStretch( 1 );
+ hlayout->addWidget( m_pFloorColor2 );
+ hlayout->addStretch( 1 );
gb = new TQGroupBox( i18n( "Antialiasing" ), this );
- vtqlayout->addWidget( gb );
+ vlayout->addWidget( gb );
gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) );
gvl->addSpacing( 10 );
m_pPreviewAA = new TQCheckBox( i18n( "Enable antialiasing" ), gb );
gvl->addWidget( m_pPreviewAA );
- htqlayout = new TQHBoxLayout( gvl );
- htqlayout->addWidget( new TQLabel( i18n( "Depth:" ), gb ) );
+ hlayout = new TQHBoxLayout( gvl );
+ hlayout->addWidget( new TQLabel( i18n( "Depth:" ), gb ) );
m_pPreviewAALevel = new PMIntEdit( gb );
m_pPreviewAALevel->setValidation( true, 1, true, 9 );
- htqlayout->addWidget( m_pPreviewAALevel );
- htqlayout->addWidget( new TQLabel( i18n( "Threshold:" ), gb ) );
+ hlayout->addWidget( m_pPreviewAALevel );
+ hlayout->addWidget( new TQLabel( i18n( "Threshold:" ), gb ) );
m_pPreviewAAThreshold = new PMFloatEdit( gb );
- htqlayout->addWidget( m_pPreviewAAThreshold );
- htqlayout->addStretch( 1 );
+ hlayout->addWidget( m_pPreviewAAThreshold );
+ hlayout->addStretch( 1 );
- vtqlayout->addStretch( 1 );
+ vlayout->addStretch( 1 );
}
void PMPreviewSettings::displaySettings( )