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/pmtreeviewitem.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/pmtreeviewitem.cpp')
-rw-r--r-- | kpovmodeler/pmtreeviewitem.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kpovmodeler/pmtreeviewitem.cpp b/kpovmodeler/pmtreeviewitem.cpp index e167e86b..e3017b40 100644 --- a/kpovmodeler/pmtreeviewitem.cpp +++ b/kpovmodeler/pmtreeviewitem.cpp @@ -24,34 +24,34 @@ #include "pmfactory.h" #include "pmtexturemap.h" -PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListView* tqparent ) - : TQListViewItem( tqparent ) +PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListView* parent ) + : TQListViewItem( parent ) { m_pObject = object; setDescriptions( ); initSelection( ); } -PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListViewItem* tqparent ) - : TQListViewItem( tqparent ) +PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListViewItem* parent ) + : TQListViewItem( parent ) { m_pObject = object; setDescriptions( ); initSelection( ); } -PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListView* tqparent, +PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListView* parent, TQListViewItem* after ) - : TQListViewItem( tqparent, after ) + : TQListViewItem( parent, after ) { m_pObject = object; setDescriptions( ); initSelection( ); } -PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListViewItem* tqparent, +PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListViewItem* parent, TQListViewItem* after ) - : TQListViewItem( tqparent, after ) + : TQListViewItem( parent, after ) { m_pObject = object; setDescriptions( ); @@ -72,11 +72,11 @@ void PMTreeViewItem::setDescriptions( ) else text = m_pObject->description( ); - if( m_pObject->tqparent( ) ) + if( m_pObject->parent( ) ) { - if( m_pObject->tqparent( )->isA( "TextureMapBase" ) ) + if( m_pObject->parent( )->isA( "TextureMapBase" ) ) { - PMTextureMapBase* tm = ( PMTextureMapBase* ) m_pObject->tqparent( ); + PMTextureMapBase* tm = ( PMTextureMapBase* ) m_pObject->parent( ); if( m_pObject->type( ) == tm->mapType( ) ) text = TQString( "[%1] " ).tqarg( tm->mapValue( m_pObject ), 4, 'f', 2 ) + text; } @@ -87,8 +87,8 @@ void PMTreeViewItem::setDescriptions( ) TQString PMTreeViewItem::key( int, bool ) const { TQString result; - if( m_pObject->tqparent( ) ) - result.sprintf( "%06i", m_pObject->tqparent( )->findChild( m_pObject ) ); + if( m_pObject->parent( ) ) + result.sprintf( "%06i", m_pObject->parent( )->findChild( m_pObject ) ); else result = "000000"; return result; |