summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmtreeviewitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmtreeviewitem.cpp')
-rw-r--r--kpovmodeler/pmtreeviewitem.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kpovmodeler/pmtreeviewitem.cpp b/kpovmodeler/pmtreeviewitem.cpp
index cac3b3c7..e167e86b 100644
--- a/kpovmodeler/pmtreeviewitem.cpp
+++ b/kpovmodeler/pmtreeviewitem.cpp
@@ -24,34 +24,34 @@
#include "pmfactory.h"
#include "pmtexturemap.h"
-PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListView* parent )
- : TQListViewItem( parent )
+PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListView* tqparent )
+ : TQListViewItem( tqparent )
{
m_pObject = object;
setDescriptions( );
initSelection( );
}
-PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListViewItem* parent )
- : TQListViewItem( parent )
+PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListViewItem* tqparent )
+ : TQListViewItem( tqparent )
{
m_pObject = object;
setDescriptions( );
initSelection( );
}
-PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListView* parent,
+PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListView* tqparent,
TQListViewItem* after )
- : TQListViewItem( parent, after )
+ : TQListViewItem( tqparent, after )
{
m_pObject = object;
setDescriptions( );
initSelection( );
}
-PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListViewItem* parent,
+PMTreeViewItem::PMTreeViewItem( PMObject* object, TQListViewItem* tqparent,
TQListViewItem* after )
- : TQListViewItem( parent, after )
+ : TQListViewItem( tqparent, after )
{
m_pObject = object;
setDescriptions( );
@@ -72,13 +72,13 @@ void PMTreeViewItem::setDescriptions( )
else
text = m_pObject->description( );
- if( m_pObject->parent( ) )
+ if( m_pObject->tqparent( ) )
{
- if( m_pObject->parent( )->isA( "TextureMapBase" ) )
+ if( m_pObject->tqparent( )->isA( "TextureMapBase" ) )
{
- PMTextureMapBase* tm = ( PMTextureMapBase* ) m_pObject->parent( );
+ PMTextureMapBase* tm = ( PMTextureMapBase* ) m_pObject->tqparent( );
if( m_pObject->type( ) == tm->mapType( ) )
- text = TQString( "[%1] " ).arg( tm->mapValue( m_pObject ), 4, 'f', 2 ) + text;
+ text = TQString( "[%1] " ).tqarg( tm->mapValue( m_pObject ), 4, 'f', 2 ) + text;
}
}
setText( 0, text );
@@ -87,8 +87,8 @@ void PMTreeViewItem::setDescriptions( )
TQString PMTreeViewItem::key( int, bool ) const
{
TQString result;
- if( m_pObject->parent( ) )
- result.sprintf( "%06i", m_pObject->parent( )->findChild( m_pObject ) );
+ if( m_pObject->tqparent( ) )
+ result.sprintf( "%06i", m_pObject->tqparent( )->findChild( m_pObject ) );
else
result = "000000";
return result;
@@ -113,5 +113,5 @@ void PMTreeViewItem::initSelection( )
{
TQListViewItem::setSelected( m_pObject->isSelected( ) );
// if( m_pObject->isSelected( ) )
-// repaint( );
+// tqrepaint( );
}