diff options
Diffstat (limited to 'kpovmodeler/pmphotonsedit.cpp')
-rw-r--r-- | kpovmodeler/pmphotonsedit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpovmodeler/pmphotonsedit.cpp b/kpovmodeler/pmphotonsedit.cpp index 0dbf8871..a2fde9a2 100644 --- a/kpovmodeler/pmphotonsedit.cpp +++ b/kpovmodeler/pmphotonsedit.cpp @@ -28,8 +28,8 @@ #include <kmessagebox.h> -PMPhotonsEdit::PMPhotonsEdit( TQWidget* tqparent, const char* name ) - : Base( tqparent, name ) +PMPhotonsEdit::PMPhotonsEdit( TQWidget* parent, const char* name ) + : Base( parent, name ) { m_pDisplayedObject = 0; } @@ -84,7 +84,7 @@ void PMPhotonsEdit::displayObject( PMObject* o ) bool readOnly = o->isReadOnly( ); m_pDisplayedObject = ( PMPhotons* ) o; - if ( o->tqparent( ) && ( o->tqparent( )->isA( "Light" ) ) ) + if ( o->parent( ) && ( o->parent( )->isA( "Light" ) ) ) { m_pLayoutWidget->hide( ); m_pCollect->hide( ); |