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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kandy/src/commanditem.cpp b/kandy/src/commanditem.cpp
index 4785e89f..f8eceb2c 100644
--- a/kandy/src/commanditem.cpp
+++ b/kandy/src/commanditem.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <tqdom.h>
@@ -70,13 +70,13 @@ void CommandItem::load(TQDomElement *c)
setItemText();
}
-void CommandItem::save(TQDomDocument *doc,TQDomElement *parent)
+void CommandItem::save(TQDomDocument *doc,TQDomElement *tqparent)
{
TQDomElement c = doc->createElement("command");
c.setAttribute("name",mCommand->cmdName());
c.setAttribute("string",mCommand->cmdString());
c.setAttribute("hexoutput",mCommand->hexOutput() ? "y" : "n");
- parent->appendChild(c);
+ tqparent->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 *parent)
}
void CommandItem::saveParameter(ATParameter *p, TQDomDocument *doc,
- TQDomElement *parent)
+ TQDomElement *tqparent)
{
TQDomElement e = doc->createElement("parameter");
e.setAttribute("name",p->name());
e.setAttribute("value",p->value());
e.setAttribute("userinput",p->userInput() ? "y" : "n");
- parent->appendChild(e);
+ tqparent->appendChild(e);
}
void CommandItem::setItemText()