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/pmlathe.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/pmlathe.cpp')
-rw-r--r-- | kpovmodeler/pmlathe.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpovmodeler/pmlathe.cpp b/kpovmodeler/pmlathe.cpp index 9f6a00ff..4418559a 100644 --- a/kpovmodeler/pmlathe.cpp +++ b/kpovmodeler/pmlathe.cpp @@ -198,11 +198,11 @@ void PMLathe::readAttributes( const PMXMLHelper& h ) Base::readAttributes( h ); } -PMMetaObject* PMLathe::metaObject( ) const +PMMetaObject* PMLathe::tqmetaObject( ) const { if( !s_pMetaObject ) { - s_pMetaObject = new PMMetaObject( "Lathe", Base::metaObject( ), + s_pMetaObject = new PMMetaObject( "Lathe", Base::tqmetaObject( ), createNewLathe ); s_pMetaObject->addProperty( new PMLatheProperty( "sturm", &PMLathe::setSturm, &PMLathe::sturm ) ); @@ -261,9 +261,9 @@ void PMLathe::setPoints( const TQValueList<PMVector>& points ) } } -PMDialogEditBase* PMLathe::editWidget( TQWidget* parent ) const +PMDialogEditBase* PMLathe::editWidget( TQWidget* tqparent ) const { - return new PMLatheEdit( parent ); + return new PMLatheEdit( tqparent ); } void PMLathe::createMemento( ) @@ -549,10 +549,10 @@ void PMLathe::controlPoints( PMControlPointList& list ) lastPoint = cp; if( d == 0 ) cp = new PM2DControlPoint( *it, PM2DControlPoint::PM2DXY, i, - i18n( "Point %1 (xy)" ).arg( i + 1 ) ); + i18n( "Point %1 (xy)" ).tqarg( i + 1 ) ); else cp = new PM2DControlPoint( *it, PM2DControlPoint::PM2DZY, i, - i18n( "Point %1 (xy)" ).arg( i + 1 ) ); + i18n( "Point %1 (xy)" ).tqarg( i + 1 ) ); if( i == 0 ) firstPoint = cp; @@ -573,10 +573,10 @@ void PMLathe::controlPoints( PMControlPointList& list ) int imod4 = i % 4; if( d == 0 ) cp = new PM2DControlPoint( *it, PM2DControlPoint::PM2DXY, i, - i18n( "Point %1 (xy)" ).arg( i + 1 ) ); + i18n( "Point %1 (xy)" ).tqarg( i + 1 ) ); else cp = new PM2DControlPoint( *it, PM2DControlPoint::PM2DZY, i, - i18n( "Point %1 (xy)" ).arg( i + 1 ) ); + i18n( "Point %1 (xy)" ).tqarg( i + 1 ) ); switch( imod4 ) { case 0: |