sim.h
QDBusConnection
QDBusObjectPath
QObject
lomiri/util/DefinesPtrs.h
sim.cpp
sims-list-model.h
sim.h
QDBusConnection
QDBusObjectPath
QObject
lomiri/util/DefinesPtrs.h
connectivity.cpp
modem.cpp
modem.h
modems-list-model.cpp
modems-list-model.h
sim.cpp
sim.h
sims-list-model.cpp
sims-list-model.h
connectivityqt::Sim
connectivityqt

    /*
    *Copyright©2016CanonicalLtd.
    *
    *Thisprogramisfreesoftware:youcanredistributeitand/ormodifyit
    *underthetermsoftheGNULesserGeneralPublicLicenseversion3,
    *aspublishedbytheFreeSoftwareFoundation.
    *
    *Thisprogramisdistributedinthehopethatitwillbeuseful,
    *butWITHOUTANYWARRANTY;withouteventheimpliedwarrantyof
    *MERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.Seethe
    *GNULesserGeneralPublicLicenseformoredetails.
    *
    *YoushouldhavereceivedacopyoftheGNULesserGeneralPublicLicense
    *alongwiththisprogram.Ifnot,see<http://www.gnu.org/licenses/>.
    *
    *Authors:
    *AnttiKaijanmäki<antti.kaijanmaki@canonical.com>
    */

    #pragmaonce

    #include<QDBusConnection>
    #include<QDBusObjectPath>
    #include<QObject>

    #include<lomiri/util/DefinesPtrs.h>

    namespaceconnectivityqt
    {

    classQ_DECL_EXPORTSim:publicQObject,publicstd::enable_shared_from_this<Sim>
    {
    Q_OBJECT

    public:
    LOMIRI_DEFINES_PTRS(Sim);

    Sim(constQDBusObjectPath&path,constQDBusConnection&connection,QObject*parent=0);

    virtual~Sim();

    Q_PROPERTY(QDBusObjectPathpathREADpath)
    QDBusObjectPathpath()const;

    Q_PROPERTY(QStringIccidREADiccidCONSTANT)
    QStringiccid()const;

    Q_PROPERTY(QStringImsiREADimsiNOTIFYimsiChanged)
    QStringimsi()const;

    Q_PROPERTY(QStringPrimaryPhoneNumberREADprimaryPhoneNumberNOTIFYprimaryPhoneNumberChanged)
    QStringprimaryPhoneNumber()const;

    Q_PROPERTY(boolLockedREADlockedNOTIFYlockedChanged)
    boollocked()const;

    Q_PROPERTY(boolPresentREADpresentNOTIFYpresentChanged)
    boolpresent()const;

    Q_PROPERTY(QStringMccREADmccNOTIFYmccChanged)
    QStringmcc()const;

    Q_PROPERTY(QStringMncREADmncNOTIFYmncChanged)
    QStringmnc()const;

    Q_PROPERTY(QList<QString>PreferredLanguagesREADpreferredLanguagesNOTIFYpreferredLanguagesChanged)
    QList<QString>preferredLanguages()const;

    Q_PROPERTY(boolDataRoamingEnabledREADdataRoamingEnabledWRITEsetDataRoamingEnabledNOTIFYdataRoamingEnabledChanged)
    booldataRoamingEnabled()const;
    voidsetDataRoamingEnabled(boolvalue);

    publicQ_SLOTS:

    voidunlock();

    Q_SIGNALS:
    voidlockedChanged(boolvalue);
    voidpresentChanged(boolvalue);
    voiddataRoamingEnabledChanged(boolvalue);
    voidimsiChanged(constQString&value);
    voidprimaryPhoneNumberChanged(constQString&value);
    voidmccChanged(constQString&value);
    voidmncChanged(constQString&value);
    voidpreferredLanguagesChanged();

    protected:
    classPriv;
    std::shared_ptr<Priv>d;
    };

    }

    Q_DECLARE_METATYPE(connectivityqt::Sim*)