summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmprism.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmprism.cpp')
-rw-r--r--kpovmodeler/pmprism.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpovmodeler/pmprism.cpp b/kpovmodeler/pmprism.cpp
index 81417ba3..a1beddca 100644
--- a/kpovmodeler/pmprism.cpp
+++ b/kpovmodeler/pmprism.cpp
@@ -272,11 +272,11 @@ void PMPrism::readAttributes( const PMXMLHelper& h )
Base::readAttributes( h );
}
-PMMetaObject* PMPrism::metaObject( ) const
+PMMetaObject* PMPrism::tqmetaObject( ) const
{
if( !s_pMetaObject )
{
- s_pMetaObject = new PMMetaObject( "Prism", Base::metaObject( ),
+ s_pMetaObject = new PMMetaObject( "Prism", Base::tqmetaObject( ),
createNewPrism );
s_pMetaObject->addProperty(
new PMPrismProperty( "sturm", &PMPrism::setSturm, &PMPrism::sturm ) );
@@ -392,9 +392,9 @@ void PMPrism::setPoints( const TQValueList< TQValueList<PMVector> >& points )
}
}
-PMDialogEditBase* PMPrism::editWidget( TQWidget* parent ) const
+PMDialogEditBase* PMPrism::editWidget( TQWidget* tqparent ) const
{
- return new PMPrismEdit( parent );
+ return new PMPrismEdit( tqparent );
}
void PMPrism::createMemento( )
@@ -645,7 +645,7 @@ void PMPrism::controlPoints( PMControlPointList& list )
for( i2 = 0; it2 != ( *it1 ).end( ); ++it2, ++i2 )
{
cp = new PM2DControlPoint( *it2, PM2DControlPoint::PM2DXZ, i2,
- i18n( "Point %1.%2" ).arg( i1 + 1 ).arg( i2 + 1 ) );
+ i18n( "Point %1.%2" ).tqarg( i1 + 1 ).tqarg( i2 + 1 ) );
if( i2 == 0 )
firstPoint = cp;
else if( i2 == 1 )
@@ -678,7 +678,7 @@ void PMPrism::controlPoints( PMControlPointList& list )
{
int i2mod4 = i2 % 4;
cp = new PM2DControlPoint( *it2, PM2DControlPoint::PM2DXZ, i2,
- i18n( "Point %1.%2" ).arg( i1 + 1 ).arg( i2 + 1 ) );
+ i18n( "Point %1.%2" ).tqarg( i1 + 1 ).tqarg( i2 + 1 ) );
if( i2mod4 == 0 )
firstPoint = cp;
if( i2mod4 == 2 )