summaryrefslogtreecommitdiffstats
path: root/chalk/sdk
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/sdk')
-rw-r--r--chalk/sdk/kis_annotation.h4
-rw-r--r--chalk/sdk/kis_shared_ptr_vector.h10
2 files changed, 7 insertions, 7 deletions
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<KisAnnotation> KisAnnotationSP;
+typedef TDESharedPtr<KisAnnotation> KisAnnotationSP;
typedef KisSharedPtrVector<KisAnnotation> 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 T>
-class KisSharedPtrVector : public TQValueVector< KSharedPtr<T> >
+class KisSharedPtrVector : public TQValueVector< TDESharedPtr<T> >
{
- typedef TQValueVector< KSharedPtr<T> > super;
+ typedef TQValueVector< TDESharedPtr<T> > super;
public:
KisSharedPtrVector() {}
@@ -57,7 +57,7 @@ public:
return super::erase(first, last);
}
- bool contains(KSharedPtr<T> ptr) const
+ bool contains(TDESharedPtr<T> ptr) const
{
for (int i = 0, n = super::count(); i < n; ++i)
if (super::at(i) == ptr)