summaryrefslogtreecommitdiffstats
path: root/lib/kross/api/object.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-31 00:15:51 -0600
committerTimothy Pearson <[email protected]>2013-01-31 00:15:51 -0600
commitf7055674768fa7f0267da4a14b9061e60ebab3fc (patch)
tree9cf91b2040d16220234c24c945e950952c359832 /lib/kross/api/object.h
parentaf2ab9c9888013e42237f71166eeafe5e988da0f (diff)
downloadkoffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.tar.gz
koffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.zip
Rename KShared
Diffstat (limited to 'lib/kross/api/object.h')
-rw-r--r--lib/kross/api/object.h8
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;
}