diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:21:13 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:21:13 -0600 |
commit | ebbee358abafa1b5166404c6fe5cc44ae2837a57 (patch) | |
tree | 268d36bbf4de9fb4007a1419b132b8b95251b99d /kpovmodeler/pmgridsettings.cpp | |
parent | 74c05bbf9d92e43a6cf3799355b5f3598884409e (diff) | |
download | tdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.tar.gz tdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kpovmodeler/pmgridsettings.cpp')
-rw-r--r-- | kpovmodeler/pmgridsettings.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kpovmodeler/pmgridsettings.cpp b/kpovmodeler/pmgridsettings.cpp index 644b2ab3..04bdbdd3 100644 --- a/kpovmodeler/pmgridsettings.cpp +++ b/kpovmodeler/pmgridsettings.cpp @@ -31,38 +31,38 @@ PMGridSettings::PMGridSettings( 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( "Displayed Grid" ), this ); - vtqlayout->addWidget( gb ); + vlayout->addWidget( gb ); gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); gvl->addSpacing( 10 ); - htqlayout = new TQHBoxLayout( gvl ); - htqlayout->addWidget( new TQLabel( i18n( "Color:" ), gb ) ); + hlayout = new TQHBoxLayout( gvl ); + hlayout->addWidget( new TQLabel( i18n( "Color:" ), gb ) ); m_pGridColor = new KColorButton( gb ); - htqlayout->addWidget( m_pGridColor ); - htqlayout->addStretch( 1 ); + hlayout->addWidget( m_pGridColor ); + hlayout->addStretch( 1 ); - htqlayout = new TQHBoxLayout( gvl ); - htqlayout->addWidget( new TQLabel( i18n( "Distance:" ), gb ) ); + hlayout = new TQHBoxLayout( gvl ); + hlayout->addWidget( new TQLabel( i18n( "Distance:" ), gb ) ); m_pGridDistance = new PMIntEdit( gb ); m_pGridDistance->setValidation( true, 20, false, 0 ); - htqlayout->addWidget( m_pGridDistance ); - htqlayout->addStretch( 1 ); + hlayout->addWidget( m_pGridDistance ); + hlayout->addStretch( 1 ); gb = new TQGroupBox( i18n( "Control Point Grid" ), this ); - vtqlayout->addWidget( gb ); + vlayout->addWidget( gb ); gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); gvl->addSpacing( 10 ); - htqlayout = new TQHBoxLayout( gvl ); - grid = new TQGridLayout( htqlayout, 3, 2 ); + hlayout = new TQHBoxLayout( gvl ); + grid = new TQGridLayout( hlayout, 3, 2 ); grid->addWidget( new TQLabel( i18n( "2D/3D movement:" ), gb ), 0, 0 ); m_pMoveGrid = new PMFloatEdit( gb ); m_pMoveGrid->setValidation( true, 0.001, true, 100 ); @@ -78,9 +78,9 @@ PMGridSettings::PMGridSettings( TQWidget* parent, const char* name ) m_pRotateGrid->setValidation( true, 0.001, true, 180 ); grid->addWidget( m_pRotateGrid, 2, 1 ); - htqlayout->addStretch( 1 ); + hlayout->addStretch( 1 ); - vtqlayout->addStretch( 1 ); + vlayout->addStretch( 1 ); } void PMGridSettings::displaySettings( ) |