From 32b67ac0690de411b26b1d5e715b188c27442248 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/simpletype.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'languages/cpp/simpletype.h') diff --git a/languages/cpp/simpletype.h b/languages/cpp/simpletype.h index d3b288c0..43e55280 100644 --- a/languages/cpp/simpletype.h +++ b/languages/cpp/simpletype.h @@ -42,7 +42,7 @@ class SimpleTypeFunctionInterface; typedef KSharedPtr TypePointer; -///if this is set, imported items will get their tqparent set to the node they were acquired through(which may increase the overall count of items, decrease the caching-performance, and may create other problems in locating stuff) +///if this is set, imported items will get their parent set to the node they were acquired through(which may increase the overall count of items, decrease the caching-performance, and may create other problems in locating stuff) //#define PHYSICAL_IMPORT enum Repository { @@ -322,7 +322,7 @@ class SimpleTypeImpl : public KShared { }; - ///Sets the tqparent of the given slave to either this class, or the proxy of this class + ///Sets the parent of the given slave to either this class, or the proxy of this class virtual void setSlaveParent( SimpleTypeImpl& slave ); void setMasterProxy( TypePointer t ) { @@ -480,19 +480,19 @@ class SimpleTypeImpl : public KShared { return ts; } - ///sets the tqparent-type(type this one is nested in) - void setParent( TypePointer tqparent ) { - if( tqparent == m_parent ) return; + ///sets the parent-type(type this one is nested in) + void setParent( TypePointer parent ) { + if( parent == m_parent ) return; invalidateSecondaryCache(); - if ( &( *tqparent ) == this ) { + if ( &( *parent ) == this ) { kdDebug( 9007 ) << "setSlaveParent error\n" << kdBacktrace() << endl; return ; } - m_parent = tqparent; + m_parent = parent; } - ///returns whether the type has template-parameters, or one of the tqparent-types has template-parameters. + ///returns whether the type has template-parameters, or one of the parent-types has template-parameters. bool usingTemplates() const { return !m_desc.templateParams().isEmpty() || ( m_parent && m_parent->usingTemplates() ); } @@ -617,7 +617,7 @@ class SimpleTypeImpl : public KShared { ExcludeParents = 16, ExcludeNestedTypes = 32, ExcludeNamespaces = 64, - ForgetModeUpwards = 128, ///forgets everything, even NoFail, while passing control to the tqparent + ForgetModeUpwards = 128, ///forgets everything, even NoFail, while passing control to the parent LocateBase = 4 + 8 + 32 + 64 + 128, ///searching in the scope visible while the base-declaration of a class NoFail = 256, TraceAliases = 512, ///Stores a copy whenever an alias is applied @@ -718,8 +718,8 @@ class SimpleTypeImpl : public KShared { ///Returns either itself, or the (namespace-)proxy this type is a slave of. TypePointer bigContainer(); - ///Returns the tqparent, eg. the SimpleType this one is nested in. - SimpleType tqparent(); + ///Returns the parent, eg. the SimpleType this one is nested in. + SimpleType parent(); ///this must be a reference, so the desc can be manipulated in-place from outside const TypeDesc& desc(); @@ -779,7 +779,7 @@ class SimpleTypeImpl : public KShared { ///Used to set the include-files that were used to find this type(needed for lazy evaluation of the base-classes) void setFindIncludeFiles( const IncludeFiles& files ); - ///Should be called within the tqparent-namespace/class + ///Should be called within the parent-namespace/class virtual void chooseSpecialization( MemberInfo& member ); }; -- cgit v1.2.1