Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
profile1context.cpp
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
5
6#include <QtCore/qloggingcategory.h>
7
9
10Q_DECLARE_LOGGING_CATEGORY(QT_BT_BLUEZ)
11
12OrgBluezProfile1ContextInterface::OrgBluezProfile1ContextInterface(QObject *parent) : QObject(parent)
13{
14}
15
16void OrgBluezProfile1ContextInterface::NewConnection(const QDBusObjectPath &/*remotePath*/,
17 const QDBusUnixFileDescriptor &descriptor,
18 const QVariantMap &/*properties*/)
19{
20 qCDebug(QT_BT_BLUEZ) << "Profile Context: New Connection";
21 emit newConnection(descriptor);
22 setDelayedReply(false);
23}
24
25void OrgBluezProfile1ContextInterface::RequestDisconnection(const QDBusObjectPath &/*remotePath*/)
26{
27 qCDebug(QT_BT_BLUEZ) << "Profile Context: Request Disconnection";
28 setDelayedReply(false);
29}
30
31void OrgBluezProfile1ContextInterface::Release()
32{
33 qCDebug(QT_BT_BLUEZ) << "Profile Context: Release";
34}
35
36QT_END_NAMESPACE
37
38#include "moc_profile1context_p.cpp"