WallpaperBrief::WallpaperBrief (
        WallpaperBusinessLogic *businessLogic) :
    m_WallpaperBusinessLogic (businessLogic)
{
    connect (businessLogic, SIGNAL(wallpaperChanged()),
        this, SIGNAL(valuesChanged()));
}
Exemplo n.º 2
0
void Config::setWallpaperMode(const QString &str)
{
    qDebug() << Q_FUNC_INFO << str;
    d->mData["CurrentWallpaperMode"] = QVariant(str);
    d->mSettings->setValue("CurrentWallpaperMode",
            d->mData["CurrentWallpaperMode"].toString());
    Q_EMIT wallpaperChanged();
}
Exemplo n.º 3
0
void Config::changeLayer()
{
    qDebug() << Q_FUNC_INFO;
    Q_EMIT layerChange();
    Q_EMIT wallpaperChanged();
}