summaryrefslogtreecommitdiffstats
path: root/languages/cpp/simpletype.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/simpletype.h')
-rw-r--r--languages/cpp/simpletype.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/languages/cpp/simpletype.h b/languages/cpp/simpletype.h
index bf90a4e7..c6652be1 100644
--- a/languages/cpp/simpletype.h
+++ b/languages/cpp/simpletype.h
@@ -40,7 +40,7 @@ class SimpleTypeImpl;
class SimpleTypeNamespace;
class SimpleTypeFunctionInterface;
-typedef KSharedPtr<SimpleTypeImpl> TypePointer;
+typedef TDESharedPtr<SimpleTypeImpl> TypePointer;
///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
@@ -220,7 +220,7 @@ class SimpleTypeConfiguration {
};
-class SimpleTypeImpl : public KShared {
+class SimpleTypeImpl : public TDEShared {
/*enum ResolutionFlags {
NoFlag = 0,
HadTypedef = 1,
@@ -229,7 +229,7 @@ class SimpleTypeImpl : public KShared {
};*/
public:
- typedef KSharedPtr<SimpleTypeImpl> TypePointer;
+ typedef TDESharedPtr<SimpleTypeImpl> TypePointer;
SimpleTypeImpl( const TQStringList& scope ) : m_resolutionCount( 0 ), m_resolutionFlags( NoFlag ), m_scope( scope ) {
setScope( m_scope );
@@ -363,7 +363,7 @@ class SimpleTypeImpl : public KShared {
int m_resolutionCount;
ResolutionFlags m_resolutionFlags;
- SimpleTypeImpl( const SimpleTypeImpl& /*rhs*/ ) : KShared() {}
+ SimpleTypeImpl( const SimpleTypeImpl& /*rhs*/ ) : TDEShared() {}
SimpleTypeImpl& operator = ( const SimpleTypeImpl& /*rhs*/ ) {
return * this;
@@ -502,7 +502,7 @@ class SimpleTypeImpl : public KShared {
}
///An abstract class for building types lazily
- struct TypeBuildInfo : public KShared {
+ struct TypeBuildInfo : public TDEShared {
TypePointer buildCached() {
if ( m_cache )
return m_cache;
@@ -529,14 +529,14 @@ class SimpleTypeImpl : public KShared {
Q_UNUSED( rhs );
return *this;
}
- TypeBuildInfo( const TypeBuildInfo& rhs ) : KShared() {
+ TypeBuildInfo( const TypeBuildInfo& rhs ) : TDEShared() {
Q_UNUSED( rhs );
}
};
///A class that stores information about a member of some SimpleType
class MemberInfo {
- KSharedPtr<TypeBuildInfo> m_build;
+ TDESharedPtr<TypeBuildInfo> m_build;
public:
enum MemberType {
@@ -575,9 +575,9 @@ class SimpleTypeImpl : public KShared {
};
}
- typedef KSharedPtr<SimpleTypeImpl> TypePointer;
+ typedef TDESharedPtr<SimpleTypeImpl> TypePointer;
- void setBuildInfo( KSharedPtr<TypeBuildInfo> build ) {
+ void setBuildInfo( TDESharedPtr<TypeBuildInfo> build ) {
m_build = build;
}
@@ -712,7 +712,7 @@ class SimpleTypeImpl : public KShared {
return TQValueList<TypePointer>();
}
- /**TypeDescs and SimpleTypeImpls usually have a cross-reference, which creates a circular dependency so that they are never freed using KShared. This function breaks the loop, and also breaks all other possible dependency-loops. After this function was called, the type still contains its private information, but can not not be used to resolve anything anymore. This function is called automatically while the destruction of SimpleTypeConfiguration */
+ /**TypeDescs and SimpleTypeImpls usually have a cross-reference, which creates a circular dependency so that they are never freed using TDEShared. This function breaks the loop, and also breaks all other possible dependency-loops. After this function was called, the type still contains its private information, but can not not be used to resolve anything anymore. This function is called automatically while the destruction of SimpleTypeConfiguration */
virtual void breakReferences();
///Returns either itself, or the (namespace-)proxy this type is a slave of.