diff options
Diffstat (limited to 'kpovmodeler/pmphotons.cpp')
-rw-r--r-- | kpovmodeler/pmphotons.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpovmodeler/pmphotons.cpp b/kpovmodeler/pmphotons.cpp index cce7665b..129fc28f 100644 --- a/kpovmodeler/pmphotons.cpp +++ b/kpovmodeler/pmphotons.cpp @@ -60,11 +60,11 @@ PMPhotons::~PMPhotons( ) { } -PMMetaObject* PMPhotons::metaObject( ) const +PMMetaObject* PMPhotons::tqmetaObject( ) const { if( !s_pMetaObject ) { - s_pMetaObject = new PMMetaObject( "Photons", Base::metaObject( ), + s_pMetaObject = new PMMetaObject( "Photons", Base::tqmetaObject( ), createNewPhotons ); s_pMetaObject->addProperty( new PMPhotonsProperty( "target", @@ -192,9 +192,9 @@ void PMPhotons::setAreaLight( bool al ) } } -PMDialogEditBase* PMPhotons::editWidget( TQWidget* parent ) const +PMDialogEditBase* PMPhotons::editWidget( TQWidget* tqparent ) const { - return new PMPhotonsEdit( parent ); + return new PMPhotonsEdit( tqparent ); } void PMPhotons::restoreMemento( PMMemento* s ) |