summaryrefslogtreecommitdiffstats
path: root/kommander/widget/parsenode.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-17 02:06:17 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-17 02:06:17 +0000
commitd3b4e48f306181cb6f19afecd103d867d6744575 (patch)
treeca01efc88fd1c452a8381ae92e569155d2c78a65 /kommander/widget/parsenode.h
parent28e8409ec554c785337862c9fd0d0094e65f39b6 (diff)
downloadtdewebdev-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.h')
-rw-r--r--kommander/widget/parsenode.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/kommander/widget/parsenode.h b/kommander/widget/parsenode.h
index 305b0998..aa657d35 100644
--- a/kommander/widget/parsenode.h
+++ b/kommander/widget/parsenode.h
@@ -23,8 +23,8 @@ namespace Parse
{
enum Keyword {For, To, Step, End, While, Do, Foreach, In, If, Then, Else, Elseif, Endif, Switch, Case,
Break, Continue, Exit, Dot, Semicolon, Comma, Assign, Less, LessEqual, Greater, GreaterEqual, Equal, NotEqual,
- Not, And, Or, False, True, LeftParenthesis, RightParenthesis, LeftBracket, DoubleBracket, RightBracket, LeftCurlyBrace, RightCurlyBrace, PlusEqual, MinusEqual, Increment, Decrement,
- Plus, Minus, Multiply, Divide, Mod, LastRealKeyword = Mod, Variable, Invalid, Array, Matrix, ArrKeyVal};
+ Not, And, Or, False, True, LeftParenthesis, RightParenthesis, LeftBracket, RightBracket,
+ Plus, Minus, Multiply, Divide, Mod, LastRealKeyword = Mod, Variable, Invalid};
enum KeywordGroup {GroupComparison, GroupAdd, GroupMultiply, GroupMisc};
enum ValueType {ValueString, ValueInt, ValueDouble, ValueValue = ValueDouble, ValueKeyword,
@@ -74,12 +74,8 @@ public:
bool isKeyword(Parse::Keyword k) const;
/* Check if current value is a variable */
bool isVariable() const;
- /* Check if current value is an Array */
- bool isArray() const;
/* Return the name of variable */
QString variableName() const;
- /* Return the name of array */
- QString arrayName() const;
/* Return error message if applicable */
QString errorMessage() const;
/* Calculate common type for two nodes */
@@ -104,8 +100,6 @@ public:
void setValue(const QString& s);
/* set value as variable */
void setVariable(const QString& name);
- /* set value as array */
- void setArray(const QString& name);
/* check if it is correct value */
bool isValue() const;
/* for setting some context information, f. e. for bug reporting */