summaryrefslogtreecommitdiffstats
path: root/kandy/src/commanditem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kandy/src/commanditem.cpp')
-rw-r--r--kandy/src/commanditem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kandy/src/commanditem.cpp b/kandy/src/commanditem.cpp
index f8eceb2c9..9586abbd2 100644
--- a/kandy/src/commanditem.cpp
+++ b/kandy/src/commanditem.cpp
@@ -70,13 +70,13 @@ void CommandItem::load(TQDomElement *c)
setItemText();
}
-void CommandItem::save(TQDomDocument *doc,TQDomElement *tqparent)
+void CommandItem::save(TQDomDocument *doc,TQDomElement *parent)
{
TQDomElement c = doc->createElement("command");
c.setAttribute("name",mCommand->cmdName());
c.setAttribute("string",mCommand->cmdString());
c.setAttribute("hexoutput",mCommand->hexOutput() ? "y" : "n");
- tqparent->appendChild(c);
+ parent->appendChild(c);
TQPtrList<ATParameter> paras = mCommand->parameters();
for(uint i=0;i<paras.count();++i) {
@@ -85,13 +85,13 @@ void CommandItem::save(TQDomDocument *doc,TQDomElement *tqparent)
}
void CommandItem::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);
}
void CommandItem::setItemText()