diff options
Diffstat (limited to 'kpovmodeler/pmdeclare.cpp')
-rw-r--r-- | kpovmodeler/pmdeclare.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kpovmodeler/pmdeclare.cpp b/kpovmodeler/pmdeclare.cpp index 089447bc..3f290e2f 100644 --- a/kpovmodeler/pmdeclare.cpp +++ b/kpovmodeler/pmdeclare.cpp @@ -44,14 +44,14 @@ PMDeclare::PMDeclare( const PMDeclare& d ) { m_id = d.m_id; // CAUTION! Duplication of the id which has to be unique m_pDeclareType = 0; // will be set automatically in the - // base constuctor when the tqchildren are copied + // base constuctor when the children are copied } -PMMetaObject* PMDeclare::tqmetaObject( ) const +PMMetaObject* PMDeclare::metaObject( ) const { if( !s_pMetaObject ) { - s_pMetaObject = new PMMetaObject( "Declare", Base::tqmetaObject( ), + s_pMetaObject = new PMMetaObject( "Declare", Base::metaObject( ), createNewDeclare ); s_pMetaObject->addProperty( new PMDeclareProperty( "id", &PMDeclare::setID, &PMDeclare::id ) ); @@ -180,9 +180,9 @@ void PMDeclare::updateDeclareType( ) if( o ) { if( o->isA( "GraphicalObject" ) ) - type = m->tqmetaObject( "GraphicalObject" ); + type = m->metaObject( "GraphicalObject" ); else - type = o->tqmetaObject( ); + type = o->metaObject( ); } setDeclareType( type ); } |