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
8
QT_BEGIN_NAMESPACE
9
10
Q_DECLARE_LOGGING_CATEGORY
(QT_BT_BLUEZ)
11
12
OrgBluezProfile1ContextInterface::OrgBluezProfile1ContextInterface(
QObject
*parent) :
QObject
(parent)
13
{
14
}
15
16
void
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
25
void
OrgBluezProfile1ContextInterface::RequestDisconnection
(
const
QDBusObjectPath
&
/*remotePath*/
)
26
{
27
qCDebug
(QT_BT_BLUEZ) <<
"Profile Context: Request Disconnection"
;
28
setDelayedReply
(
false
);
29
}
30
31
void
OrgBluezProfile1ContextInterface::Release
()
32
{
33
qCDebug
(QT_BT_BLUEZ) <<
"Profile Context: Release"
;
34
}
35
36
QT_END_NAMESPACE
37
38
#include "moc_profile1context_p.cpp"
OrgBluezProfile1ContextInterface::NewConnection
void NewConnection(const QDBusObjectPath &, const QDBusUnixFileDescriptor &, const QVariantMap &)
Definition
profile1context.cpp:16
OrgBluezProfile1ContextInterface::Release
Q_NOREPLY void Release()
Definition
profile1context.cpp:31
OrgBluezProfile1ContextInterface::newConnection
void newConnection(const QDBusUnixFileDescriptor &fd)
OrgBluezProfile1ContextInterface::RequestDisconnection
void RequestDisconnection(const QDBusObjectPath &)
Definition
profile1context.cpp:25
QDBusContext::setDelayedReply
void setDelayedReply(bool enable) const
Sets whether this call will have a delayed reply or not.
Definition
qdbuscontext.cpp:136
QDBusObjectPath
\inmodule QtDBus
Definition
qdbusextratypes.h:19
QDBusUnixFileDescriptor
\inmodule QtDBus
Definition
qdbusunixfiledescriptor.h:21
QMap< QString, QVariant >
QObject
\inmodule QtCore
Definition
qobject.h:103
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
profile1context_p.h
qCDebug
#define qCDebug(category,...)
Definition
qloggingcategory.h:123
Q_DECLARE_LOGGING_CATEGORY
#define Q_DECLARE_LOGGING_CATEGORY(name)
Definition
qloggingcategory.h:106
emit
#define emit
Definition
qtmetamacros.h:49
qtconnectivity
src
bluetooth
bluez
profile1context.cpp
Generated by
1.10.0