blob: 3bb7e1bd820f56343b3ed6cecb0ae670921c2d3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#include "profile1context_p.h"
#include <QtCore/qloggingcategory.h>
QT_BEGIN_NAMESPACE
Q_DECLARE_LOGGING_CATEGORY(QT_BT_BLUEZ)
OrgBluezProfile1ContextInterface::OrgBluezProfile1ContextInterface(QObject *parent) : QObject(parent)
{
}
void OrgBluezProfile1ContextInterface::NewConnection(const QDBusObjectPath &/*remotePath*/,
const QDBusUnixFileDescriptor &descriptor,
const QVariantMap &/*properties*/)
{
qCDebug(QT_BT_BLUEZ) << "Profile Context: New Connection";
emit newConnection(descriptor);
setDelayedReply(false);
}
void OrgBluezProfile1ContextInterface::RequestDisconnection(const QDBusObjectPath &/*remotePath*/)
{
qCDebug(QT_BT_BLUEZ) << "Profile Context: Request Disconnection";
setDelayedReply(false);
}
void OrgBluezProfile1ContextInterface::Release()
{
qCDebug(QT_BT_BLUEZ) << "Profile Context: Release";
}
QT_END_NAMESPACE
#include "moc_profile1context_p.cpp"
|