diff options
Diffstat (limited to 'client/widgets/checkbox.cc')
-rw-r--r-- | client/widgets/checkbox.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/widgets/checkbox.cc b/client/widgets/checkbox.cc index 222d879..2ce3802 100644 --- a/client/widgets/checkbox.cc +++ b/client/widgets/checkbox.cc @@ -26,7 +26,7 @@ */ #include "checkbox.h" -CheckBox::CheckBox(QDomNode node) +CheckBox::CheckBox(QDomNode &node) : QCheckBox(), Widget(node) { QDomElement elem = node.toElement(); @@ -63,3 +63,8 @@ QString CheckBox::getValue() if(checkState() == Qt::Checked) return "true"; return "false"; } + +bool CheckBox::isValid() +{ + return true; +} |