BluezQt
obexmanager.cpp
72 return new PendingCall(DBusConnection::orgBluezObex().asyncCall(msg), PendingCall::ReturnUint32);
80 return new PendingCall(PendingCall::InternalError, QStringLiteral("ObexManager not operational!"));
89 return new PendingCall(d->m_obexAgentManager->RegisterAgent(agent->objectPath()), PendingCall::ReturnVoid, this);
97 return new PendingCall(PendingCall::InternalError, QStringLiteral("ObexManager not operational!"));
102 return new PendingCall(d->m_obexAgentManager->UnregisterAgent(agent->objectPath()), PendingCall::ReturnVoid, this);
108 return new PendingCall(PendingCall::InternalError, QStringLiteral("ObexManager not operational!"));
111 return new PendingCall(d->m_obexClient->CreateSession(destination, args), PendingCall::ReturnObjectPath, this);
117 return new PendingCall(PendingCall::InternalError, QStringLiteral("ObexManager not operational!"));
Init obex manager job.
Bluetooth OBEX agent.
virtual QDBusObjectPath objectPath() const =0
D-Bus object path of the agent.
static PendingCall * startService()
Attempts to start org.bluez.obex service by D-Bus activation.
Definition obexmanager.cpp:63
PendingCall * removeSession(const QDBusObjectPath &session)
Removes an existing OBEX session.
Definition obexmanager.cpp:114
ObexSessionPtr sessionForPath(const QDBusObjectPath &path) const
Returns a session for specified path.
Definition obexmanager.cpp:52
PendingCall * createSession(const QString &destination, const QVariantMap &args)
Creates a new OBEX session.
Definition obexmanager.cpp:105
Pending method call.
QDBusMessage createMethodCall(const QString &service, const QString &path, const QString &interface, const QString &method)
QString path() const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.