diff options
Diffstat (limited to 'kexi/formeditor/events.cpp')
-rw-r--r-- | kexi/formeditor/events.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/formeditor/events.cpp b/kexi/formeditor/events.cpp index d7d62358..ff16bcd9 100644 --- a/kexi/formeditor/events.cpp +++ b/kexi/formeditor/events.cpp @@ -67,18 +67,18 @@ ConnectionBuffer::allConnectionsForWidget(const TQString &widget) } void -ConnectionBuffer::save(TQDomNode &tqparentNode) +ConnectionBuffer::save(TQDomNode &parentNode) { if(isEmpty()) return; - TQDomDocument domDoc = tqparentNode.ownerDocument(); + TQDomDocument domDoc = parentNode.ownerDocument(); TQDomElement connections; - if(!tqparentNode.namedItem("connections").isNull()) - connections = tqparentNode.namedItem("connections").toElement(); + if(!parentNode.namedItem("connections").isNull()) + connections = parentNode.namedItem("connections").toElement(); else connections = domDoc.createElement("connections"); - tqparentNode.appendChild(connections); + parentNode.appendChild(connections); for(Connection *c = first(); c; c = next()) { @@ -109,10 +109,10 @@ ConnectionBuffer::save(TQDomNode &tqparentNode) } void -ConnectionBuffer::saveAllConnectionsForWidget(const TQString &widget, TQDomNode tqparentNode) +ConnectionBuffer::saveAllConnectionsForWidget(const TQString &widget, TQDomNode parentNode) { ConnectionBuffer *buff = allConnectionsForWidget(widget); - buff->save(tqparentNode); + buff->save(parentNode); delete buff; } |