diff --git a/src/modem3gpp_p.h b/src/modem3gpp_p.h index a19451d..1643dd8 100644 --- a/src/modem3gpp_p.h +++ b/src/modem3gpp_p.h @@ -1,55 +1,55 @@ /* Copyright 2008 Will Stephenson Copyright 2010 Lamarque Souza Copyright 2013-2015 Jan Grulich This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #ifndef MODEMMANAGER_MODEM3GPP_P_H #define MODEMMANAGER_MODEM3GPP_P_H #include "dbus/modem3gppinterface.h" #include "interface_p.h" #include "modem3gpp.h" namespace ModemManager { class Modem3gppPrivate: public InterfacePrivate { public: explicit Modem3gppPrivate(const QString &path, Modem3gpp *q); OrgFreedesktopModemManager1ModemModem3gppInterface modem3gppIface; QString imei; MMModem3gppRegistrationState registrationState; QString operatorCode; QString operatorName; QFlags enabledFacilityLocks; #if MM_CHECK_VERSION(1, 2, 0) MMModem3gppSubscriptionState subscriptionState; #endif Q_DECLARE_PUBLIC(Modem3gpp) Modem3gpp *q_ptr; private Q_SLOTS: - void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) Q_DECL_OVERRIDE; + void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) override; }; } // namespace ModemManager #endif diff --git a/src/modem3gppussd_p.h b/src/modem3gppussd_p.h index 7cf3099..3a51f2d 100644 --- a/src/modem3gppussd_p.h +++ b/src/modem3gppussd_p.h @@ -1,52 +1,52 @@ /* Copyright 2008 Will Stephenson Copyright 2010 Lamarque Souza Copyright 2013-2015 Jan Grulich This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #ifndef MODEMMANAGERQT_MODEM3GPPUSSD_P_H #define MODEMMANAGERQT_MODEM3GPPUSSD_P_H #include "dbus/ussdinterface.h" #include "interface_p.h" #include "modem3gppussd.h" namespace ModemManager { class Modem3gppUssdPrivate: public InterfacePrivate { Q_OBJECT public: explicit Modem3gppUssdPrivate(const QString &path, Modem3gppUssd *q); OrgFreedesktopModemManager1ModemModem3gppUssdInterface ussdIface; MMModem3gppUssdSessionState state; QString networkNotification; QString networkRequest; Q_DECLARE_PUBLIC(Modem3gppUssd) Modem3gppUssd *q_ptr; private Q_SLOTS: - void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) Q_DECL_OVERRIDE; + void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) override; }; } // namespace ModemManager #endif diff --git a/src/modem_p.h b/src/modem_p.h index 75af2e3..52f0b7b 100644 --- a/src/modem_p.h +++ b/src/modem_p.h @@ -1,84 +1,84 @@ /* Copyright 2008 Will Stephenson Copyright 2010 Lamarque Souza Copyright 2013-2015 Jan Grulich This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #ifndef MODEMMANAGERQT_MODEM_P_H #define MODEMMANAGERQT_MODEM_P_H #include "dbus/modeminterface.h" #include "interface_p.h" #include "bearer.h" #include "modem.h" namespace ModemManager { class ModemPrivate: public InterfacePrivate { Q_OBJECT public: explicit ModemPrivate(const QString &path, Modem *q); OrgFreedesktopModemManager1ModemInterface modemIface; QMap bearers; QString simPath; QList supportedCapabilities; QFlags currentCapabilities; uint maxBearers; uint maxActiveBearers; QString manufacturer; QString model; QString revision; QString deviceIdentifier; QString device; QStringList drivers; QString plugin; QString primaryPort; PortList ports; QString equipmentIdentifier; MMModemLock unlockRequired; UnlockRetriesMap unlockRetries; MMModemState state; MMModemStateFailedReason stateFailedReason; ModemManager::Modem::AccessTechnologies accessTechnologies; SignalQualityPair signalQuality; QStringList ownNumbers; MMModemPowerState powerState; SupportedModesType supportedModes; CurrentModesType currentModes; QList supportedBands; QList currentBands; ModemManager::Modem::IpBearerFamilies supportedIpFamilies; ModemManager::Bearer::Ptr findRegisteredBearer(const QString &path); Q_DECLARE_PUBLIC(Modem) Modem *q_ptr; private Q_SLOTS: void initializeBearers(); - void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) Q_DECL_OVERRIDE; + void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) override; void onStateChanged(int oldState, int newState, uint reason); }; } // namespace ModemManager #endif diff --git a/src/modemcdma_p.h b/src/modemcdma_p.h index d7ae393..df9c370 100644 --- a/src/modemcdma_p.h +++ b/src/modemcdma_p.h @@ -1,56 +1,56 @@ /* Copyright 2008 Will Stephenson Copyright 2010 Lamarque Souza Copyright 2013-2015 Jan Grulich This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #ifndef MODEMMANAGERQT_MODEMCDMA_P_H #define MODEMMANAGERQT_MODEMCDMA_P_H #include "dbus/modemcdmainterface.h" #include "interface_p.h" #include "modemcdma.h" namespace ModemManager { class ModemCdmaPrivate: public InterfacePrivate { public: explicit ModemCdmaPrivate(const QString &path, ModemCdma *q); OrgFreedesktopModemManager1ModemModemCdmaInterface modemCdmaIface; MMModemCdmaActivationState activationState; QString meid; QString esn; uint sid; uint nid; MMModemCdmaRegistrationState cdma1xRegistrationState; MMModemCdmaRegistrationState evdoRegistrationState; Q_DECLARE_PUBLIC(ModemCdma) ModemCdma *q_ptr; private Q_SLOTS: void onActivationStateChanged(uint activation_state, uint activation_error, const QVariantMap &status_changes); - void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) Q_DECL_OVERRIDE; + void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) override; }; } // namespace ModemManager #endif diff --git a/src/modemlocation_p.h b/src/modemlocation_p.h index beb06df..d8220b2 100644 --- a/src/modemlocation_p.h +++ b/src/modemlocation_p.h @@ -1,52 +1,52 @@ /* Copyright 2008 Will Stephenson Copyright 2010 Lamarque Souza Copyright 2013 Jan Grulich This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #ifndef MODEMMANAGERQT_MODEMLOCATION_P_H #define MODEMMANAGERQT_MODEMLOCATION_P_H #include "dbus/locationinterface.h" #include "interface_p.h" #include "modemlocation.h" namespace ModemManager { class ModemLocationPrivate: public InterfacePrivate { public: explicit ModemLocationPrivate(const QString &path, ModemLocation *q); OrgFreedesktopModemManager1ModemLocationInterface modemLocationIface; QFlags capabilities; QFlags enabledCapabilities; bool signalsLocation; LocationInformationMap location; Q_DECLARE_PUBLIC(ModemLocation) ModemLocation *q_ptr; private Q_SLOTS: - void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) Q_DECL_OVERRIDE; + void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) override; }; } // namespace ModemManager #endif diff --git a/src/modemmessaging_p.h b/src/modemmessaging_p.h index 2ba775e..f6c88ee 100644 --- a/src/modemmessaging_p.h +++ b/src/modemmessaging_p.h @@ -1,56 +1,56 @@ /* Copyright 2013 Anant Kamath Copyright 2013 Lukas Tinkl Copyright 2013-2015 Jan Grulich This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #ifndef MODEMMANAGER_MODEMMESSAGING_P_H #define MODEMMANAGER_MODEMMESSAGING_P_H #include "dbus/messaginginterface.h" #include "interface_p.h" #include "modemmessaging.h" #include "sms.h" namespace ModemManager { class ModemMessagingPrivate : public InterfacePrivate { public: explicit ModemMessagingPrivate(const QString &path, ModemMessaging *q); OrgFreedesktopModemManager1ModemMessagingInterface modemMessagingIface; QMap messageList; QList supportedStorages; MMSmsStorage defaultStorage; ModemManager::Sms::Ptr findMessage(const QString &uni); ModemManager::Sms::List messages(); Q_DECLARE_PUBLIC(ModemMessaging) ModemMessaging *q_ptr; private Q_SLOTS: - void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) Q_DECL_OVERRIDE; + void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) override; void onMessageAdded(const QDBusObjectPath &path, bool received); void onMessageDeleted(const QDBusObjectPath &path); }; } // namespace ModemManager #endif diff --git a/src/modemoma_p.h b/src/modemoma_p.h index 5c7ecda..e2c6232 100644 --- a/src/modemoma_p.h +++ b/src/modemoma_p.h @@ -1,52 +1,52 @@ /* Copyright 2014 Lukas Tinkl Copyright 2015 Jan Grulich This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #ifndef MODEMMANAGERQT_MODEMOMA_P_H #define MODEMMANAGERQT_MODEMOMA_P_H #include "dbus/omainterface.h" #include "interface_p.h" #include "modemoma.h" namespace ModemManager { class ModemOmaPrivate: public InterfacePrivate { public: explicit ModemOmaPrivate(const QString &path, ModemOma *q); OrgFreedesktopModemManager1ModemOmaInterface omaIface; QFlags features; OmaSessionTypes pendingNetworkInitiatedSessions; MMOmaSessionType sessionType; MMOmaSessionState sessionState; Q_DECLARE_PUBLIC(ModemOma) ModemOma *q_ptr; private Q_SLOTS: void onSessionStateChanged(int oldState, int newState, uint failedReason); - void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) Q_DECL_OVERRIDE; + void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) override; }; } // namespace ModemManager #endif diff --git a/src/modemsignal_p.h b/src/modemsignal_p.h index db7f798..8bb8a61 100644 --- a/src/modemsignal_p.h +++ b/src/modemsignal_p.h @@ -1,53 +1,53 @@ /* Copyright 2014 Lukas Tinkl Copyright 2015 Jan Grulich This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #ifndef MODEMMANAGERQT_MODEMSIGNAL_P_H #define MODEMMANAGERQT_MODEMSIGNAL_P_H #include "dbus/signalinterface.h" #include "interface_p.h" #include "modemsignal.h" namespace ModemManager { class ModemSignalPrivate: public InterfacePrivate { public: explicit ModemSignalPrivate(const QString &path, ModemSignal *q); OrgFreedesktopModemManager1ModemSignalInterface modemSignalIface; uint rate; QVariantMap cdma; QVariantMap evdo; QVariantMap gsm; QVariantMap umts; QVariantMap lte; Q_DECLARE_PUBLIC(ModemSignal) ModemSignal *q_ptr; private Q_SLOTS: - void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) Q_DECL_OVERRIDE; + void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) override; }; } // namespace ModemManager #endif diff --git a/src/modemtime_p.h b/src/modemtime_p.h index 2ecb97c..45945cc 100644 --- a/src/modemtime_p.h +++ b/src/modemtime_p.h @@ -1,50 +1,50 @@ /* Copyright 2013 Lukas Tinkl Copyright 2013-2015 Jan Grulich This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #ifndef MODEMMANAGER_MODEMTIME_P_H #define MODEMMANAGER_MODEMTIME_P_H #include "dbus/timeinterface.h" #include "interface_p.h" #include "modemtime.h" namespace ModemManager { class ModemTimePrivate: public InterfacePrivate { public: explicit ModemTimePrivate(const QString &path, ModemTime *q); OrgFreedesktopModemManager1ModemTimeInterface modemTimeIface; ModemManager::NetworkTimezone networkTimezone; ModemManager::NetworkTimezone variantMapToTimezone(const QVariantMap &map); Q_DECLARE_PUBLIC(ModemTime) ModemTime *q_ptr; private Q_SLOTS: void onNetworkTimeChanged(const QString &isoDateTime); - void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) Q_DECL_OVERRIDE; + void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps) override; }; } // namespace ModemManager #endif