summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmobjectsettings.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:21:13 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 19:30:04 +0200
commit79e5d6be76392920c148aa615d9e3504f3388996 (patch)
treebc713fbfa18e2c962f2f1ea8adf9ec5c1ac187ee /kpovmodeler/pmobjectsettings.cpp
parent5027dfec5092217f70492dd6712059e46b21d003 (diff)
downloadtdegraphics-79e5d6be76392920c148aa615d9e3504f3388996.tar.gz
tdegraphics-79e5d6be76392920c148aa615d9e3504f3388996.zip
Rename obsolete tq methods to standard names
(cherry picked from commit ebbee358abafa1b5166404c6fe5cc44ae2837a57)
Diffstat (limited to 'kpovmodeler/pmobjectsettings.cpp')
-rw-r--r--kpovmodeler/pmobjectsettings.cpp158
1 files changed, 79 insertions, 79 deletions
diff --git a/kpovmodeler/pmobjectsettings.cpp b/kpovmodeler/pmobjectsettings.cpp
index e9cd33b4..411b0a49 100644
--- a/kpovmodeler/pmobjectsettings.cpp
+++ b/kpovmodeler/pmobjectsettings.cpp
@@ -47,188 +47,188 @@
PMObjectSettings::PMObjectSettings( 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( ) );
gb = new TQGroupBox( i18n( "Subdivisions" ), this );
- vtqlayout->addWidget( gb );
+ vlayout->addWidget( gb );
gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) );
gvl->addSpacing( 10 );
grid = new TQGridLayout( gvl, 13, 3 );
grid->addWidget( new TQLabel( i18n( "Sphere:" ), gb ), 0, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 0, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 0, 2 );
grid->addWidget( new TQLabel( "u", gb ), 0, 1 );
m_pSphereUSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pSphereUSteps );
+ hlayout->addWidget( m_pSphereUSteps );
m_pSphereUSteps->setValidation( true, 2, true, 32 );
- htqlayout->addWidget( new TQLabel( "v", gb ) );
+ hlayout->addWidget( new TQLabel( "v", gb ) );
m_pSphereVSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pSphereVSteps );
+ hlayout->addWidget( m_pSphereVSteps );
m_pSphereVSteps->setValidation( true, 4, true, 64 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Cylinder:" ), gb ), 1, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 1, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 1, 2 );
m_pCylinderSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pCylinderSteps );
+ hlayout->addWidget( m_pCylinderSteps );
m_pCylinderSteps->setValidation( true, 4, true, 64 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Cone:" ), gb ), 2, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 2, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 2, 2 );
m_pConeSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pConeSteps );
+ hlayout->addWidget( m_pConeSteps );
m_pConeSteps->setValidation( true, 4, true, 64 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Torus:" ), gb ), 3, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 3, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 3, 2 );
grid->addWidget( new TQLabel( "u", gb ), 3, 1 );
m_pTorusUSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pTorusUSteps );
+ hlayout->addWidget( m_pTorusUSteps );
m_pTorusUSteps->setValidation( true, 2, true, 16 );
- htqlayout->addWidget( new TQLabel( "v", gb ) );
+ hlayout->addWidget( new TQLabel( "v", gb ) );
m_pTorusVSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pTorusVSteps );
+ hlayout->addWidget( m_pTorusVSteps );
m_pTorusVSteps->setValidation( true, 4, true, 64 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Disc:" ), gb ), 4, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 4, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 4, 2 );
m_pDiscSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pDiscSteps );
+ hlayout->addWidget( m_pDiscSteps );
m_pDiscSteps->setValidation( true, 4, true, 64 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Blob sphere:" ), gb ), 5, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 5, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 5, 2 );
grid->addWidget( new TQLabel( "u", gb ), 5, 1 );
m_pBlobSphereUSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pBlobSphereUSteps );
+ hlayout->addWidget( m_pBlobSphereUSteps );
m_pBlobSphereUSteps->setValidation( true, 2, true, 32 );
- htqlayout->addWidget( new TQLabel( "v", gb ) );
+ hlayout->addWidget( new TQLabel( "v", gb ) );
m_pBlobSphereVSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pBlobSphereVSteps );
+ hlayout->addWidget( m_pBlobSphereVSteps );
m_pBlobSphereVSteps->setValidation( true, 4, true, 64 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Blob cylinder:" ), gb ), 6, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 6, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 6, 2 );
grid->addWidget( new TQLabel( "u", gb ), 6, 1 );
m_pBlobCylinderUSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pBlobCylinderUSteps );
+ hlayout->addWidget( m_pBlobCylinderUSteps );
m_pBlobCylinderUSteps->setValidation( true, 2, true, 32 );
- htqlayout->addWidget( new TQLabel( "v", gb ) );
+ hlayout->addWidget( new TQLabel( "v", gb ) );
m_pBlobCylinderVSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pBlobCylinderVSteps );
+ hlayout->addWidget( m_pBlobCylinderVSteps );
m_pBlobCylinderVSteps->setValidation( true, 4, true, 64 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Lathe:" ), gb ), 7, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 7, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 7, 2 );
grid->addWidget( new TQLabel( "u", gb ), 7, 1 );
m_pLatheUSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pLatheUSteps );
+ hlayout->addWidget( m_pLatheUSteps );
m_pLatheUSteps->setValidation( true, 1, true, 16 );
- htqlayout->addWidget( new TQLabel( "v", gb ) );
+ hlayout->addWidget( new TQLabel( "v", gb ) );
m_pLatheRSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pLatheRSteps );
+ hlayout->addWidget( m_pLatheRSteps );
m_pLatheRSteps->setValidation( true, 4, true, 64 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Surface of revolution:" ), gb ), 8, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 8, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 8, 2 );
grid->addWidget( new TQLabel( "u", gb ), 8, 1 );
m_pSorUSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pSorUSteps );
+ hlayout->addWidget( m_pSorUSteps );
m_pSorUSteps->setValidation( true, 1, true, 16 );
- htqlayout->addWidget( new TQLabel( "v", gb ) );
+ hlayout->addWidget( new TQLabel( "v", gb ) );
m_pSorRSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pSorRSteps );
+ hlayout->addWidget( m_pSorRSteps );
m_pSorRSteps->setValidation( true, 4, true, 64 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Prism:" ), gb ), 9, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 9, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 9, 2 );
m_pPrismSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pPrismSteps );
+ hlayout->addWidget( m_pPrismSteps );
m_pPrismSteps->setValidation( true, 1, true, 16 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Superquadric ellipsoid:" ), gb ), 10, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 10, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 10, 2 );
grid->addWidget( new TQLabel( "u", gb ), 10, 1 );
m_pSqeUSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pSqeUSteps );
+ hlayout->addWidget( m_pSqeUSteps );
m_pSqeUSteps->setValidation( true, 2, true, 8 );
- htqlayout->addWidget( new TQLabel( "v", gb ) );
+ hlayout->addWidget( new TQLabel( "v", gb ) );
m_pSqeVSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pSqeVSteps );
+ hlayout->addWidget( m_pSqeVSteps );
m_pSqeVSteps->setValidation( true, 2, true, 8 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Sphere sweep:" ), gb ), 11, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 11, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 11, 2 );
grid->addWidget( new TQLabel( "r", gb ), 11, 1 );
m_pSphereSweepRSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pSphereSweepRSteps );
+ hlayout->addWidget( m_pSphereSweepRSteps );
m_pSphereSweepRSteps->setValidation( true, 4, true, 64 );
- htqlayout->addWidget( new TQLabel( "s", gb ) );
+ hlayout->addWidget( new TQLabel( "s", gb ) );
m_pSphereSweepSSteps = new PMIntEdit( gb );
- htqlayout->addWidget( m_pSphereSweepSSteps );
+ hlayout->addWidget( m_pSphereSweepSSteps );
m_pSphereSweepSSteps->setValidation( true, 1, true, 16 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
grid->addWidget( new TQLabel( i18n( "Heightfield:" ), gb ), 12, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 12, 2 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 12, 2 );
m_pHeightFieldVariance = new PMIntEdit( gb );
- htqlayout->addWidget( m_pHeightFieldVariance );
+ hlayout->addWidget( m_pHeightFieldVariance );
m_pHeightFieldVariance->setValidation( true, 1, true, 16 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
gb = new TQGroupBox( i18n( "Sizes" ), this );
- vtqlayout->addWidget( gb );
+ vlayout->addWidget( gb );
gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) );
gvl->addSpacing( 10 );
grid = new TQGridLayout( gvl, 1, 2 );
grid->addWidget( new TQLabel( i18n( "Plane:" ), gb ), 0, 0 );
- htqlayout = new TQHBoxLayout( );
- grid->addLayout( htqlayout, 0, 1 );
+ hlayout = new TQHBoxLayout( );
+ grid->addLayout( hlayout, 0, 1 );
m_pPlaneSize = new PMFloatEdit( gb );
- htqlayout->addWidget( m_pPlaneSize );
+ hlayout->addWidget( m_pPlaneSize );
m_pPlaneSize->setValidation( true, 0.1, false, 0.0 );
- htqlayout->addStretch( 1 );
+ hlayout->addStretch( 1 );
gb = new TQGroupBox( i18n( "Camera Views" ), this );
- vtqlayout->addWidget( gb );
+ vlayout->addWidget( gb );
gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) );
gvl->addSpacing( 10 );
m_pHighDetailCameraViews = new TQCheckBox( i18n( "High detail for enhanced projections" ), gb );
gvl->addWidget( m_pHighDetailCameraViews );
- vtqlayout->addStretch( 1 );
+ vlayout->addStretch( 1 );
}
void PMObjectSettings::displaySettings( )