summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/lib/action.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/lib/action.cpp')
-rw-r--r--kexi/plugins/macros/lib/action.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/plugins/macros/lib/action.cpp b/kexi/plugins/macros/lib/action.cpp
index fc729b57..3fc1adf6 100644
--- a/kexi/plugins/macros/lib/action.cpp
+++ b/kexi/plugins/macros/lib/action.cpp
@@ -68,7 +68,7 @@ namespace KoMacro {
Action::Action(const TQString& name, const TQString& text)
: TQObject()
- , KShared()
+ , TDEShared()
, d( new Private() ) // create the private d-pointer instance.
{
kdDebug() << "Action::Action() name=" << name << endl;
@@ -76,7 +76,7 @@ Action::Action(const TQString& name, const TQString& text)
setText(text);
// Publish this action.
- KoMacro::Manager::self()->publishAction( KSharedPtr<Action>(this) );
+ KoMacro::Manager::self()->publishAction( TDESharedPtr<Action>(this) );
}
Action::~Action()
@@ -127,9 +127,9 @@ bool Action::hasVariable(const TQString& name) const
return d->varmap.contains(name);
}
-KSharedPtr<Variable> Action::variable(const TQString& name) const
+TDESharedPtr<Variable> Action::variable(const TQString& name) const
{
- return d->varmap.contains(name) ? d->varmap[name] : KSharedPtr<Variable>(0);
+ return d->varmap.contains(name) ? d->varmap[name] : TDESharedPtr<Variable>(0);
}
Variable::Map Action::variables() const
@@ -142,7 +142,7 @@ TQStringList Action::variableNames() const
return d->varnames;
}
-void Action::setVariable(KSharedPtr<Variable> variable)
+void Action::setVariable(TDESharedPtr<Variable> variable)
{
const TQString name = variable->name();
if(! d->varmap.contains(name)) {
@@ -156,7 +156,7 @@ void Action::setVariable(const TQString& name, const TQString& text, const TQVar
Variable* variable = new Variable(variant);
variable->setName(name);
variable->setText(text);
- setVariable( KSharedPtr<Variable>(variable) );
+ setVariable( TDESharedPtr<Variable>(variable) );
}
void Action::removeVariable(const TQString& name)