diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:15:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:15:51 -0600 |
commit | f7055674768fa7f0267da4a14b9061e60ebab3fc (patch) | |
tree | 9cf91b2040d16220234c24c945e950952c359832 /chalk/sdk/kis_shared_ptr_vector.h | |
parent | af2ab9c9888013e42237f71166eeafe5e988da0f (diff) | |
download | koffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.tar.gz koffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.zip |
Rename KShared
Diffstat (limited to 'chalk/sdk/kis_shared_ptr_vector.h')
-rw-r--r-- | chalk/sdk/kis_shared_ptr_vector.h | 10 |
1 files changed, 5 insertions, 5 deletions
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) |