Changeset View
Changeset View
Standalone View
Standalone View
plugins/mpriscontrol/mpriscontrolplugin.h
Show All 34 Lines | |||||
35 | class MprisControlPlugin | 35 | class MprisControlPlugin | ||
36 | : public KdeConnectPlugin | 36 | : public KdeConnectPlugin | ||
37 | { | 37 | { | ||
38 | Q_OBJECT | 38 | Q_OBJECT | ||
39 | 39 | | |||
40 | public: | 40 | public: | ||
41 | explicit MprisControlPlugin(QObject *parent, const QVariantList &args); | 41 | explicit MprisControlPlugin(QObject *parent, const QVariantList &args); | ||
42 | 42 | | |||
43 | public Q_SLOTS: | | |||
44 | bool receivePackage(const NetworkPackage& np) override; | 43 | bool receivePackage(const NetworkPackage& np) override; | ||
45 | void connected() override { } | 44 | void connected() override { } | ||
46 | 45 | | |||
47 | private Q_SLOTS: | 46 | private Q_SLOTS: | ||
48 | void propertiesChanged(const QString& propertyInterface, const QVariantMap& properties); | 47 | void propertiesChanged(const QString& propertyInterface, const QVariantMap& properties); | ||
49 | void seeked(qlonglong); | 48 | void seeked(qlonglong); | ||
50 | 49 | | |||
51 | private: | 50 | private: | ||
Show All 12 Lines |