Music Hub
..
A session-wide music playback service
dbus_property_notifier.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2021-2022 UBports Foundation.
3
*
4
* Contact: Alberto Mardegan <mardy@users.sourceforge.net>
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU Lesser General Public License version 3,
8
* as published by the Free Software Foundation.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef DBUS_PROPERTY_NOTIFIER_H
20
#define DBUS_PROPERTY_NOTIFIER_H
21
22
#include <QObject>
23
#include <QStringList>
24
25
class
QDBusConnection;
26
27
class
DBusPropertyNotifierPrivate
;
28
class
DBusPropertyNotifier
:
public
QObject
29
{
30
Q_OBJECT
31
32
public
:
33
DBusPropertyNotifier
(
const
QDBusConnection &connection,
34
const
QString &
objectPath
,
35
QObject
*target);
36
virtual
~DBusPropertyNotifier
();
37
38
void
notify
(
const
QStringList &propertyFilter = {});
39
40
private
:
41
Q_DECLARE_PRIVATE(
DBusPropertyNotifier
)
42
QScopedPointer<DBusPropertyNotifierPrivate> d_ptr;
43
};
44
45
#endif // DBUS_PROPERTY_NOTIFIER_H
QObject
DBusPropertyNotifier::~DBusPropertyNotifier
virtual ~DBusPropertyNotifier()
mpris::objectPath
const QString objectPath
Definition:
media_player2.cpp:39
DBusPropertyNotifier::notify
void notify(const QStringList &propertyFilter={})
Definition:
dbus_property_notifier.cpp:217
DBusPropertyNotifier
Definition:
dbus_property_notifier.h:28
DBusPropertyNotifier::DBusPropertyNotifier
DBusPropertyNotifier(const QDBusConnection &connection, const QString &objectPath, QObject *target)
Definition:
dbus_property_notifier.cpp:207
DBusPropertyNotifierPrivate
Definition:
dbus_property_notifier.cpp:32
src
service
dbus_property_notifier.h
Generated on Fri Dec 16 2022 11:18:10 for Music Hub by
1.8.17