diff options
Diffstat (limited to 'kexi/plugins/macros/lib/variable.cpp')
-rw-r--r-- | kexi/plugins/macros/lib/variable.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/plugins/macros/lib/variable.cpp b/kexi/plugins/macros/lib/variable.cpp index f64613b0..3661ef9a 100644 --- a/kexi/plugins/macros/lib/variable.cpp +++ b/kexi/plugins/macros/lib/variable.cpp @@ -58,10 +58,10 @@ namespace KoMacro { const TQObject* object; /** - * Optional list of tqchildren this @a Variable has. + * Optional list of children this @a Variable has. */ // TODO Dow we use this or is it for the future?? - Variable::List tqchildren; + Variable::List children; /** * Defines if the variable is enabled or disabled. @@ -199,7 +199,7 @@ const TQString Variable::toString() const return variant().toString(); } break; case KoMacro::MetaParameter::TypeObject: { - return TQString("[%1]").tqarg( object()->name() ); + return TQString("[%1]").arg( object()->name() ); } break; default: { throw Exception("Type is undefined."); @@ -213,24 +213,24 @@ int Variable::toInt() const return variant().toInt(); } -Variable::List Variable::tqchildren() const +Variable::List Variable::children() const { - return d->tqchildren; + return d->children; } void Variable::appendChild(KSharedPtr<Variable> variable) { - d->tqchildren.append(variable); + d->children.append(variable); } void Variable::clearChildren() { - d->tqchildren.clear(); + d->children.clear(); } -void Variable::setChildren(const Variable::List& tqchildren) +void Variable::setChildren(const Variable::List& children) { - d->tqchildren = tqchildren; + d->children = children; } /* |