• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mcallegari / qlcplus / 16703565460

03 Aug 2025 09:32AM UTC coverage: 34.289% (+0.005%) from 34.284%
16703565460

push

github

mcallegari
qmlui: fix preset tool data reload

17703 of 51629 relevant lines covered (34.29%)

19439.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.43
/engine/src/qlcinputfeedback.cpp
1
/*
2
  Q Light Controller Plus
3
  qlcinputfeedback.cpp
4

5
  Copyright (c) Massimo Callegari
6

7
  Licensed under the Apache License, Version 2.0 (the "License");
8
  you may not use this file except in compliance with the License.
9
  You may obtain a copy of the License at
10

11
      http://www.apache.org/licenses/LICENSE-2.0.txt
12

13
  Unless required by applicable law or agreed to in writing, software
14
  distributed under the License is distributed on an "AS IS" BASIS,
15
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
  See the License for the specific language governing permissions and
17
  limitations under the License.
18
*/
19

20
#include "qlcinputfeedback.h"
21

22

23
QLCInputFeedback::QLCInputFeedback()
144✔
24
    : m_type(Undefinded)
144✔
25
    , m_value(0)
144✔
26
    , m_extraParams(-1)
144✔
27
{
28
}
144✔
29

30
QLCInputFeedback *QLCInputFeedback::createCopy()
×
31
{
32
    QLCInputFeedback *copy = new QLCInputFeedback();
×
33
    copy->setType(this->type());
×
34
    copy->setValue(this->value());
×
35
    copy->setExtraParams(this->extraParams());
×
36

37
    return copy;
×
38
}
39

40
QLCInputFeedback::~QLCInputFeedback()
108✔
41
{
42
}
108✔
43

44
QLCInputFeedback::FeedbackType QLCInputFeedback::type() const
×
45
{
46
    return m_type;
×
47
}
48

49
void QLCInputFeedback::setType(FeedbackType type)
144✔
50
{
51
    m_type = type;
144✔
52
}
144✔
53

54
uchar QLCInputFeedback::value() const
56✔
55
{
56
    return m_value;
56✔
57
}
58

59
void QLCInputFeedback::setValue(uchar value)
174✔
60
{
61
    m_value = value;
174✔
62
}
174✔
63

64
QVariant QLCInputFeedback::extraParams() const
59✔
65
{
66
    return m_extraParams;
59✔
67
}
68

69
void QLCInputFeedback::setExtraParams(QVariant params)
9✔
70
{
71
    m_extraParams = params;
9✔
72
}
9✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc