summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmblendmapmodifiers.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmblendmapmodifiers.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmblendmapmodifiers.cpp')
-rw-r--r--kpovmodeler/pmblendmapmodifiers.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kpovmodeler/pmblendmapmodifiers.cpp b/kpovmodeler/pmblendmapmodifiers.cpp
index 0259fb90..9d26419e 100644
--- a/kpovmodeler/pmblendmapmodifiers.cpp
+++ b/kpovmodeler/pmblendmapmodifiers.cpp
@@ -85,12 +85,12 @@ PMMetaObject* PMBlendMapModifiers::metaObject( ) const
PMWaveFormProperty* p = new PMWaveFormProperty(
"waveForm", &PMBlendMapModifiers::setWaveFormType,
&PMBlendMapModifiers::waveFormType );
- p->addEnumValue( QString( "RampWave" ), RampWave );
- p->addEnumValue( QString( "TriangleWave" ), TriangleWave );
- p->addEnumValue( QString( "SineWave" ), SineWave );
- p->addEnumValue( QString( "ScallopWave" ), ScallopWave );
- p->addEnumValue( QString( "CubicWave" ), CubicWave );
- p->addEnumValue( QString( "PolyWave" ), PolyWave );
+ p->addEnumValue( TQString( "RampWave" ), RampWave );
+ p->addEnumValue( TQString( "TriangleWave" ), TriangleWave );
+ p->addEnumValue( TQString( "SineWave" ), SineWave );
+ p->addEnumValue( TQString( "ScallopWave" ), ScallopWave );
+ p->addEnumValue( TQString( "CubicWave" ), CubicWave );
+ p->addEnumValue( TQString( "PolyWave" ), PolyWave );
s_pMetaObject->addProperty( p );
}
return s_pMetaObject;
@@ -106,12 +106,12 @@ void PMBlendMapModifiers::cleanUp( ) const
Base::cleanUp( );
}
-QString PMBlendMapModifiers::description( ) const
+TQString PMBlendMapModifiers::description( ) const
{
return i18n( "blend map modifiers" );
}
-void PMBlendMapModifiers::serialize( QDomElement& e, QDomDocument& ) const
+void PMBlendMapModifiers::serialize( TQDomElement& e, TQDomDocument& ) const
{
e.setAttribute( "frequency", m_frequency );
e.setAttribute( "phase", m_phase );
@@ -144,7 +144,7 @@ void PMBlendMapModifiers::serialize( QDomElement& e, QDomDocument& ) const
void PMBlendMapModifiers::readAttributes( const PMXMLHelper& h )
{
- QString str = h.stringAttribute( "waveform_type", "ramp" );
+ TQString str = h.stringAttribute( "waveform_type", "ramp" );
if( str == "ramp" )
m_waveFormType = RampWave;
@@ -236,7 +236,7 @@ void PMBlendMapModifiers::setWaveFormType( PMWaveFormType c )
}
}
-PMDialogEditBase* PMBlendMapModifiers::editWidget( QWidget* parent ) const
+PMDialogEditBase* PMBlendMapModifiers::editWidget( TQWidget* parent ) const
{
return new PMBlendMapModifiersEdit( parent );
}