diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 00:15:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 00:15:51 -0600 |
commit | f7055674768fa7f0267da4a14b9061e60ebab3fc (patch) | |
tree | 9cf91b2040d16220234c24c945e950952c359832 /kexi/plugins/macros/lib/metaobject.cpp | |
parent | af2ab9c9888013e42237f71166eeafe5e988da0f (diff) | |
download | koffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.tar.gz koffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.zip |
Rename KShared
Diffstat (limited to 'kexi/plugins/macros/lib/metaobject.cpp')
-rw-r--r-- | kexi/plugins/macros/lib/metaobject.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/plugins/macros/lib/metaobject.cpp b/kexi/plugins/macros/lib/metaobject.cpp index ee865c82..deaf4974 100644 --- a/kexi/plugins/macros/lib/metaobject.cpp +++ b/kexi/plugins/macros/lib/metaobject.cpp @@ -56,7 +56,7 @@ namespace KoMacro { } MetaObject::MetaObject(TQObject* const object) - : KShared() + : TDEShared() , d( new Private(object) ) // create the private d-pointer instance. { } @@ -106,7 +106,7 @@ int MetaObject::indexOfSlot(const char* slot) const return slotid; } -KSharedPtr<MetaMethod> MetaObject::method(int index) +TDESharedPtr<MetaMethod> MetaObject::method(int index) { TQObject* obj = object(); MetaMethod::Type type = MetaMethod::Slot; @@ -131,20 +131,20 @@ KSharedPtr<MetaMethod> MetaObject::method(int index) return new MetaMethod(metadata->name, type, this); } -KSharedPtr<MetaMethod> MetaObject::signal(const char* signal) +TDESharedPtr<MetaMethod> MetaObject::signal(const char* signal) { return method( indexOfSignal(signal) ); } -KSharedPtr<MetaMethod> MetaObject::slot(const char* slot) +TDESharedPtr<MetaMethod> MetaObject::slot(const char* slot) { return method( indexOfSlot(slot) ); } -KSharedPtr<Variable> MetaObject::invokeMethod(int index, Variable::List arguments) +TDESharedPtr<Variable> MetaObject::invokeMethod(int index, Variable::List arguments) { // kdDebug() << "MetaObject::invokeMethod(int index, Variable::List arguments)" << endl; - KSharedPtr<MetaMethod> m = method(index); + TDESharedPtr<MetaMethod> m = method(index); // kdDebug() << "MetaObject::invokeMethod(int index, Variable::List arguments) return" << endl; return m->invoke(arguments); } |