| 109 | } |
| 110 | |
| 111 | void LightpackPluginInterface::resultBacklightStatus(Backlight::Status status) |
| 112 | { |
| 113 | DEBUG_MID_LEVEL << Q_FUNC_INFO << status; |
| 114 | m_backlightStatusResult = status; |
| 115 | m_isRequestBacklightStatusDone = true; |
| 116 | switch (m_backlightStatusResult) |
| 117 | { |
| 118 | case Backlight::StatusOn: |
| 119 | emit ChangeStatus(1); |
| 120 | break; |
| 121 | case Backlight::StatusOff: |
| 122 | emit ChangeStatus(0); |
| 123 | break; |
| 124 | case Backlight::StatusDeviceError: |
| 125 | default: |
| 126 | emit ChangeStatus(-1); |
| 127 | break; |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | void LightpackPluginInterface::changeProfile(QString profile) |
| 132 | { |
no outgoing calls
no test coverage detected