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/pmcylinderedit.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/pmcylinderedit.cpp')
-rw-r--r-- | kpovmodeler/pmcylinderedit.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpovmodeler/pmcylinderedit.cpp b/kpovmodeler/pmcylinderedit.cpp index b15a0d16..b471cb29 100644 --- a/kpovmodeler/pmcylinderedit.cpp +++ b/kpovmodeler/pmcylinderedit.cpp @@ -26,8 +26,8 @@ #include <klocale.h> #include <tqcheckbox.h> -PMCylinderEdit::PMCylinderEdit( TQWidget* parent, const char* name ) - : Base( parent, name ) +PMCylinderEdit::PMCylinderEdit( TQWidget* tqparent, const char* name ) + : Base( tqparent, name ) { m_pDisplayedObject = 0; } @@ -36,7 +36,7 @@ void PMCylinderEdit::createTopWidgets( ) { Base::createTopWidgets( ); - TQHBoxLayout* layout; + TQHBoxLayout* tqlayout; TQGridLayout* gl; m_pEnd1 = new PMVectorEdit( "x", "y", "z", this ); @@ -50,13 +50,13 @@ void PMCylinderEdit::createTopWidgets( ) gl->addWidget( new TQLabel( i18n( "End 2:" ), this ), 1, 0 ); gl->addWidget( m_pEnd2, 1, 1 ); - layout = new TQHBoxLayout( topLayout( ) ); - layout->addWidget( new TQLabel( i18n( "Radius:" ), this ) ); - layout->addWidget( m_pRadius ); - layout->addStretch( 1 ); + tqlayout = new TQHBoxLayout( topLayout( ) ); + tqlayout->addWidget( new TQLabel( i18n( "Radius:" ), this ) ); + tqlayout->addWidget( m_pRadius ); + tqlayout->addStretch( 1 ); - layout = new TQHBoxLayout( topLayout( ) ); - layout->addWidget( m_pOpen ); + tqlayout = new TQHBoxLayout( topLayout( ) ); + tqlayout->addWidget( m_pOpen ); connect( m_pEnd1, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); connect( m_pEnd2, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); |