diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-08-21 16:49:59 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-08-21 16:49:59 +0200 |
commit | ea4fffa590b1bf7cb936cf6e5ab4e8090dc38910 (patch) | |
tree | b6969c0496b0d463396817739e568bcccd45c3c7 /src/data/graphelementproperty.h | |
parent | 20e06dd885819f7b16711ac5359fcdcfb8d26c86 (diff) |
style categories
Diffstat (limited to 'src/data/graphelementproperty.h')
-rw-r--r-- | src/data/graphelementproperty.h | 15 |
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:
|