blob: 0586820f9fd3ce06761e309e68a713c6214c416a (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "ditem.h"
#include "dvisitor.h"
#include "dconstvisitor.h"
namespace qmt {
DItem::DItem()
{
}
DItem::~DItem()
{
}
void DItem::setVariety(const QString &variety)
{
m_variety = variety;
}
void DItem::setShape(const QString &shape)
{
m_shape = shape;
}
void DItem::setShapeEditable(bool shapeEditable)
{
m_isShapeEditable = shapeEditable;
}
void DItem::accept(DVisitor *visitor)
{
visitor->visitDItem(this);
}
void DItem::accept(DConstVisitor *visitor) const
{
visitor->visitDItem(this);
}
} // namespace qmt
|