diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmplaneedit.cpp | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmplaneedit.cpp')
-rw-r--r-- | kpovmodeler/pmplaneedit.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kpovmodeler/pmplaneedit.cpp b/kpovmodeler/pmplaneedit.cpp index 13e28aab..6f6306bf 100644 --- a/kpovmodeler/pmplaneedit.cpp +++ b/kpovmodeler/pmplaneedit.cpp @@ -28,8 +28,8 @@ #include <klocale.h> #include <kmessagebox.h> -PMPlaneEdit::PMPlaneEdit( TQWidget* parent, const char* name ) - : Base( parent, name ) +PMPlaneEdit::PMPlaneEdit( TQWidget* tqparent, const char* name ) + : Base( tqparent, name ) { m_pDisplayedObject = 0; } @@ -38,24 +38,24 @@ void PMPlaneEdit::createTopWidgets( ) { Base::createTopWidgets( ); - TQHBoxLayout* layout; + TQHBoxLayout* tqlayout; m_pNormal = new PMVectorEdit( "x", "y", "z", this ); m_pDistance = new PMFloatEdit( this ); - layout = new TQHBoxLayout( topLayout( ) ); - layout->addWidget( new TQLabel( i18n( "Normal:" ), this ) ); - layout->addWidget( m_pNormal ); + tqlayout = new TQHBoxLayout( topLayout( ) ); + tqlayout->addWidget( new TQLabel( i18n( "Normal:" ), this ) ); + tqlayout->addWidget( m_pNormal ); - layout = new TQHBoxLayout( topLayout( ) ); - layout->addWidget( new TQLabel( i18n( "Distance:" ), this ) ); - layout->addWidget( m_pDistance ); - layout->addStretch( 1 ); + tqlayout = new TQHBoxLayout( topLayout( ) ); + tqlayout->addWidget( new TQLabel( i18n( "Distance:" ), this ) ); + tqlayout->addWidget( m_pDistance ); + tqlayout->addStretch( 1 ); TQPushButton* nb = new TQPushButton( i18n( "Normalize" ), this ); - layout = new TQHBoxLayout( topLayout( ) ); - layout->addWidget( nb ); - layout->addStretch( 1 ); + tqlayout = new TQHBoxLayout( topLayout( ) ); + tqlayout->addWidget( nb ); + tqlayout->addStretch( 1 ); connect( m_pNormal, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); connect( m_pDistance, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); |