ModemManagerQt
modemoma.cpp
44 connect(&d->omaIface, &OrgFreedesktopModemManager1ModemOmaInterface::SessionStateChanged, d, &ModemOmaPrivate::onSessionStateChanged);
97QDBusPendingReply<void> ModemManager::ModemOma::startClientInitiatedSession(MMOmaSessionType sessionType)
103QDBusPendingReply<void> ModemManager::ModemOma::acceptNetworkInitiatedSession(uint sessionId, bool accept)
127void ModemManager::ModemOmaPrivate::onSessionStateChanged(int oldState, int newState, uint failedReason)
131 Q_EMIT q->sessionStateChanged((MMOmaSessionState)oldState, (MMOmaSessionState)newState, (MMOmaSessionStateFailedReason)failedReason);
133void ModemManager::ModemOmaPrivate::onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps)
140 QVariantMap::const_iterator it = properties.constFind(QLatin1String(MM_MODEM_OMA_PROPERTY_FEATURES));
145 it = properties.constFind(QLatin1String(MM_MODEM_OMA_PROPERTY_PENDINGNETWORKINITIATEDSESSIONS));
QDBusPendingReply< void > setup(Features features)
Configures which OMA device management features should be enabled.
Definition modemoma.cpp:91
QDBusPendingReply< void > acceptNetworkInitiatedSession(uint sessionId, bool accept)
Accepts or rejects a network-initiated device management session.
Definition modemoma.cpp:103
OmaSessionTypes pendingNetworkInitiatedSessions() const
Definition modemoma.cpp:73
MMOmaSessionState sessionState() const
Definition modemoma.cpp:85
QDBusPendingReply< void > startClientInitiatedSession(MMOmaSessionType sessionType)
Starts a client-initiated device management session.
Definition modemoma.cpp:97
QDBusPendingReply< void > cancelSession()
Cancels the current on-going device management session.
Definition modemoma.cpp:109
void setTimeout(int timeout)
Sets the timeout in milliseconds for all async method DBus calls.
Definition modemoma.cpp:115
int timeout() const
Returns the current value of the DBus timeout in milliseconds.
Definition modemoma.cpp:121
QString path(const QString &relativePath)
KGuiItem properties()
bool connect(const QString &service, const QString &path, const QString &interface, const QString &name, QObject *receiver, const char *slot)
QDBusConnection sessionBus()
QDBusConnection systemBus()
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:10 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:15:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.