aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/modelinglib/qmt/stereotype/toolbar.cpp
blob: 3bccdf39421504b31a79b72cdece4a797d96c4a2 (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
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0

#include "toolbar.h"

namespace qmt {

Toolbar::Toolbar()
{
}

Toolbar::~Toolbar()
{
}

void Toolbar::setToolbarType(Toolbar::ToolbarType toolbarType)
{
    m_toolbarType = toolbarType;
}

void Toolbar::setId(const QString &id)
{
    m_id = id;
}

void Toolbar::setPriority(int priority)
{
    m_priority = priority;
}

void Toolbar::setElementTypes(const QStringList &elementTypes)
{
    m_elementTypes = elementTypes;
}

void Toolbar::setTools(const QList<Toolbar::Tool> &tools)
{
    m_tools = tools;
}

} // namespace qmt