9#include "obexsession.h"
10#include "obexsession_p.h"
11#include "pendingcall.h"
16ObexSessionPrivate::ObexSessionPrivate(
const QString &path,
const QVariantMap &properties)
19 m_bluezSession =
new BluezSession(Strings::orgBluezObex(), path, DBusConnection::orgBluezObex(),
this);
24void ObexSessionPrivate::init(
const QVariantMap &properties)
26 m_source =
properties.value(QStringLiteral(
"Source")).toString();
27 m_destination =
properties.value(QStringLiteral(
"Destination")).toString();
28 m_channel =
properties.value(QStringLiteral(
"Channel")).toUInt();
29 m_target =
properties.value(QStringLiteral(
"Target")).toString().toUpper();
30 m_root =
properties.value(QStringLiteral(
"Root")).toString();
33ObexSession::ObexSession(
const QString &path,
const QVariantMap &properties)
39ObexSession::~ObexSession() =
default;
43 return d->q.toStrongRef();
58 return d->m_destination;
61quint8 ObexSession::channel()
const
78 return new PendingCall(d->m_bluezSession->GetCapabilities(), PendingCall::ReturnString,
this);
83#include "moc_obexsession.cpp"
84#include "moc_obexsession_p.cpp"
QString path(const QString &relativePath)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:49:48 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.