Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4#include "profile1context_p.h"
5
6#include <QtCore/qloggingcategory.h>
7
9
11
12OrgBluezProfile1ContextInterface::OrgBluezProfile1ContextInterface(QObject *parent) : QObject(parent)
13{
14}
15
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
26{
27 qCDebug(QT_BT_BLUEZ) << "Profile Context: Request Disconnection";
28 setDelayedReply(false);
29}
30
32{
33 qCDebug(QT_BT_BLUEZ) << "Profile Context: Release";
34}
35
37
38#include "moc_profile1context_p.cpp"
void NewConnection(const QDBusObjectPath &, const QDBusUnixFileDescriptor &, const QVariantMap &)
void newConnection(const QDBusUnixFileDescriptor &fd)
void RequestDisconnection(const QDBusObjectPath &)
void setDelayedReply(bool enable) const
Sets whether this call will have a delayed reply or not.
\inmodule QtDBus
\inmodule QtCore
Definition qobject.h:103
Combined button and popup list for selecting options.
#define qCDebug(category,...)
#define Q_DECLARE_LOGGING_CATEGORY(name)
#define emit