summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmvectoredit.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:21:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:21:13 -0600
commitebbee358abafa1b5166404c6fe5cc44ae2837a57 (patch)
tree268d36bbf4de9fb4007a1419b132b8b95251b99d /kpovmodeler/pmvectoredit.cpp
parent74c05bbf9d92e43a6cf3799355b5f3598884409e (diff)
downloadtdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.tar.gz
tdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kpovmodeler/pmvectoredit.cpp')
-rw-r--r--kpovmodeler/pmvectoredit.cpp78
1 files changed, 39 insertions, 39 deletions
diff --git a/kpovmodeler/pmvectoredit.cpp b/kpovmodeler/pmvectoredit.cpp
index 79075dc3..7b9b6568 100644
--- a/kpovmodeler/pmvectoredit.cpp
+++ b/kpovmodeler/pmvectoredit.cpp
@@ -32,7 +32,7 @@ PMVectorEdit::PMVectorEdit( const TQString& descriptionX,
: TQWidget( parent, name )
{
unsigned int i;
- TQHBoxLayout* tqlayout;
+ TQHBoxLayout* layout;
TQLabel* label;
m_edits.resize( 2 );
@@ -43,24 +43,24 @@ PMVectorEdit::PMVectorEdit( const TQString& descriptionX,
TQT_SLOT( slotTextChanged( const TQString& ) ) );
}
- tqlayout = new TQHBoxLayout( this );
+ layout = new TQHBoxLayout( this );
if( !descriptionX.isEmpty( ) )
{
label = new TQLabel( descriptionX, this );
- tqlayout->addWidget( label );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( label );
+ layout->addSpacing( KDialog::spacingHint( ) );
}
- tqlayout->addWidget( m_edits[0] );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( m_edits[0] );
+ layout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionY.isEmpty( ) )
{
label = new TQLabel( descriptionY, this );
- tqlayout->addWidget( label );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( label );
+ layout->addSpacing( KDialog::spacingHint( ) );
}
- tqlayout->addWidget( m_edits[1] );
+ layout->addWidget( m_edits[1] );
}
PMVectorEdit::PMVectorEdit( const TQString& descriptionX,
@@ -70,7 +70,7 @@ PMVectorEdit::PMVectorEdit( const TQString& descriptionX,
: TQWidget( parent, name )
{
unsigned int i;
- TQHBoxLayout* tqlayout;
+ TQHBoxLayout* layout;
TQLabel* label;
m_edits.resize( 3 );
@@ -81,33 +81,33 @@ PMVectorEdit::PMVectorEdit( const TQString& descriptionX,
TQT_SLOT( slotTextChanged( const TQString& ) ) );
}
- tqlayout = new TQHBoxLayout( this );
+ layout = new TQHBoxLayout( this );
if( !descriptionX.isEmpty( ) )
{
label = new TQLabel( descriptionX, this );
- tqlayout->addWidget( label );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( label );
+ layout->addSpacing( KDialog::spacingHint( ) );
}
- tqlayout->addWidget( m_edits[0] );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( m_edits[0] );
+ layout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionY.isEmpty( ) )
{
label = new TQLabel( descriptionY, this );
- tqlayout->addWidget( label );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( label );
+ layout->addSpacing( KDialog::spacingHint( ) );
}
- tqlayout->addWidget( m_edits[1] );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( m_edits[1] );
+ layout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionZ.isEmpty( ) )
{
label = new TQLabel( descriptionZ, this );
- tqlayout->addWidget( label );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( label );
+ layout->addSpacing( KDialog::spacingHint( ) );
}
- tqlayout->addWidget( m_edits[2] );
+ layout->addWidget( m_edits[2] );
}
PMVectorEdit::PMVectorEdit( const TQString& descriptionA,
@@ -118,7 +118,7 @@ PMVectorEdit::PMVectorEdit( const TQString& descriptionA,
: TQWidget( parent, name )
{
unsigned int i;
- TQHBoxLayout* tqlayout;
+ TQHBoxLayout* layout;
TQLabel* label;
m_edits.resize( 4 );
@@ -129,42 +129,42 @@ PMVectorEdit::PMVectorEdit( const TQString& descriptionA,
TQT_SLOT( slotTextChanged( const TQString& ) ) );
}
- tqlayout = new TQHBoxLayout( this );
+ layout = new TQHBoxLayout( this );
if( !descriptionA.isEmpty( ) )
{
label = new TQLabel( descriptionA, this );
- tqlayout->addWidget( label );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( label );
+ layout->addSpacing( KDialog::spacingHint( ) );
}
- tqlayout->addWidget( m_edits[0] );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( m_edits[0] );
+ layout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionB.isEmpty( ) )
{
label = new TQLabel( descriptionB, this );
- tqlayout->addWidget( label );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( label );
+ layout->addSpacing( KDialog::spacingHint( ) );
}
- tqlayout->addWidget( m_edits[1] );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( m_edits[1] );
+ layout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionC.isEmpty( ) )
{
label = new TQLabel( descriptionC, this );
- tqlayout->addWidget( label );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( label );
+ layout->addSpacing( KDialog::spacingHint( ) );
}
- tqlayout->addWidget( m_edits[2] );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( m_edits[2] );
+ layout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionD.isEmpty( ) )
{
label = new TQLabel( descriptionD, this );
- tqlayout->addWidget( label );
- tqlayout->addSpacing( KDialog::spacingHint( ) );
+ layout->addWidget( label );
+ layout->addSpacing( KDialog::spacingHint( ) );
}
- tqlayout->addWidget( m_edits[3] );
+ layout->addWidget( m_edits[3] );
}
void PMVectorEdit::setVector( const PMVector& v, int precision )