コード例 #1
0
ModemManager::ModemCdmaInterface::ServingSystemType ModemManager::ModemCdmaInterface::getServingSystem()
{
    Q_D(ModemCdmaInterface);
    QDBusReply<ServingSystemType> servingSystem = d->modemCdmaIface.GetServingSystem();

    if (servingSystem.isValid())
        return servingSystem.value();

    mmDebug() << "Error getting serving system info: " << servingSystem.error().name() << ": " << servingSystem.error().message();
    return ServingSystemType();
}
コード例 #2
0
Solid::Control::ModemCdmaInterface::ServingSystemType Solid::Control::ModemCdmaInterface::getServingSystem() const
{
    Q_D(const ModemCdmaInterface);
    return_SOLID_CALL(Ifaces::ModemCdmaInterface *, d->backendObject(), ServingSystemType(), getServingSystem());
}