diff options
Diffstat (limited to 'kpovmodeler/pmlight.cpp')
-rw-r--r-- | kpovmodeler/pmlight.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpovmodeler/pmlight.cpp b/kpovmodeler/pmlight.cpp index 554a09c2..0bf2f005 100644 --- a/kpovmodeler/pmlight.cpp +++ b/kpovmodeler/pmlight.cpp @@ -268,11 +268,11 @@ void PMLight::readAttributes( const PMXMLHelper& h ) Base::readAttributes( h ); } -PMMetaObject* PMLight::metaObject( ) const +PMMetaObject* PMLight::tqmetaObject( ) const { if( !s_pMetaObject ) { - s_pMetaObject = new PMMetaObject( "Light", Base::metaObject( ), + s_pMetaObject = new PMMetaObject( "Light", Base::tqmetaObject( ), createNewLight ); PMTypeProperty* p = new PMTypeProperty( "lightType", &PMLight::setLightType, &PMLight::lightType ); @@ -564,9 +564,9 @@ void PMLight::setMediaAttenuation( bool y ) } } -PMDialogEditBase* PMLight::editWidget( TQWidget* parent ) const +PMDialogEditBase* PMLight::editWidget( TQWidget* tqparent ) const { - return new PMLightEdit( parent ); + return new PMLightEdit( tqparent ); } void PMLight::restoreMemento( PMMemento* s ) |