From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: 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 --- kpovmodeler/pmprism.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kpovmodeler/pmprism.cpp') 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 >& 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 ) -- cgit v1.2.1