diff options
Diffstat (limited to 'kandy/src/commandset.cpp')
-rw-r--r-- | kandy/src/commandset.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kandy/src/commandset.cpp b/kandy/src/commandset.cpp index 17a50b811..d1bcc6316 100644 --- a/kandy/src/commandset.cpp +++ b/kandy/src/commandset.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> @@ -129,13 +129,13 @@ void CommandSet::loadCommand(ATCommand *command,TQDomElement *c) } void CommandSet::saveCommand(ATCommand *command,TQDomDocument *doc, - TQDomElement *parent) + TQDomElement *tqparent) { TQDomElement c = doc->createElement("command"); c.setAttribute("name",command->cmdName()); c.setAttribute("string",command->cmdString()); c.setAttribute("hexoutput",command->hexOutput() ? "y" : "n"); - parent->appendChild(c); + tqparent->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 *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); } |