summaryrefslogtreecommitdiffstats
path: root/kandy/src/commandset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kandy/src/commandset.cpp')
-rw-r--r--kandy/src/commandset.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kandy/src/commandset.cpp b/kandy/src/commandset.cpp
index d1bcc6316..e6e5d70f8 100644
--- a/kandy/src/commandset.cpp
+++ b/kandy/src/commandset.cpp
@@ -129,13 +129,13 @@ void CommandSet::loadCommand(ATCommand *command,TQDomElement *c)
}
void CommandSet::saveCommand(ATCommand *command,TQDomDocument *doc,
- TQDomElement *tqparent)
+ TQDomElement *parent)
{
TQDomElement c = doc->createElement("command");
c.setAttribute("name",command->cmdName());
c.setAttribute("string",command->cmdString());
c.setAttribute("hexoutput",command->hexOutput() ? "y" : "n");
- tqparent->appendChild(c);
+ parent->appendChild(c);
TQPtrList<ATParameter> paras = command->parameters();
for(uint i=0;i<paras.count();++i) {
@@ -144,11 +144,11 @@ void CommandSet::saveCommand(ATCommand *command,TQDomDocument *doc,
}
void CommandSet::saveParameter(ATParameter *p, TQDomDocument *doc,
- TQDomElement *tqparent)
+ TQDomElement *parent)
{
TQDomElement e = doc->createElement("parameter");
e.setAttribute("name",p->name());
e.setAttribute("value",p->value());
e.setAttribute("userinput",p->userInput() ? "y" : "n");
- tqparent->appendChild(e);
+ parent->appendChild(e);
}