diff options
Diffstat (limited to 'lib/kross/api/object.h')
-rw-r--r-- | lib/kross/api/object.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kross/api/object.h b/lib/kross/api/object.h index f23a6179..8a9f32af 100644 --- a/lib/kross/api/object.h +++ b/lib/kross/api/object.h @@ -47,14 +47,14 @@ namespace Kross { namespace Api { * This class implementates reference counting for shared * objects. So, no need to take care of freeing objects. */ - class Object : public KShared + class Object : public TDEShared { public: /** * Shared pointer to implement reference-counting. */ - typedef KSharedPtr<Object> Ptr; + typedef TDESharedPtr<Object> Ptr; /** * Constructor. @@ -99,7 +99,7 @@ namespace Kross { namespace Api { * \return The call-result as \a Object::Ptr instance or * NULL if the call has no result. */ - virtual Object::Ptr call(const TQString& name, KSharedPtr<List> arguments); + virtual Object::Ptr call(const TQString& name, TDESharedPtr<List> arguments); /** * Return a list of supported callable objects. @@ -142,7 +142,7 @@ template<class T> inline T* Object::fromObject(Object::Ptr object) { T* t = (T*) object.data(); if(! t) - throw KSharedPtr<Exception>( new Exception(TQString("Object \"%1\" invalid.").arg(object ? object->getClassName() : "")) ); + throw TDESharedPtr<Exception>( new Exception(TQString("Object \"%1\" invalid.").arg(object ? object->getClassName() : "")) ); return t; } |