summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmlathe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmlathe.cpp')
-rw-r--r--kpovmodeler/pmlathe.cpp16
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: