aboutsummaryrefslogtreecommitdiffstats
path: root/include/diagram/structogram.h
blob: 6b2e0dba92f8913f9474d743717f14d5596f83f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef DIAGRAM_STRUCTOGRAM_H
#define DIAGRAM_STRUCTOGRAM_H

#include "diagram/scope.h"

#include <QString>

namespace samb {

class Structogram : public Scope
{
public:
    Structogram(const QString &title, const QString &author);
    ~Structogram();

    /* accessors */
    void title(const QString &title) { text(title); }
    const QString& title() const { return text(); }

    void author(const QString &author) { _author = author; }
    const QString& author() const { return _author; }

private:
    QString _author;
};

}

#endif /* DIAGRAM_STRUCTOGRAM_H */