From f7055674768fa7f0267da4a14b9061e60ebab3fc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 00:15:51 -0600 Subject: Rename KShared --- chalk/sdk/kis_annotation.h | 4 ++-- chalk/sdk/kis_shared_ptr_vector.h | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'chalk/sdk') diff --git a/chalk/sdk/kis_annotation.h b/chalk/sdk/kis_annotation.h index 0753af8f..2ba814d1 100644 --- a/chalk/sdk/kis_annotation.h +++ b/chalk/sdk/kis_annotation.h @@ -40,7 +40,7 @@ * * Examples of annotations are EXIF data and ICC profiles. */ -class KisAnnotation : public KShared { +class KisAnnotation : public TDEShared { public: @@ -81,7 +81,7 @@ private: }; -typedef KSharedPtr KisAnnotationSP; +typedef TDESharedPtr KisAnnotationSP; typedef KisSharedPtrVector vKisAnnotationSP; typedef vKisAnnotationSP::iterator vKisAnnotationSP_it; typedef vKisAnnotationSP::const_iterator vKisAnnotationSP_cit; diff --git a/chalk/sdk/kis_shared_ptr_vector.h b/chalk/sdk/kis_shared_ptr_vector.h index ee7961ae..0e7c99e8 100644 --- a/chalk/sdk/kis_shared_ptr_vector.h +++ b/chalk/sdk/kis_shared_ptr_vector.h @@ -25,15 +25,15 @@ /** * TQValueVector does not always destroy an element when it is erased. - * If the items it is holding are KSharedPtr, this can result in hidden + * If the items it is holding are TDESharedPtr, this can result in hidden * references to objects that cannot be accounted for. This class - * sets the KSharedPtr to 0 on erase, which dereferences the object as + * sets the TDESharedPtr to 0 on erase, which dereferences the object as * expected. */ template -class KisSharedPtrVector : public TQValueVector< KSharedPtr > +class KisSharedPtrVector : public TQValueVector< TDESharedPtr > { - typedef TQValueVector< KSharedPtr > super; + typedef TQValueVector< TDESharedPtr > super; public: KisSharedPtrVector() {} @@ -57,7 +57,7 @@ public: return super::erase(first, last); } - bool contains(KSharedPtr ptr) const + bool contains(TDESharedPtr ptr) const { for (int i = 0, n = super::count(); i < n; ++i) if (super::at(i) == ptr) -- cgit v1.2.1