diff options
Diffstat (limited to 'kommander/widget/parsenode.cpp')
-rw-r--r-- | kommander/widget/parsenode.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/kommander/widget/parsenode.cpp b/kommander/widget/parsenode.cpp index 09ad66a7..d080e114 100644 --- a/kommander/widget/parsenode.cpp +++ b/kommander/widget/parsenode.cpp @@ -120,21 +120,11 @@ bool ParseNode::isVariable() const return type() == ValueKeyword && keyword() == Variable; } -bool ParseNode::isArray() const -{ - return type() == ValueKeyword && keyword() == Array; -} - QString ParseNode::variableName() const { return isVariable() ? m_string : QString(); } -QString ParseNode::arrayName() const -{ - return isArray() ? m_string : QString(); -} - QString ParseNode::errorMessage() const { return isValid() ? QString() : m_string; @@ -238,13 +228,6 @@ void ParseNode::setVariable(const QString& name) m_string = name; } -void ParseNode::setArray(const QString& name) -{ - m_type = ValueKeyword; - m_keyword = Array; - m_string = name; -} - bool ParseNode::isValue() const { return m_type <= ValueValue; |