summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmvectoredit.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:00 -0600
commitec1fddcd0d6663ad273af85357f04abbc5689468 (patch)
tree6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /kpovmodeler/pmvectoredit.cpp
parentc2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff)
downloadtdegraphics-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/pmvectoredit.cpp')
-rw-r--r--kpovmodeler/pmvectoredit.cpp80
1 files changed, 40 insertions, 40 deletions
diff --git a/kpovmodeler/pmvectoredit.cpp b/kpovmodeler/pmvectoredit.cpp
index 214a3c6e..79075dc3 100644
--- a/kpovmodeler/pmvectoredit.cpp
+++ b/kpovmodeler/pmvectoredit.cpp
@@ -19,7 +19,7 @@
#include "pmvectoredit.h"
#include "pmdebug.h"
#include <tqstring.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <kdialog.h>
#include <kmessagebox.h>
@@ -32,7 +32,7 @@ PMVectorEdit::PMVectorEdit( const TQString& descriptionX,
: TQWidget( parent, name )
{
unsigned int i;
- TQHBoxLayout* layout;
+ TQHBoxLayout* tqlayout;
TQLabel* label;
m_edits.resize( 2 );
@@ -43,24 +43,24 @@ PMVectorEdit::PMVectorEdit( const TQString& descriptionX,
TQT_SLOT( slotTextChanged( const TQString& ) ) );
}
- layout = new TQHBoxLayout( this );
+ tqlayout = new TQHBoxLayout( this );
if( !descriptionX.isEmpty( ) )
{
label = new TQLabel( descriptionX, this );
- layout->addWidget( label );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( label );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
}
- layout->addWidget( m_edits[0] );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( m_edits[0] );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionY.isEmpty( ) )
{
label = new TQLabel( descriptionY, this );
- layout->addWidget( label );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( label );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
}
- layout->addWidget( m_edits[1] );
+ tqlayout->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* layout;
+ TQHBoxLayout* tqlayout;
TQLabel* label;
m_edits.resize( 3 );
@@ -81,33 +81,33 @@ PMVectorEdit::PMVectorEdit( const TQString& descriptionX,
TQT_SLOT( slotTextChanged( const TQString& ) ) );
}
- layout = new TQHBoxLayout( this );
+ tqlayout = new TQHBoxLayout( this );
if( !descriptionX.isEmpty( ) )
{
label = new TQLabel( descriptionX, this );
- layout->addWidget( label );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( label );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
}
- layout->addWidget( m_edits[0] );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( m_edits[0] );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionY.isEmpty( ) )
{
label = new TQLabel( descriptionY, this );
- layout->addWidget( label );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( label );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
}
- layout->addWidget( m_edits[1] );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( m_edits[1] );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionZ.isEmpty( ) )
{
label = new TQLabel( descriptionZ, this );
- layout->addWidget( label );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( label );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
}
- layout->addWidget( m_edits[2] );
+ tqlayout->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* layout;
+ TQHBoxLayout* tqlayout;
TQLabel* label;
m_edits.resize( 4 );
@@ -129,42 +129,42 @@ PMVectorEdit::PMVectorEdit( const TQString& descriptionA,
TQT_SLOT( slotTextChanged( const TQString& ) ) );
}
- layout = new TQHBoxLayout( this );
+ tqlayout = new TQHBoxLayout( this );
if( !descriptionA.isEmpty( ) )
{
label = new TQLabel( descriptionA, this );
- layout->addWidget( label );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( label );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
}
- layout->addWidget( m_edits[0] );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( m_edits[0] );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionB.isEmpty( ) )
{
label = new TQLabel( descriptionB, this );
- layout->addWidget( label );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( label );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
}
- layout->addWidget( m_edits[1] );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( m_edits[1] );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionC.isEmpty( ) )
{
label = new TQLabel( descriptionC, this );
- layout->addWidget( label );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( label );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
}
- layout->addWidget( m_edits[2] );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( m_edits[2] );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
if( !descriptionD.isEmpty( ) )
{
label = new TQLabel( descriptionD, this );
- layout->addWidget( label );
- layout->addSpacing( KDialog::spacingHint( ) );
+ tqlayout->addWidget( label );
+ tqlayout->addSpacing( KDialog::spacingHint( ) );
}
- layout->addWidget( m_edits[3] );
+ tqlayout->addWidget( m_edits[3] );
}
void PMVectorEdit::setVector( const PMVector& v, int precision )