blob: f22d870de1790c62c036e149eaf5861310c12558 (
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
|
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "dcomponent.h"
#include "dvisitor.h"
#include "dconstvisitor.h"
namespace qmt {
DComponent::DComponent()
{
}
DComponent::~DComponent()
{
}
void DComponent::setPlainShape(bool planeShape)
{
m_isPlainShape = planeShape;
}
void DComponent::accept(DVisitor *visitor)
{
visitor->visitDComponent(this);
}
void DComponent::accept(DConstVisitor *visitor) const
{
visitor->visitDComponent(this);
}
} // namespace qmt
|