aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/modelinglib/qmt/model_ui/modeltreefilterdata.cpp
blob: ba411690f57f506866a8f82c852bf89279eeddc8 (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
// Copyright (C) 2018 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include "modeltreefilterdata.h"

namespace qmt {

void ModelTreeViewData::setShowRelations(bool newShowRelations)
{
    m_showRelations = newShowRelations;
}

void ModelTreeViewData::setShowDiagramElements(bool newShowDiagramElements)
{
    m_showDiagramElements = newShowDiagramElements;
}

void ModelTreeFilterData::setType(Type newType)
{
    m_type = newType;
}

void ModelTreeFilterData::setCustomId(const QString &newCustomId)
{
    m_customId = newCustomId;
}

void ModelTreeFilterData::setStereotypes(const QStringList &newStereotypes)
{
    m_stereotypes = newStereotypes;
}

void ModelTreeFilterData::setName(const QString &newName)
{
    m_name = newName;
}

void ModelTreeFilterData::setDirection(Direction newDirection)
{
    m_direction = newDirection;
}

} // namespace qmt