summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmtexturemap.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmtexturemap.cpp
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-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/pmtexturemap.cpp')
-rw-r--r--kpovmodeler/pmtexturemap.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kpovmodeler/pmtexturemap.cpp b/kpovmodeler/pmtexturemap.cpp
index 1ab0c3a4..20287432 100644
--- a/kpovmodeler/pmtexturemap.cpp
+++ b/kpovmodeler/pmtexturemap.cpp
@@ -119,7 +119,7 @@ TQString PMTextureMapBase::valuesToString( ) const
str.setNum( *it );
++it;
for( ; it != m_mapValues.end( ); ++it )
- str += TQString( " %1" ).arg( *it );
+ str += TQString( " %1" ).tqarg( *it );
}
return str;
}
@@ -138,11 +138,11 @@ void PMTextureMapBase::stringToValues( const TQString& str )
}
}
-PMMetaObject* PMTextureMapBase::metaObject( ) const
+PMMetaObject* PMTextureMapBase::tqmetaObject( ) const
{
if( !s_pMetaObject )
{
- s_pMetaObject = new PMMetaObject( "TextureMapBase", Base::metaObject( ) );
+ s_pMetaObject = new PMMetaObject( "TextureMapBase", Base::tqmetaObject( ) );
s_pMetaObject->addProperty( new PMValueProperty( ) );
}
return s_pMetaObject;
@@ -158,9 +158,9 @@ void PMTextureMapBase::cleanUp( ) const
Base::cleanUp( );
}
-PMDialogEditBase* PMTextureMapBase::editWidget( TQWidget* parent ) const
+PMDialogEditBase* PMTextureMapBase::editWidget( TQWidget* tqparent ) const
{
- return new PMTextureMapEdit( parent );
+ return new PMTextureMapEdit( tqparent );
}
void PMTextureMapBase::restoreMemento( PMMemento* s )
@@ -342,11 +342,11 @@ PMTextureMap::~PMTextureMap( )
{
}
-PMMetaObject* PMTextureMap::metaObject( ) const
+PMMetaObject* PMTextureMap::tqmetaObject( ) const
{
if( !s_pMetaObject )
{
- s_pMetaObject = new PMMetaObject( "TextureMap", Base::metaObject( ),
+ s_pMetaObject = new PMMetaObject( "TextureMap", Base::tqmetaObject( ),
createNewTextureMap );
}
return s_pMetaObject;
@@ -388,11 +388,11 @@ PMPigmentMap::~PMPigmentMap( )
{
}
-PMMetaObject* PMPigmentMap::metaObject( ) const
+PMMetaObject* PMPigmentMap::tqmetaObject( ) const
{
if( !s_pMetaObject )
{
- s_pMetaObject = new PMMetaObject( "PigmentMap", Base::metaObject( ),
+ s_pMetaObject = new PMMetaObject( "PigmentMap", Base::tqmetaObject( ),
createNewPigmentMap );
}
return s_pMetaObject;
@@ -434,11 +434,11 @@ PMColorMap::~PMColorMap( )
{
}
-PMMetaObject* PMColorMap::metaObject( ) const
+PMMetaObject* PMColorMap::tqmetaObject( ) const
{
if( !s_pMetaObject )
{
- s_pMetaObject = new PMMetaObject( "ColorMap", Base::metaObject( ),
+ s_pMetaObject = new PMMetaObject( "ColorMap", Base::tqmetaObject( ),
createNewColorMap );
}
return s_pMetaObject;
@@ -480,11 +480,11 @@ PMNormalMap::~PMNormalMap( )
{
}
-PMMetaObject* PMNormalMap::metaObject( ) const
+PMMetaObject* PMNormalMap::tqmetaObject( ) const
{
if( !s_pMetaObject )
{
- s_pMetaObject = new PMMetaObject( "NormalMap", Base::metaObject( ),
+ s_pMetaObject = new PMMetaObject( "NormalMap", Base::tqmetaObject( ),
createNewNormalMap );
}
return s_pMetaObject;
@@ -526,11 +526,11 @@ PMSlopeMap::~PMSlopeMap( )
{
}
-PMMetaObject* PMSlopeMap::metaObject( ) const
+PMMetaObject* PMSlopeMap::tqmetaObject( ) const
{
if( !s_pMetaObject )
{
- s_pMetaObject = new PMMetaObject( "SlopeMap", Base::metaObject( ),
+ s_pMetaObject = new PMMetaObject( "SlopeMap", Base::tqmetaObject( ),
createNewSlopeMap );
}
return s_pMetaObject;
@@ -572,11 +572,11 @@ PMDensityMap::~PMDensityMap( )
{
}
-PMMetaObject* PMDensityMap::metaObject( ) const
+PMMetaObject* PMDensityMap::tqmetaObject( ) const
{
if( !s_pMetaObject )
{
- s_pMetaObject = new PMMetaObject( "DensityMap", Base::metaObject( ),
+ s_pMetaObject = new PMMetaObject( "DensityMap", Base::tqmetaObject( ),
createNewDensityMap );
}
return s_pMetaObject;