pptp-connection.h
connectivityqt/vpn-connection.h
connectivityqt/pptp-connection.cpp
connectivityqt/vpn-connections-list-model.cpp
QObject
QDBusObjectPath
connectivityqt/vpn-connection.h
unity/util/DefinesPtrs.h
QDBusConnection
connectivityqt/pptp-connection.h
connectivityqt/vpn-connections-list-model.cpp
connectivityqt/pptp-connection.cpp
connectivityqt/pptp-connection.h
connectivityqt::PptpConnection
connectivityqt

    /*
    *Copyright©2015CanonicalLtd.
    *
    *Thisprogramisfreesoftware:youcanredistributeitand/ormodifyit
    *underthetermsoftheGNULesserGeneralPublicLicenseversion3,
    *aspublishedbytheFreeSoftwareFoundation.
    *
    *Thisprogramisdistributedinthehopethatitwillbeuseful,
    *butWITHOUTANYWARRANTY;withouteventheimpliedwarrantyof
    *MERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.Seethe
    *GNULesserGeneralPublicLicenseformoredetails.
    *
    *YoushouldhavereceivedacopyoftheGNULesserGeneralPublicLicense
    *alongwiththisprogram.Ifnot,see<http://www.gnu.org/licenses/>.
    *
    *Authors:
    *PeteWoods<pete.woods@canonical.com>
    */

    #pragmaonce

    #include<connectivityqt/vpn-connection.h>

    namespaceconnectivityqt
    {

    classQ_DECL_EXPORTPptpConnection:publicVpnConnection
    {
    Q_OBJECT

    public:
    UNITY_DEFINES_PTRS(PptpConnection);

    Q_ENUMS(MppeType)
    enumclassMppeType
    {
    MPPE_ALL,
    MPPE_128,
    MPPE_40
    };

    PptpConnection(constQDBusObjectPath&path,constQDBusConnection&connection);

    virtual~PptpConnection();

    Typetype()constoverride;

    //Basicproperties

    Q_PROPERTY(QStringgatewayREADgatewayWRITEsetGatewayNOTIFYgatewayChanged)
    QStringgateway()const;

    Q_PROPERTY(QStringuserREADuserWRITEsetUserNOTIFYuserChanged)
    QStringuser()const;

    Q_PROPERTY(QStringpasswordREADpasswordWRITEsetPasswordNOTIFYpasswordChanged)
    QStringpassword()const;

    Q_PROPERTY(QStringdomainREADdomainWRITEsetDomainNOTIFYdomainChanged)
    QStringdomain()const;

    //Advancedproperties

    Q_PROPERTY(boolallowPapREADallowPapWRITEsetAllowPapNOTIFYallowPapChanged)
    boolallowPap()const;

    Q_PROPERTY(boolallowChapREADallowChapWRITEsetAllowChapNOTIFYallowChapChanged)
    boolallowChap()const;

    Q_PROPERTY(boolallowMschapREADallowMschapWRITEsetAllowMschapNOTIFYallowMschapChanged)
    boolallowMschap()const;

    Q_PROPERTY(boolallowMschapv2READallowMschapv2WRITEsetAllowMschapv2NOTIFYallowMschapv2Changed)
    boolallowMschapv2()const;

    Q_PROPERTY(boolallowEapREADallowEapWRITEsetAllowEapNOTIFYallowEapChanged)
    boolallowEap()const;

    Q_PROPERTY(boolrequireMppeREADrequireMppeWRITEsetRequireMppeNOTIFYrequireMppeChanged)
    boolrequireMppe()const;

    Q_PROPERTY(MppeTypemppeTypeREADmppeTypeWRITEsetMppeTypeNOTIFYmppeTypeChanged)
    MppeTypemppeType()const;

    Q_PROPERTY(boolmppeStatefulREADmppeStatefulWRITEsetMppeStatefulNOTIFYmppeStatefulChanged)
    boolmppeStateful()const;

    Q_PROPERTY(boolbsdCompressionREADbsdCompressionWRITEsetBsdCompressionNOTIFYbsdCompressionChanged)
    boolbsdCompression()const;

    Q_PROPERTY(booldeflateCompressionREADdeflateCompressionWRITEsetDeflateCompressionNOTIFYdeflateCompressionChanged)
    booldeflateCompression()const;

    Q_PROPERTY(booltcpHeaderCompressionREADtcpHeaderCompressionWRITEsetTcpHeaderCompressionNOTIFYtcpHeaderCompressionChanged)
    booltcpHeaderCompression()const;

    Q_PROPERTY(boolsendPppEchoPacketsREADsendPppEchoPacketsWRITEsetSendPppEchoPacketsNOTIFYsendPppEchoPacketsChanged)
    boolsendPppEchoPackets()const;

    publicQ_SLOTS:
    //Basicproperties

    voidsetGateway(constQString&value);

    voidsetUser(constQString&value);

    voidsetPassword(constQString&value);

    voidsetDomain(constQString&value);

    //Advancedproperties

    voidsetAllowPap(boolvalue);

    voidsetAllowChap(boolvalue);

    voidsetAllowMschap(boolvalue);

    voidsetAllowMschapv2(boolvalue);

    voidsetAllowEap(boolvalue);

    voidsetRequireMppe(boolvalue);

    voidsetMppeType(MppeTypevalue);

    voidsetMppeStateful(boolvalue);

    voidsetBsdCompression(boolvalue);

    voidsetDeflateCompression(boolvalue);

    voidsetTcpHeaderCompression(boolvalue);

    voidsetSendPppEchoPackets(boolvalue);

    Q_SIGNALS:
    //Basicproperties

    voidgatewayChanged(constQString&value);

    voiduserChanged(constQString&value);

    voidpasswordChanged(constQString&value);

    voiddomainChanged(constQString&value);

    //Advancedproperties

    voidallowPapChanged(boolvalue);

    voidallowChapChanged(boolvalue);

    voidallowMschapChanged(boolvalue);

    voidallowMschapv2Changed(boolvalue);

    voidallowEapChanged(boolvalue);

    voidrequireMppeChanged(boolvalue);

    voidmppeTypeChanged(MppeTypevalue);

    voidmppeStatefulChanged(boolvalue);

    voidbsdCompressionChanged(boolvalue);

    voiddeflateCompressionChanged(boolvalue);

    voidtcpHeaderCompressionChanged(boolvalue);

    voidsendPppEchoPacketsChanged(boolvalue);

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

    }