diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-17 02:06:17 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-17 02:06:17 +0000 |
commit | d3b4e48f306181cb6f19afecd103d867d6744575 (patch) | |
tree | ca01efc88fd1c452a8381ae92e569155d2c78a65 /kommander/widget/parsenode.cpp | |
parent | 28e8409ec554c785337862c9fd0d0094e65f39b6 (diff) | |
download | tdewebdev-d3b4e48f306181cb6f19afecd103d867d6744575.tar.gz tdewebdev-d3b4e48f306181cb6f19afecd103d867d6744575.zip |
Fix FTBFS due to broken and redundant functions
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1075934 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |