blob: 1aaf93405a5d8baf8860437e657d04afa0c9e4a9 (
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
|
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include "dobject.h"
namespace qmt {
class QMT_EXPORT DComponent : public DObject
{
public:
DComponent();
~DComponent() override;
bool isPlainShape() const { return m_isPlainShape; }
void setPlainShape(bool planeShape);
void accept(DVisitor *visitor) override;
void accept(DConstVisitor *visitor) const override;
private:
bool m_isPlainShape = false;
};
} // namespace qmt
|