summaryrefslogtreecommitdiff
path: root/src/data/nodestyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/nodestyle.h')
-rw-r--r--src/data/nodestyle.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/data/nodestyle.h b/src/data/nodestyle.h
index 58c0c12..0b9f282 100644
--- a/src/data/nodestyle.h
+++ b/src/data/nodestyle.h
@@ -9,20 +9,20 @@
#include <QPainterPath>
#include <QIcon>
-enum NodeShape {
- Rectangle, UpTriangle, DownTriangle, Circle
-};
-
class NodeStyle
{
public:
+ enum Shape {
+ Rectangle, UpTriangle, DownTriangle, Circle
+ };
+
NodeStyle();
NodeStyle(QString name, GraphElementData *data);
bool isNone();
GraphElementData *data() const;
QString name() const;
- NodeShape shape() const;
+ Shape shape() const;
QColor fillColor() const;
QColor strokeColor() const;
int strokeThickness() const;