ModemManager::ModemDevice Class
class ModemManager::ModemDeviceHeader: | #include <ModemManager::ModemDevice> |
CMake: | find_package(KF6 REQUIRED COMPONENTS ModemManagerQt) target_link_libraries(mytarget PRIVATE KF6::ModemManagerQt) |
Inherits: | QObject |
Public Types
Public Functions
ModemDevice(const QString &path, QObject *parent = nullptr) | |
ModemManager::Bearer::List | bearers() const |
ModemManager::Bearer::Ptr | findBearer(const QString &uni) |
bool | hasInterface(ModemManager::ModemDevice::InterfaceType type) const |
ModemManager::Interface::Ptr | interface(ModemManager::ModemDevice::InterfaceType type) const |
ModemManager::Interface::List | interfaces() const |
bool | isCdmaModem() const |
bool | isGsmModem() const |
ModemManager::ModemMessaging::Ptr | messagingInterface() |
ModemManager::Modem::Ptr | modemInterface() |
ModemManager::Sim::Ptr | sim() const |
QString | uni() const |
Signals
void | bearerAdded(const QString &udi) |
void | bearerRemoved(const QString &udi) |
void | interfaceAdded(ModemManager::ModemDevice::InterfaceType type) |
void | interfaceRemoved(ModemManager::ModemDevice::InterfaceType type) |
void | simAdded(const QString &udi) |
void | simRemoved(const QString &udi) |
Protected Functions
ModemDevice(ModemManager::ModemDevicePrivate &dd, QObject *parent = nullptr) |
Detailed Description
Member Type Documentation
ModemDevice::List
ModemDevice::Ptr
Member Function Documentation
[explicit protected]
ModemDevice::ModemDevice(ModemManager::ModemDevicePrivate &dd, QObject *parent = nullptr)
[explicit]
ModemDevice::ModemDevice(const QString &path, QObject *parent = nullptr)
[signal]
void ModemDevice::bearerAdded(const QString &udi)
[signal]
void ModemDevice::bearerRemoved(const QString &udi)
ModemManager::Bearer::List ModemDevice::bearers() const
ModemManager::Bearer::Ptr ModemDevice::findBearer(const QString &uni)
bool ModemDevice::hasInterface(ModemManager::ModemDevice::InterfaceType type) const
ModemManager::Interface::Ptr ModemDevice::interface(ModemManager::ModemDevice::InterfaceType type) const
[signal]
void ModemDevice::interfaceAdded(ModemManager::ModemDevice::InterfaceType type)
[signal]
void ModemDevice::interfaceRemoved(ModemManager::ModemDevice::InterfaceType type)
ModemManager::Interface::List ModemDevice::interfaces() const
bool ModemDevice::isCdmaModem() const
bool ModemDevice::isGsmModem() const
ModemManager::ModemMessaging::Ptr ModemDevice::messagingInterface()
ModemManager::Modem::Ptr ModemDevice::modemInterface()
ModemManager::Sim::Ptr ModemDevice::sim() const
[signal]
void ModemDevice::simAdded(const QString &udi)
[signal]
void ModemDevice::simRemoved(const QString &udi)
QString ModemDevice::uni() const
Note: Getter function for property uni.