1 Star 0 Fork 2

Spark开源软件/deepin-dreamscene-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dbuswallpaperservice.h 599 Bytes
一键复制 编辑 原始数据 按行查看 历史
depend 提交于 2021-03-06 17:40 . fix: first commit
#ifndef DBUSWALLPAPERSERVICE_H
#define DBUSWALLPAPERSERVICE_H
#include <QObject>
#include <QtDBus/QtDBus>
class Wallpaper;
class DBusWallpaperService : public QDBusAbstractAdaptor
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "com.deepin.dde.DreamScene")
public:
explicit DBusWallpaperService(Wallpaper *parent);
inline Wallpaper *parent() const;
public slots:
void setFile(const QString &path);
void setVolume(const qint32 volume);
void clear();
void play();
void pause();
void stop();
private:
Wallpaper *m_parent;
};
#endif // DBUSWALLPAPERSERVICE_H
马建仓 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