diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:47:59 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:47:59 -0600 |
commit | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (patch) | |
tree | be38034f085e8be24f14f329f87a611d319e6259 /kpovmodeler/pmcompositeobject.cpp | |
parent | 3fd343f2c6b0545bd750b2939c74be3834b13274 (diff) | |
download | tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.tar.gz tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpovmodeler/pmcompositeobject.cpp')
-rw-r--r-- | kpovmodeler/pmcompositeobject.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kpovmodeler/pmcompositeobject.cpp b/kpovmodeler/pmcompositeobject.cpp index 3699e716..d8b61e8c 100644 --- a/kpovmodeler/pmcompositeobject.cpp +++ b/kpovmodeler/pmcompositeobject.cpp @@ -67,10 +67,10 @@ PMCompositeObject::~PMCompositeObject( ) delete m_pViewStructure; } -PMMetaObject* PMCompositeObject::tqmetaObject( ) const +PMMetaObject* PMCompositeObject::metaObject( ) const { if( !s_pMetaObject ) - s_pMetaObject = new PMMetaObject( "CompositeObject", Base::tqmetaObject( ) ); + s_pMetaObject = new PMMetaObject( "CompositeObject", Base::metaObject( ) ); return s_pMetaObject; } @@ -84,7 +84,7 @@ void PMCompositeObject::cleanUp( ) const Base::cleanUp( ); } -PMObject* PMCompositeObject::tqchildAt( uint index ) const +PMObject* PMCompositeObject::childAt( uint index ) const { PMObject* tmp; uint i = 0; @@ -136,7 +136,7 @@ bool PMCompositeObject::insertChild( PMObject* o, int i ) } else { - PMObject* tmp = tqchildAt( ( uint ) ( i - 1 ) ); + PMObject* tmp = childAt( ( uint ) ( i - 1 ) ); if( !tmp ) { kdError( PMArea ) << "Index too big" << "\n"; @@ -272,7 +272,7 @@ bool PMCompositeObject::takeChild( PMObject* o ) bool PMCompositeObject::takeChild( uint i ) { - PMObject* tmp = tqchildAt( i ); + PMObject* tmp = childAt( i ); if( tmp ) return takeChild( tmp ); kdError( PMArea ) << "Index too big"; |