summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-11-07 22:12:34 (GMT)
committerMarius Kintel <marius@kintel.net>2010-11-07 22:12:34 (GMT)
commitab90b38780365943877d1f173d6ae0b692b6ce51 (patch)
tree91ed06b2b91991a2c00c4a3b4db4e03f5b9c3899 /src/value.h
parente0a068a0e8678da426e1edd398feab5f4ea4d0f0 (diff)
Value::QVector -> std::vector
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/value.h b/src/value.h
index 3f9e9ba..9140912 100644
--- a/src/value.h
+++ b/src/value.h
@@ -1,7 +1,8 @@
#ifndef VALUE_H_
#define VALUE_H_
-#include <QVector>
+#include <vector>
+#include <string>
class Value
{
@@ -19,7 +20,7 @@ public:
bool b;
double num;
- QVector<Value*> vec;
+ std::vector<Value*> vec;
double range_begin;
double range_step;
double range_end;
@@ -60,6 +61,8 @@ public:
std::string toString() const;
+ void append(Value *val);
+
private:
void reset_undef();
};
@@ -67,6 +70,7 @@ private:
std::ostream &operator<<(std::ostream &stream, const Value &value);
// FIXME: Doesn't belong here..
+#include <QString>
std::ostream &operator<<(std::ostream &stream, const QString &str);
#endif
contact: Jan Huwald // Impressum