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

mcallegari / qlcplus / 18357067171

08 Oct 2025 08:16PM UTC coverage: 34.26% (+2.2%) from 32.066%
18357067171

push

github

mcallegari
Merge branch 'master' into filedialog

1282 of 4424 new or added lines in 152 files covered. (28.98%)

1342 existing lines in 152 files now uncovered.

17704 of 51675 relevant lines covered (34.26%)

19430.31 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

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

NEW
37
    return copy;
×
38
}
39

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

NEW
44
QLCInputFeedback::FeedbackType QLCInputFeedback::type() const
×
45
{
NEW
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