diff options
author | deva <deva> | 2010-08-03 12:30:27 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-03 12:30:27 +0000 |
commit | dbab8458dcce186e7eb7a114a83f759d7db5445a (patch) | |
tree | 5abbd9e97b17a0e8321adea983594d818157e8e2 /client/netcom.cc | |
parent | d285c1bdb79752ef23a7252c9c2d9f408f0c9f49 (diff) |
New scripting interface part1.
Diffstat (limited to 'client/netcom.cc')
-rw-r--r-- | client/netcom.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/netcom.cc b/client/netcom.cc index 97f9ee1..f569a6f 100644 --- a/client/netcom.cc +++ b/client/netcom.cc @@ -189,9 +189,9 @@ QDomDocument NetCom::send(QVector< Widget* > widgets, QString templ, while (i != widgets.end()) { Widget* w = *i; - if(!w->isDisabled() && w->getName() != "") { + if(!w->isDisabled() && w->name() != "") { QDomElement field_elem = doc.createElement("field"); - field_elem.setAttribute("name", w->getName()); + field_elem.setAttribute("name", w->name()); field_elem.setAttribute("value", w->getValue()); commit_elem.appendChild(field_elem); } |