summaryrefslogtreecommitdiff
path: root/src/data/graphelementproperty.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/graphelementproperty.h')
-rw-r--r--src/data/graphelementproperty.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/data/graphelementproperty.h b/src/data/graphelementproperty.h
index af4ae91..e9f82d0 100644
--- a/src/data/graphelementproperty.h
+++ b/src/data/graphelementproperty.h
@@ -25,25 +25,26 @@ class GraphElementProperty
{
public:
GraphElementProperty();
- GraphElementProperty(QString key, QString value, bool atom, bool keyMatch);
- // construct a property
+ // full constructor
+ GraphElementProperty(QString key, QString value, bool atom);
+
+ // construct a proper property
GraphElementProperty(QString key, QString value);
- // construct an atom or keymatch
- GraphElementProperty(QString key, bool keyMatch = false);
+ // construct an atom
+ GraphElementProperty(QString key);
QString key() const;
+ void setKey(const QString &key);
QString value() const;
void setValue(const QString &value);
bool atom() const;
- bool keyMatch() const;
-
- bool matches(const GraphElementProperty &p);
bool operator==(const GraphElementProperty &p);
static QString tikzEscape(QString str);
QString tikz();
+
signals:
public slots: