1 Star 0 Fork 2

Spark开源软件/deepin-dreamscene-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dbuswallpaperservice.cpp 692 Bytes
一键复制 编辑 原始数据 按行查看 历史
depend 提交于 2021-03-06 17:40 . fix: first commit
#include "dbuswallpaperservice.h"
#include "wallpaper.h"
DBusWallpaperService::DBusWallpaperService(Wallpaper *parent)
: QDBusAbstractAdaptor(parent),
m_parent(parent)
{
}
Wallpaper *DBusWallpaperService::parent() const
{
return m_parent;
}
void DBusWallpaperService::setFile(const QString &path)
{
m_parent->setFile(path);
}
void DBusWallpaperService::setVolume(const qint32 volume)
{
m_parent->setVolume(volume);
}
void DBusWallpaperService::clear()
{
m_parent->clear();
}
void DBusWallpaperService::play()
{
m_parent->play();
}
void DBusWallpaperService::pause()
{
m_parent->pause();
}
void DBusWallpaperService::stop()
{
m_parent->stop();
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/spark-opensource/deepin-dreamscene-ui.git
git@gitee.com:spark-opensource/deepin-dreamscene-ui.git
spark-opensource
deepin-dreamscene-ui
deepin-dreamscene-ui
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385