diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | e7366c97c998679efa80cf61c88e64a11a3d3c33 (patch) | |
tree | a161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /kpovmodeler/pmglview.cpp | |
parent | da4be7880ff1de6415ab6256afd2514e64f5fa2e (diff) | |
download | tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmglview.cpp')
-rw-r--r-- | kpovmodeler/pmglview.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kpovmodeler/pmglview.cpp b/kpovmodeler/pmglview.cpp index 9b7779ae..2bd819c4 100644 --- a/kpovmodeler/pmglview.cpp +++ b/kpovmodeler/pmglview.cpp @@ -106,8 +106,8 @@ bool PMGLView::s_bDirect = true; PMGLView::PMGLView( PMPart* part, PMViewType t, - TQWidget* tqparent, const char* name, WFlags f ) - : PMViewBase( tqparent, name, f | TQt::WWinOwnDC | TQt::WRepaintNoErase ) + TQWidget* parent, const char* name, WFlags f ) + : PMViewBase( parent, name, f | TQt::WWinOwnDC | TQt::WRepaintNoErase ) { m_pPart = part; m_type = t; @@ -1178,9 +1178,9 @@ void PMGLView::slotObjectChanged( PMObject* obj, const int mode, if( m_pCamera == ( PMCamera* ) obj ) invalidateProjection( ); - if( obj->tqparent( ) ) - if( obj->tqparent( )->type( ) == "Camera" ) - if( m_pCamera == ( PMCamera* ) obj->tqparent( ) ) + if( obj->parent( ) ) + if( obj->parent( )->type( ) == "Camera" ) + if( m_pCamera == ( PMCamera* ) obj->parent( ) ) if( obj->hasTransformationMatrix( ) ) invalidateProjection( ); } @@ -1209,9 +1209,9 @@ void PMGLView::slotObjectChanged( PMObject* obj, const int mode, if( obj->type( ) == "Camera" ) if( !m_pCamera ) setCamera( ( PMCamera* ) obj ); - if( obj->tqparent( ) ) - if( obj->tqparent( )->type( ) == "Camera" ) - if( m_pCamera == ( PMCamera* ) obj->tqparent( ) ) + if( obj->parent( ) ) + if( obj->parent( )->type( ) == "Camera" ) + if( m_pCamera == ( PMCamera* ) obj->parent( ) ) if( obj->hasTransformationMatrix( ) ) invalidateProjection( ); } @@ -1225,9 +1225,9 @@ void PMGLView::slotObjectChanged( PMObject* obj, const int mode, setCamera( 0 ); if( m_type == PMGLView::PMViewCamera ) - if( obj->tqparent( ) ) - if( obj->tqparent( )->type( ) == "Camera" ) - if( m_pCamera == ( PMCamera* ) obj->tqparent( ) ) + if( obj->parent( ) ) + if( obj->parent( )->type( ) == "Camera" ) + if( m_pCamera == ( PMCamera* ) obj->parent( ) ) if( obj->hasTransformationMatrix( ) ) invalidateProjection( ); @@ -1296,7 +1296,7 @@ PMObject* PMGLView::topLevelRenderingObject( PMObject* o ) const else if( obj->isA( "Scene" ) || obj->isA( "Declare" ) ) stop = true; else - obj = obj->tqparent( ); + obj = obj->parent( ); } while( !stop ); } @@ -1760,10 +1760,10 @@ TQString PMGLViewFactory::description( PMViewOptions* vo ) const return description( ); } -PMViewOptionsWidget* PMGLViewFactory::newOptionsWidget( TQWidget* tqparent, +PMViewOptionsWidget* PMGLViewFactory::newOptionsWidget( TQWidget* parent, PMViewOptions* o ) { - return new PMGLViewOptionsWidget( tqparent, o ); + return new PMGLViewOptionsWidget( parent, o ); } PMViewOptions* PMGLViewFactory::newOptionsInstance( ) const @@ -1772,9 +1772,9 @@ PMViewOptions* PMGLViewFactory::newOptionsInstance( ) const return o; } -PMGLViewOptionsWidget::PMGLViewOptionsWidget( TQWidget* tqparent, +PMGLViewOptionsWidget::PMGLViewOptionsWidget( TQWidget* parent, PMViewOptions* o ) - : PMViewOptionsWidget( tqparent ) + : PMViewOptionsWidget( parent ) { m_pOptions = ( PMGLViewOptions* ) o; |