summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/lib/metamethod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/lib/metamethod.cpp')
-rw-r--r--kexi/plugins/macros/lib/metamethod.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kexi/plugins/macros/lib/metamethod.cpp b/kexi/plugins/macros/lib/metamethod.cpp
index 18839780..6642c706 100644
--- a/kexi/plugins/macros/lib/metamethod.cpp
+++ b/kexi/plugins/macros/lib/metamethod.cpp
@@ -70,7 +70,7 @@ namespace KoMacro {
* if this @a MetaMethod doesn't belong to any @a MetaObject
* yet.
*/
- KSharedPtr<MetaObject> object;
+ TDESharedPtr<MetaObject> object;
/**
* The @a MetaMethod::Type this method provides access
@@ -81,8 +81,8 @@ namespace KoMacro {
}
-MetaMethod::MetaMethod(const TQString& signature, Type type, KSharedPtr<MetaObject> object)
- : KShared()
+MetaMethod::MetaMethod(const TQString& signature, Type type, TDESharedPtr<MetaObject> object)
+ : TDEShared()
, d( new Private() ) // create the private d-pointer instance.
{
d->signature = signature;
@@ -135,7 +135,7 @@ MetaMethod::~MetaMethod()
delete d;
}
-KSharedPtr<MetaObject> const MetaMethod::object() const
+TDESharedPtr<MetaObject> const MetaMethod::object() const
{
return d->object;
}
@@ -180,8 +180,8 @@ TQUObject* MetaMethod::toTQUObject(Variable::List arguments)
uo[0] = TQUObject(); // empty placeholder for the returnvalue.
for(uint i = 0; i < argsize; i++) {
- KSharedPtr<MetaParameter> metaargument = d->arguments[i];
- KSharedPtr<Variable> variable = arguments[i + 1];
+ TDESharedPtr<MetaParameter> metaargument = d->arguments[i];
+ TDESharedPtr<Variable> variable = arguments[i + 1];
if ( !variable ) {
throw Exception(TQString("Variable is undefined !"));
@@ -254,7 +254,7 @@ TQUObject* MetaMethod::toTQUObject(Variable::List arguments)
return uo;
}
-KSharedPtr<Variable> MetaMethod::toVariable(TQUObject* uo)
+TDESharedPtr<Variable> MetaMethod::toVariable(TQUObject* uo)
{
const TQString desc( uo->type->desc() );
@@ -303,16 +303,16 @@ Variable::List MetaMethod::toVariableList(TQUObject* uo)
return list;
}
-KSharedPtr<Variable> MetaMethod::invoke(Variable::List arguments)
+TDESharedPtr<Variable> MetaMethod::invoke(Variable::List arguments)
{
- kdDebug() << "KSharedPtr<Variable> MetaMethod::invoke(Variable::List arguments)" << endl;
+ kdDebug() << "TDESharedPtr<Variable> MetaMethod::invoke(Variable::List arguments)" << endl;
if(! d->object) {
throw Exception("MetaObject is undefined.");
}
TQObject* obj = d->object->object();
- KSharedPtr<Variable> returnvalue;
+ TDESharedPtr<Variable> returnvalue;
TQUObject* qu = 0;
try {