BluezQt

profileadaptor.h
1/*
2 * BluezQt - Asynchronous Bluez wrapper library
3 *
4 * SPDX-FileCopyrightText: 2014 David Rosca <nowrep@gmail.com>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#ifndef BLUEZQT_PROFILEADAPTOR_H
10#define BLUEZQT_PROFILEADAPTOR_H
11
12#include <QDBusAbstractAdaptor>
13
14class QDBusMessage;
15class QDBusObjectPath;
17
18namespace BluezQt
19{
20class Manager;
21class Profile;
22
23class ProfileAdaptor : public QDBusAbstractAdaptor
24{
26 Q_CLASSINFO("D-Bus Interface", "org.bluez.Profile1")
27
28public:
29 explicit ProfileAdaptor(Profile *parent, Manager *manager);
30
31public Q_SLOTS:
32 void NewConnection(const QDBusObjectPath &device, const QDBusUnixFileDescriptor &fd, const QVariantMap &properties, const QDBusMessage &msg);
33 void RequestDisconnection(const QDBusObjectPath &device, const QDBusMessage &msg);
34 Q_NOREPLY void Release();
35
36private:
37 Profile *m_profile;
38 Manager *m_manager;
39};
40
41} // namespace BluezQt
42
43#endif // BLUEZQT_PROFILEADAPTOR_H
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.