modem.h
QDBusConnection
QDBusObjectPath
QObject
lomiri/util/DefinesPtrs.h
connectivityqt/sims-list-model.h
modem.cpp
modems-list-model.cpp
modem.h
connectivityqt/sim.h
connectivityqt/sims-list-model.h
QAbstractItemModel
QDBusConnection
QDBusObjectPath
QObject
lomiri/util/DefinesPtrs.h
memory
modem.cpp
modem.h
modems-list-model.cpp
connectivityqt::Modem
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>
    #include<connectivityqt/sims-list-model.h>

    namespaceconnectivityqt
    {

    classQ_DECL_EXPORTModem:publicQObject
    {
    Q_OBJECT

    public:
    LOMIRI_DEFINES_PTRS(Modem);

    Modem(constQDBusObjectPath&path,
    constQDBusConnection&connection,
    SimsListModel::SPtrsims,
    QObject*parent=0);

    virtual~Modem();

    Q_PROPERTY(QDBusObjectPathpathREADpath)
    QDBusObjectPathpath()const;

    Q_PROPERTY(QStringserialREADserial)
    QStringserial()const;

    Q_PROPERTY(intindexREADindexCONSTANT)
    intindex()const;

    Q_PROPERTY(connectivityqt::Sim*simREADsimNOTIFYsimChanged)
    Sim*sim()const;

    publicQ_SLOTS:

    Q_SIGNALS:
    voidsimChanged(Sim*sim);

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

    }