diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:39:49 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:39:49 -0600 |
commit | 8d6fecdf83984625b9bc6d010a6a00ee670af344 (patch) | |
tree | 3bf8e73ad6d6f029998d9e8eafdf85ee17b89971 /lib/interfaces/codemodel.h | |
parent | 758e85b36d3fafe1b40112032dab28dd3d2fc0e5 (diff) | |
download | tdevelop-8d6fecdf83984625b9bc6d010a6a00ee670af344.tar.gz tdevelop-8d6fecdf83984625b9bc6d010a6a00ee670af344.zip |
Rename KShared
Diffstat (limited to 'lib/interfaces/codemodel.h')
-rw-r--r-- | lib/interfaces/codemodel.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/lib/interfaces/codemodel.h b/lib/interfaces/codemodel.h index 86faa4f9..b6e03fdb 100644 --- a/lib/interfaces/codemodel.h +++ b/lib/interfaces/codemodel.h @@ -43,7 +43,7 @@ enum ParsedFileType { CppParsedFile }; -class AbstractParseResult : public KShared { +class AbstractParseResult : public TDEShared { public: virtual void read( TQDataStream& stream ) = 0; @@ -52,7 +52,7 @@ public: virtual ParsedFileType type() const = 0; }; -typedef KSharedPtr<AbstractParseResult> ParseResultPointer; +typedef TDESharedPtr<AbstractParseResult> ParseResultPointer; using namespace std; @@ -72,90 +72,90 @@ class TypeAliasModel; /** @class ItemDom Safe pointer to the @ref CodeModelItem. -This is a type definition: @code typedef KSharedPtr<CodeModelItem> ItemDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<CodeModelItem> ItemDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<CodeModelItem> ItemDom; +typedef TDESharedPtr<CodeModelItem> ItemDom; /** @class FileDom Safe pointer to the @ref FileModel. -This is a type definition: @code typedef KSharedPtr<FileModel> FileDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<FileModel> FileDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<FileModel> FileDom; +typedef TDESharedPtr<FileModel> FileDom; /** @class NamespaceDom Safe pointer to the @ref NamespaceModel. -This is a type definition: @code typedef KSharedPtr<NamespaceModel> NamespaceDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<NamespaceModel> NamespaceDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<NamespaceModel> NamespaceDom; +typedef TDESharedPtr<NamespaceModel> NamespaceDom; /** @class ClassDom Safe pointer to the @ref ClassModel. -This is a type definition: @code typedef KSharedPtr<ClassModel> ClassDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<ClassModel> ClassDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<ClassModel> ClassDom; +typedef TDESharedPtr<ClassModel> ClassDom; /** @class FunctionDom Safe pointer to the @ref FunctionModel. -This is a type definition: @code typedef KSharedPtr<FunctionModel> FunctionDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<FunctionModel> FunctionDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<FunctionModel> FunctionDom; +typedef TDESharedPtr<FunctionModel> FunctionDom; /** @class FunctionDefinitionDom Safe pointer to the @ref FunctionDefinitionModel. -This is a type definition: @code typedef KSharedPtr<FunctionDefinitionModel> FunctionDefinitionDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<FunctionDefinitionModel> FunctionDefinitionDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<FunctionDefinitionModel> FunctionDefinitionDom; +typedef TDESharedPtr<FunctionDefinitionModel> FunctionDefinitionDom; /** @class VariableDom Safe pointer to the @ref VariableModel. -This is a type definition: @code typedef KSharedPtr<VariableModel> VariableDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<VariableModel> VariableDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<VariableModel> VariableDom; +typedef TDESharedPtr<VariableModel> VariableDom; /** @class ArgumentDom Safe pointer to the @ref ArgumentModel. -This is a type definition: @code typedef KSharedPtr<ArgumentModel> ArgumentDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<ArgumentModel> ArgumentDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<ArgumentModel> ArgumentDom; +typedef TDESharedPtr<ArgumentModel> ArgumentDom; /** @class EnumDom Safe pointer to the @ref EnumModel. -This is a type definition: @code typedef KSharedPtr<EnumModel> EnumDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<EnumModel> EnumDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<EnumModel> EnumDom; +typedef TDESharedPtr<EnumModel> EnumDom; /** @class TypeAliasDom Safe pointer to the @ref TypeAliasModel. -This is a type definition: @code typedef KSharedPtr<TypeAliasModel> TypeAliasDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<TypeAliasModel> TypeAliasDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<TypeAliasModel> TypeAliasDom; +typedef TDESharedPtr<TypeAliasModel> TypeAliasDom; /** @class EnumeratorDom Safe pointer to the @ref EnumeratorModel. -This is a type definition: @code typedef KSharedPtr<EnumeratorModel> EnumeratorDom; @endcode -@sa KSharedPtr +This is a type definition: @code typedef TDESharedPtr<EnumeratorModel> EnumeratorDom; @endcode +@sa TDESharedPtr */ -typedef KSharedPtr<EnumeratorModel> EnumeratorDom; +typedef TDESharedPtr<EnumeratorModel> EnumeratorDom; /** @class ItemList @@ -271,7 +271,7 @@ TQStringList sortedNameList( const ItemList& lst ) } /** -Casts safe code model pointers (@p KSharedPtr<T> objects like +Casts safe code model pointers (@p TDESharedPtr<T> objects like FileDom, NamespaceDom, etc.) to the @p Result type. Example: @@ -282,7 +282,7 @@ ClassDom cl = model_cast<ClassDom>(ns); @param x Object to cast. */ template <class Result, class T> -Result model_cast( KSharedPtr<T> x ) +Result model_cast( TDESharedPtr<T> x ) { Result r( static_cast<T*>(x) ); return r; @@ -458,7 +458,7 @@ variables, arguments, enums and enumerators, type aliases. Instances of this class should be created using @ref CodeModel::create method but usually it is better to create instances of derived classes like ClassModel, NamespaceModel, FileModel, etc. */ -class CodeModelItem: public KShared +class CodeModelItem: public TDEShared { public: /**A definition of safe pointer to the code model item.*/ |