MCPcopy Create free account
hub / github.com/Atarity/Lightpack / LightpackPluginInterface

Method LightpackPluginInterface

Software/src/LightpackPluginInterface.cpp:13–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11const int LightpackPluginInterface::SignalWaitTimeoutMs = 1000; // 1 second
12
13LightpackPluginInterface::LightpackPluginInterface(QObject *parent) :
14 QObject(parent)
15{
16 m_isRequestBacklightStatusDone = true;
17 m_backlightStatusResult = Backlight::StatusUnknown;
18 initColors(10);
19 m_timerLock = new QTimer(this);
20 m_timerLock->start(5000); // check in 5000 ms
21 connect(m_timerLock, SIGNAL(timeout()), this, SLOT(timeoutLock()));
22 _plugins.clear();
23}
24
25LightpackPluginInterface::~LightpackPluginInterface()
26{

Callers

nothing calls this directly

Calls 2

startMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected