diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:59:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:59:00 -0600 |
commit | ec1fddcd0d6663ad273af85357f04abbc5689468 (patch) | |
tree | 6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /kpovmodeler/pmtexturemap.cpp | |
parent | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff) | |
download | tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'kpovmodeler/pmtexturemap.cpp')
-rw-r--r-- | kpovmodeler/pmtexturemap.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kpovmodeler/pmtexturemap.cpp b/kpovmodeler/pmtexturemap.cpp index b3673f0c..dc9f3b76 100644 --- a/kpovmodeler/pmtexturemap.cpp +++ b/kpovmodeler/pmtexturemap.cpp @@ -22,7 +22,7 @@ #include "pmxmlhelper.h" #include "pmmapmemento.h" -#include <textstream.h> +#include <tqtextstream.h> #include <klocale.h> class PMValueProperty : public PMPropertyBase @@ -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; @@ -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; |