summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmobject.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:39 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 19:30:02 +0200
commita84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (patch)
treeac5486dd6d994b05268976cb64e7ef1450d353bc /kpovmodeler/pmobject.cpp
parentcbf5be374069885933bdc8a3ede2cbf9c2ffdb5f (diff)
downloadtdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.tar.gz
tdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 45f529de247fc4b3662f6b474abe03fe904306ec)
Diffstat (limited to 'kpovmodeler/pmobject.cpp')
-rw-r--r--kpovmodeler/pmobject.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpovmodeler/pmobject.cpp b/kpovmodeler/pmobject.cpp
index 579bd00b..94907482 100644
--- a/kpovmodeler/pmobject.cpp
+++ b/kpovmodeler/pmobject.cpp
@@ -57,7 +57,7 @@ PMObject::~PMObject( )
{
}
-PMMetaObject* PMObject::tqmetaObject( ) const
+PMMetaObject* PMObject::metaObject( ) const
{
if( !s_pMetaObject )
{
@@ -72,7 +72,7 @@ PMMetaObject* PMObject::tqmetaObject( ) const
PMObject* PMObject::newObject( ) const
{
- return tqmetaObject( )->newObject( m_pPart );
+ return metaObject( )->newObject( m_pPart );
}
bool PMObject::insertChildAfter( PMObject*, PMObject* )
@@ -215,7 +215,7 @@ void PMObject::cleanUp( ) const
bool PMObject::setProperty( const TQString& name, const PMVariant& v )
{
- PMPropertyBase* p = tqmetaObject( )->property( name );
+ PMPropertyBase* p = metaObject( )->property( name );
if( !p )
return false;
return p->setProperty( this, v );
@@ -224,7 +224,7 @@ bool PMObject::setProperty( const TQString& name, const PMVariant& v )
TQStringList PMObject::properties( ) const
{
TQStringList lst;
- PMPropertyIterator it = tqmetaObject( )->properties( );
+ PMPropertyIterator it = metaObject( )->properties( );
for( ; it.current( ); ++it )
lst.append( it.current( )->name( ) );
@@ -234,7 +234,7 @@ TQStringList PMObject::properties( ) const
PMVariant PMObject::property( const TQString& name ) const
{
- PMPropertyBase* p = tqmetaObject( )->property( name );
+ PMPropertyBase* p = metaObject( )->property( name );
if( !p )
return PMVariant( );
return p->getProperty( this );
@@ -244,12 +244,12 @@ bool PMObject::isA( const TQString& className ) const
{
if( !m_pPart )
return false;
- return m_pPart->prototypeManager( )->isA( tqmetaObject( ), className );
+ return m_pPart->prototypeManager( )->isA( metaObject( ), className );
}
TQString PMObject::type( ) const
{
- return tqmetaObject( )->className( );
+ return metaObject( )->className( );
}
bool PMObject::canInsert( const TQString& className, const PMObject* after,