summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/lib/action.cpp
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 /kexi/plugins/macros/lib/action.cpp
parentaf2ab9c9888013e42237f71166eeafe5e988da0f (diff)
downloadkoffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.tar.gz
koffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.zip
Rename KShared
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)