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