void NemoThemePageDimmer::setEndColor(const QColor &endColor)
{
    if (m_endColor != endColor) {
        m_endColor = endColor;
        emit endColorChanged();
    }
}
void RGBMatrixEditor::setEndColor(QColor algoEndColor)
{
    if (m_matrix == NULL || m_matrix->endColor() == algoEndColor)
        return;

    m_matrix->setEndColor(algoEndColor);
    m_matrix->calculateColorDelta();

    emit endColorChanged(algoEndColor);
    if (algoEndColor.isValid())
        emit hasEndColorChanged(true);
}