<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.20" xml:lang="en-US">
  <compounddef id="openvpn-connection_8cpp" kind="file" language="C++">
    <compoundname>openvpn-connection.cpp</compoundname>
    <includes refid="openvpn-connection_8h" local="no">connectivityqt/openvpn-connection.h</includes>
    <includes local="no">util/dbus-property-cache.h</includes>
    <includes local="no">dbus-types.h</includes>
    <includes local="no">OpenVpnConnectionInterface.h</includes>
    <includes local="yes">openvpn-connection.moc</includes>
    <incdepgraph>
      <node id="10">
        <label>OpenVpnConnectionInterface.h</label>
      </node>
      <node id="6">
        <label>QObject</label>
      </node>
      <node id="5">
        <label>QDBusObjectPath</label>
      </node>
      <node id="9">
        <label>dbus-types.h</label>
      </node>
      <node id="8">
        <label>util/dbus-property-cache.h</label>
      </node>
      <node id="7">
        <label>unity/util/DefinesPtrs.h</label>
      </node>
      <node id="11">
        <label>openvpn-connection.moc</label>
      </node>
      <node id="4">
        <label>QDBusConnection</label>
      </node>
      <node id="2">
        <label>connectivityqt/openvpn-connection.h</label>
        <link refid="openvpn-connection_8h"/>
        <childnode refid="3" relation="include">
        </childnode>
      </node>
      <node id="1">
        <label>connectivityqt/openvpn-connection.cpp</label>
        <link refid="openvpn-connection_8cpp"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="9" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
        <childnode refid="11" relation="include">
        </childnode>
      </node>
      <node id="3">
        <label>connectivityqt/vpn-connection.h</label>
        <link refid="vpn-connection_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
      </node>
    </incdepgraph>
    <innernamespace refid="namespaceconnectivityqt">connectivityqt</innernamespace>
      <sectiondef kind="define">
      <memberdef kind="define" id="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" prot="public" static="no">
        <name>DEFINE_PROPERTY_GETTER</name>
        <param><defname>name</defname></param>
        <param><defname>strname</defname></param>
        <param><defname>type</defname></param>
        <param><defname>conversion</defname></param>
        <initializer>type OpenvpnConnection::name() const\
{\
    return d-&gt;m_propertyCache-&gt;get(strname).conversion();\
}\</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="connectivityqt/openvpn-connection.cpp" line="28" column="9" bodyfile="connectivityqt/openvpn-connection.cpp" bodystart="28" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="openvpn-connection_8cpp_1ad16744a6e1cdb4fc4370c33997347686" prot="public" static="no">
        <name>DEFINE_PROPERTY_GETTER_ENUM</name>
        <param><defname>name</defname></param>
        <param><defname>strname</defname></param>
        <param><defname>type</defname></param>
        <initializer>OpenvpnConnection::type OpenvpnConnection::name() const\
{\
    return static_cast&lt;type&gt;(d-&gt;m_propertyCache-&gt;get(strname).toInt());\
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="connectivityqt/openvpn-connection.cpp" line="34" column="9" bodyfile="connectivityqt/openvpn-connection.cpp" bodystart="34" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" prot="public" static="no">
        <name>DEFINE_PROPERTY_SETTER</name>
        <param><defname>uppername</defname></param>
        <param><defname>strname</defname></param>
        <param><defname>type</defname></param>
        <initializer>void <ref refid="CMakeLists_8txt_1a96d2c5d8e3a6a2c60b6306c2572035ab" kindref="member">OpenvpnConnection::set</ref>##uppername(type value)\
{\
    d-&gt;m_propertyCache-&gt;<ref refid="CMakeLists_8txt_1a96d2c5d8e3a6a2c60b6306c2572035ab" kindref="member">set</ref>(strname, value);\
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="connectivityqt/openvpn-connection.cpp" line="40" column="9" bodyfile="connectivityqt/openvpn-connection.cpp" bodystart="40" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="openvpn-connection_8cpp_1a0627f2e6642ee05031ceb9882ccb6658" prot="public" static="no">
        <name>DEFINE_PROPERTY_SETTER_ENUM</name>
        <param><defname>uppername</defname></param>
        <param><defname>strname</defname></param>
        <param><defname>type</defname></param>
        <initializer>void <ref refid="CMakeLists_8txt_1a96d2c5d8e3a6a2c60b6306c2572035ab" kindref="member">OpenvpnConnection::set</ref>##uppername(type value)\
{\
    d-&gt;m_propertyCache-&gt;<ref refid="CMakeLists_8txt_1a96d2c5d8e3a6a2c60b6306c2572035ab" kindref="member">set</ref>(strname, static_cast&lt;int&gt;(value));\
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="connectivityqt/openvpn-connection.cpp" line="46" column="9" bodyfile="connectivityqt/openvpn-connection.cpp" bodystart="46" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" prot="public" static="no">
        <name>DEFINE_PROPERTY_UPDATE</name>
        <param><defname>varname</defname></param>
        <param><defname>strname</defname></param>
        <param><defname>conversion</defname></param>
        <initializer>else if (name == strname)\
{\
    Q_EMIT p.varname##Changed(value.conversion());\
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="connectivityqt/openvpn-connection.cpp" line="52" column="9" bodyfile="connectivityqt/openvpn-connection.cpp" bodystart="52" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="openvpn-connection_8cpp_1a1e500976247e0a01d3228bcf69e962f5" prot="public" static="no">
        <name>DEFINE_PROPERTY_UPDATE_ENUM</name>
        <param><defname>varname</defname></param>
        <param><defname>strname</defname></param>
        <param><defname>type</defname></param>
        <initializer>else if (name == strname)\
{\
    Q_EMIT p.varname##Changed(static_cast&lt;type&gt;(value.toInt()));\
}</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="connectivityqt/openvpn-connection.cpp" line="58" column="9" bodyfile="connectivityqt/openvpn-connection.cpp" bodystart="58" bodyend="-1"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>©<sp/>2015<sp/>Canonical<sp/>Ltd.</highlight></codeline>
<codeline lineno="3"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="4"><highlight class="comment"><sp/>*<sp/>This<sp/>program<sp/>is<sp/>free<sp/>software:<sp/>you<sp/>can<sp/>redistribute<sp/>it<sp/>and/or<sp/>modify<sp/>it</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>*<sp/>under<sp/>the<sp/>terms<sp/>of<sp/>the<sp/>GNU<sp/>Lesser<sp/>General<sp/>Public<sp/>License<sp/>version<sp/>3,</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/>as<sp/>published<sp/>by<sp/>the<sp/>Free<sp/>Software<sp/>Foundation.</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*<sp/>This<sp/>program<sp/>is<sp/>distributed<sp/>in<sp/>the<sp/>hope<sp/>that<sp/>it<sp/>will<sp/>be<sp/>useful,</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/>but<sp/>WITHOUT<sp/>ANY<sp/>WARRANTY;<sp/>without<sp/>even<sp/>the<sp/>implied<sp/>warranty<sp/>of</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/>MERCHANTABILITY<sp/>or<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE.<sp/><sp/>See<sp/>the</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/>GNU<sp/>Lesser<sp/>General<sp/>Public<sp/>License<sp/>for<sp/>more<sp/>details.</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/>You<sp/>should<sp/>have<sp/>received<sp/>a<sp/>copy<sp/>of<sp/>the<sp/>GNU<sp/>Lesser<sp/>General<sp/>Public<sp/>License</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/>along<sp/>with<sp/>this<sp/>program.<sp/><sp/>If<sp/>not,<sp/>see<sp/>&lt;http://www.gnu.org/licenses/&gt;.</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*<sp/>Authors:</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Pete<sp/>Woods<sp/>&lt;pete.woods@canonical.com&gt;</highlight></codeline>
<codeline lineno="18"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight></codeline>
<codeline lineno="20"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="openvpn-connection_8h" kindref="compound">connectivityqt/openvpn-connection.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="21"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;util/dbus-property-cache.h&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="22"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;dbus-types.h&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="23"><highlight class="normal"></highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;OpenVpnConnectionInterface.h&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="25"><highlight class="normal"></highlight></codeline>
<codeline lineno="26"><highlight class="normal"></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal">std;</highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight></codeline>
<codeline lineno="28"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DEFINE_PROPERTY_GETTER(name,<sp/>strname,<sp/>type,<sp/>conversion)\</highlight></codeline>
<codeline lineno="29"><highlight class="preprocessor">type<sp/>OpenvpnConnection::name()<sp/>const\</highlight></codeline>
<codeline lineno="30"><highlight class="preprocessor">{\</highlight></codeline>
<codeline lineno="31"><highlight class="preprocessor"><sp/><sp/><sp/><sp/>return<sp/>d-&gt;m_propertyCache-&gt;get(strname).conversion();\</highlight></codeline>
<codeline lineno="32"><highlight class="preprocessor">}\</highlight></codeline>
<codeline lineno="33"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="34"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DEFINE_PROPERTY_GETTER_ENUM(name,<sp/>strname,<sp/>type)\</highlight></codeline>
<codeline lineno="35"><highlight class="preprocessor">OpenvpnConnection::type<sp/>OpenvpnConnection::name()<sp/>const\</highlight></codeline>
<codeline lineno="36"><highlight class="preprocessor">{\</highlight></codeline>
<codeline lineno="37"><highlight class="preprocessor"><sp/><sp/><sp/><sp/>return<sp/>static_cast&lt;type&gt;(d-&gt;m_propertyCache-&gt;get(strname).toInt());\</highlight></codeline>
<codeline lineno="38"><highlight class="preprocessor">}</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DEFINE_PROPERTY_SETTER(uppername,<sp/>strname,<sp/>type)\</highlight></codeline>
<codeline lineno="41"><highlight class="preprocessor">void<sp/>OpenvpnConnection::set##uppername(type<sp/>value)\</highlight></codeline>
<codeline lineno="42"><highlight class="preprocessor">{\</highlight></codeline>
<codeline lineno="43"><highlight class="preprocessor"><sp/><sp/><sp/><sp/>d-&gt;m_propertyCache-&gt;set(strname,<sp/>value);\</highlight></codeline>
<codeline lineno="44"><highlight class="preprocessor">}</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="45"><highlight class="normal"></highlight></codeline>
<codeline lineno="46"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DEFINE_PROPERTY_SETTER_ENUM(uppername,<sp/>strname,<sp/>type)\</highlight></codeline>
<codeline lineno="47"><highlight class="preprocessor">void<sp/>OpenvpnConnection::set##uppername(type<sp/>value)\</highlight></codeline>
<codeline lineno="48"><highlight class="preprocessor">{\</highlight></codeline>
<codeline lineno="49"><highlight class="preprocessor"><sp/><sp/><sp/><sp/>d-&gt;m_propertyCache-&gt;set(strname,<sp/>static_cast&lt;int&gt;(value));\</highlight></codeline>
<codeline lineno="50"><highlight class="preprocessor">}</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="51"><highlight class="normal"></highlight></codeline>
<codeline lineno="52"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DEFINE_PROPERTY_UPDATE(varname,<sp/>strname,<sp/>conversion)\</highlight></codeline>
<codeline lineno="53"><highlight class="preprocessor">else<sp/>if<sp/>(name<sp/>==<sp/>strname)\</highlight></codeline>
<codeline lineno="54"><highlight class="preprocessor">{\</highlight></codeline>
<codeline lineno="55"><highlight class="preprocessor"><sp/><sp/><sp/><sp/>Q_EMIT<sp/>p.varname##Changed(value.conversion());\</highlight></codeline>
<codeline lineno="56"><highlight class="preprocessor">}</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="57"><highlight class="normal"></highlight></codeline>
<codeline lineno="58"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DEFINE_PROPERTY_UPDATE_ENUM(varname,<sp/>strname,<sp/>type)\</highlight></codeline>
<codeline lineno="59"><highlight class="preprocessor">else<sp/>if<sp/>(name<sp/>==<sp/>strname)\</highlight></codeline>
<codeline lineno="60"><highlight class="preprocessor">{\</highlight></codeline>
<codeline lineno="61"><highlight class="preprocessor"><sp/><sp/><sp/><sp/>Q_EMIT<sp/>p.varname##Changed(static_cast&lt;type&gt;(value.toInt()));\</highlight></codeline>
<codeline lineno="62"><highlight class="preprocessor">}</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="63"><highlight class="normal"></highlight></codeline>
<codeline lineno="64"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceconnectivityqt" kindref="compound">connectivityqt</ref></highlight></codeline>
<codeline lineno="65"><highlight class="normal">{</highlight></codeline>
<codeline lineno="66"><highlight class="normal"></highlight></codeline>
<codeline lineno="67"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">OpenvpnConnection::Priv:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/>QObject</highlight></codeline>
<codeline lineno="68"><highlight class="normal">{</highlight></codeline>
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/>Q_OBJECT</highlight></codeline>
<codeline lineno="70"><highlight class="normal"></highlight></codeline>
<codeline lineno="71"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/>Priv(OpenvpnConnection&amp;<sp/>parent)<sp/>:</highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>p(parent)</highlight></codeline>
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="76"><highlight class="normal"></highlight></codeline>
<codeline lineno="77"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/>Q_SLOTS:</highlight></codeline>
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>propertyChanged(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString&amp;<sp/>name,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QVariant&amp;<sp/>value)</highlight></codeline>
<codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(name<sp/>==<sp/></highlight><highlight class="stringliteral">&quot;&quot;</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
<codeline lineno="81"><highlight class="normal"></highlight></codeline>
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Basic<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="83"><highlight class="normal"></highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(ca,<sp/></highlight><highlight class="stringliteral">&quot;ca&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a1e500976247e0a01d3228bcf69e962f5" kindref="member">DEFINE_PROPERTY_UPDATE_ENUM</ref>(connectionType,<sp/></highlight><highlight class="stringliteral">&quot;connectionType&quot;</highlight><highlight class="normal">,<sp/>ConnectionType)</highlight></codeline>
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(certPass,<sp/></highlight><highlight class="stringliteral">&quot;certPass&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(cert,<sp/></highlight><highlight class="stringliteral">&quot;cert&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(key,<sp/></highlight><highlight class="stringliteral">&quot;key&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(localIp,<sp/></highlight><highlight class="stringliteral">&quot;localIp&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(password,<sp/></highlight><highlight class="stringliteral">&quot;password&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(remote,<sp/></highlight><highlight class="stringliteral">&quot;remote&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(remoteIp,<sp/></highlight><highlight class="stringliteral">&quot;remoteIp&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(staticKey,<sp/></highlight><highlight class="stringliteral">&quot;staticKey&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a1e500976247e0a01d3228bcf69e962f5" kindref="member">DEFINE_PROPERTY_UPDATE_ENUM</ref>(staticKeyDirection,<sp/></highlight><highlight class="stringliteral">&quot;staticKeyDirection&quot;</highlight><highlight class="normal">,<sp/>KeyDir)</highlight></codeline>
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(username,<sp/></highlight><highlight class="stringliteral">&quot;username&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="96"><highlight class="normal"></highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Advanced<sp/>general<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(port,<sp/></highlight><highlight class="stringliteral">&quot;port&quot;</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(portSet,<sp/></highlight><highlight class="stringliteral">&quot;portSet&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(renegSeconds,<sp/></highlight><highlight class="stringliteral">&quot;renegSeconds&quot;</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(renegSecondsSet,<sp/></highlight><highlight class="stringliteral">&quot;renegSecondsSet&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(compLzo,<sp/></highlight><highlight class="stringliteral">&quot;compLzo&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(protoTcp,<sp/></highlight><highlight class="stringliteral">&quot;protoTcp&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(dev,<sp/></highlight><highlight class="stringliteral">&quot;dev&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a1e500976247e0a01d3228bcf69e962f5" kindref="member">DEFINE_PROPERTY_UPDATE_ENUM</ref>(devType,<sp/></highlight><highlight class="stringliteral">&quot;devType&quot;</highlight><highlight class="normal">,<sp/>DevType)</highlight></codeline>
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(devTypeSet,<sp/></highlight><highlight class="stringliteral">&quot;devTypeSet&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(tunnelMtu,<sp/></highlight><highlight class="stringliteral">&quot;tunnelMtu&quot;</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="108"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(tunnelMtuSet,<sp/></highlight><highlight class="stringliteral">&quot;tunnelMtuSet&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="109"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(fragmentSize,<sp/></highlight><highlight class="stringliteral">&quot;fragmentSize&quot;</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="110"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(fragmentSizeSet,<sp/></highlight><highlight class="stringliteral">&quot;fragmentSizeSet&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(mssFix,<sp/></highlight><highlight class="stringliteral">&quot;mssFix&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(remoteRandom,<sp/></highlight><highlight class="stringliteral">&quot;remoteRandom&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="113"><highlight class="normal"></highlight></codeline>
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Advanced<sp/>security<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="115"><highlight class="normal"></highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a1e500976247e0a01d3228bcf69e962f5" kindref="member">DEFINE_PROPERTY_UPDATE_ENUM</ref>(cipher,<sp/></highlight><highlight class="stringliteral">&quot;cipher&quot;</highlight><highlight class="normal">,<sp/>Cipher)</highlight></codeline>
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(keysize,<sp/></highlight><highlight class="stringliteral">&quot;keysize&quot;</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(keysizeSet,<sp/></highlight><highlight class="stringliteral">&quot;keysizeSet&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a1e500976247e0a01d3228bcf69e962f5" kindref="member">DEFINE_PROPERTY_UPDATE_ENUM</ref>(auth,<sp/></highlight><highlight class="stringliteral">&quot;auth&quot;</highlight><highlight class="normal">,<sp/>Auth)</highlight></codeline>
<codeline lineno="120"><highlight class="normal"></highlight></codeline>
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Advanced<sp/>TLS<sp/>auth<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="122"><highlight class="normal"></highlight></codeline>
<codeline lineno="123"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(tlsRemote,<sp/></highlight><highlight class="stringliteral">&quot;tlsRemote&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="124"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a1e500976247e0a01d3228bcf69e962f5" kindref="member">DEFINE_PROPERTY_UPDATE_ENUM</ref>(remoteCertTls,<sp/></highlight><highlight class="stringliteral">&quot;remoteCertTls&quot;</highlight><highlight class="normal">,<sp/>TlsType)</highlight></codeline>
<codeline lineno="125"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(remoteCertTlsSet,<sp/></highlight><highlight class="stringliteral">&quot;remoteCertTlsSet&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="126"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(ta,<sp/></highlight><highlight class="stringliteral">&quot;ta&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="127"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a1e500976247e0a01d3228bcf69e962f5" kindref="member">DEFINE_PROPERTY_UPDATE_ENUM</ref>(taDir,<sp/></highlight><highlight class="stringliteral">&quot;taDir&quot;</highlight><highlight class="normal">,<sp/>KeyDir)</highlight></codeline>
<codeline lineno="128"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(taSet,<sp/></highlight><highlight class="stringliteral">&quot;taSet&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="129"><highlight class="normal"></highlight></codeline>
<codeline lineno="130"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Advanced<sp/>proxy<sp/>settings</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="131"><highlight class="normal"></highlight></codeline>
<codeline lineno="132"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a1e500976247e0a01d3228bcf69e962f5" kindref="member">DEFINE_PROPERTY_UPDATE_ENUM</ref>(proxyType,<sp/></highlight><highlight class="stringliteral">&quot;proxyType&quot;</highlight><highlight class="normal">,<sp/>ProxyType)</highlight></codeline>
<codeline lineno="133"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(proxyServer,<sp/></highlight><highlight class="stringliteral">&quot;proxyServer&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="134"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(proxyPort,<sp/></highlight><highlight class="stringliteral">&quot;proxyPort&quot;</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="135"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(proxyRetry,<sp/></highlight><highlight class="stringliteral">&quot;proxyRetry&quot;</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="136"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(proxyUsername,<sp/></highlight><highlight class="stringliteral">&quot;proxyUsername&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="137"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="openvpn-connection_8cpp_1a0e90d93f7aeefccbd4aae97ad6c09620" kindref="member">DEFINE_PROPERTY_UPDATE</ref>(proxyPassword,<sp/></highlight><highlight class="stringliteral">&quot;proxyPassword&quot;</highlight><highlight class="normal">,<sp/>toString)</highlight></codeline>
<codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="139"><highlight class="normal"></highlight></codeline>
<codeline lineno="140"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="141"><highlight class="normal"><sp/><sp/><sp/><sp/>OpenvpnConnection&amp;<sp/>p;</highlight></codeline>
<codeline lineno="142"><highlight class="normal"></highlight></codeline>
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/>unique_ptr&lt;ComUbuntuConnectivity1VpnVpnConnectionOpenVpnInterface&gt;<sp/>m_openvpnInterface;</highlight></codeline>
<codeline lineno="144"><highlight class="normal"></highlight></codeline>
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/>util::DBusPropertyCache::UPtr<sp/>m_propertyCache;</highlight></codeline>
<codeline lineno="146"><highlight class="normal">};</highlight></codeline>
<codeline lineno="147"><highlight class="normal"></highlight></codeline>
<codeline lineno="148"><highlight class="normal">OpenvpnConnection::OpenvpnConnection(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QDBusObjectPath&amp;<sp/>path,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QDBusConnection&amp;<sp/>connection)<sp/>:</highlight></codeline>
<codeline lineno="149"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>VpnConnection(path,<sp/>connection),</highlight></codeline>
<codeline lineno="150"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>d(new<sp/>Priv(*this))</highlight></codeline>
<codeline lineno="151"><highlight class="normal">{</highlight></codeline>
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classconnectivityqt_1_1ModemsListModel_1aead3ce7fecb8e3b0fbf3723fd7d0eaa2" kindref="member">d</ref>-&gt;m_openvpnInterface<sp/>=<sp/>make_unique&lt;</highlight></codeline>
<codeline lineno="153"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ComUbuntuConnectivity1VpnVpnConnectionOpenVpnInterface&gt;(</highlight></codeline>
<codeline lineno="154"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>DBusTypes::DBUS_NAME,<sp/>path.path(),<sp/>connection);</highlight></codeline>
<codeline lineno="155"><highlight class="normal"></highlight></codeline>
<codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classconnectivityqt_1_1ModemsListModel_1aead3ce7fecb8e3b0fbf3723fd7d0eaa2" kindref="member">d</ref>-&gt;m_propertyCache<sp/>=</highlight></codeline>
<codeline lineno="157"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>make_unique&lt;util::DBusPropertyCache&gt;(</highlight></codeline>
<codeline lineno="158"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>DBusTypes::DBUS_NAME,</highlight></codeline>
<codeline lineno="159"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ComUbuntuConnectivity1VpnVpnConnectionOpenVpnInterface::staticInterfaceName(),</highlight></codeline>
<codeline lineno="160"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>path.path(),<sp/>connection);</highlight></codeline>
<codeline lineno="161"><highlight class="normal"></highlight></codeline>
<codeline lineno="162"><highlight class="normal"><sp/><sp/><sp/><sp/>connect(<ref refid="classconnectivityqt_1_1ModemsListModel_1aead3ce7fecb8e3b0fbf3723fd7d0eaa2" kindref="member">d</ref>-&gt;m_propertyCache.get(),</highlight></codeline>
<codeline lineno="163"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&amp;util::DBusPropertyCache::propertyChanged,<sp/><ref refid="classconnectivityqt_1_1ModemsListModel_1aead3ce7fecb8e3b0fbf3723fd7d0eaa2" kindref="member">d</ref>.get(),</highlight></codeline>
<codeline lineno="164"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&amp;Priv::propertyChanged);</highlight></codeline>
<codeline lineno="165"><highlight class="normal">}</highlight></codeline>
<codeline lineno="166"><highlight class="normal"></highlight></codeline>
<codeline lineno="167"><highlight class="normal"><ref refid="classconnectivityqt_1_1OpenvpnConnection_1a6a2c5d8cfaca8019971b001b39817093" kindref="member">OpenvpnConnection::~OpenvpnConnection</ref>()</highlight></codeline>
<codeline lineno="168"><highlight class="normal">{</highlight></codeline>
<codeline lineno="169"><highlight class="normal">}</highlight></codeline>
<codeline lineno="170"><highlight class="normal"></highlight></codeline>
<codeline lineno="171"><highlight class="normal"><ref refid="classconnectivityqt_1_1VpnConnection_1a6e46c1a0991a5e90f3eebe98363df056" kindref="member">VpnConnection::Type</ref><sp/><ref refid="classconnectivityqt_1_1OpenvpnConnection_1a6bd471987028286bc1346333d7eaa85d" kindref="member">OpenvpnConnection::type</ref>()</highlight><highlight class="keyword"><sp/>const</highlight></codeline>
<codeline lineno="172"><highlight class="keyword"></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="173"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>Type::OPENVPN;</highlight></codeline>
<codeline lineno="174"><highlight class="normal">}</highlight></codeline>
<codeline lineno="175"><highlight class="normal"></highlight></codeline>
<codeline lineno="176"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Basic<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="177"><highlight class="normal"></highlight></codeline>
<codeline lineno="178"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(ca,<sp/></highlight><highlight class="stringliteral">&quot;ca&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="179"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(cert,<sp/></highlight><highlight class="stringliteral">&quot;cert&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="180"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(certPass,<sp/></highlight><highlight class="stringliteral">&quot;certPass&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="181"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1ad16744a6e1cdb4fc4370c33997347686" kindref="member">DEFINE_PROPERTY_GETTER_ENUM</ref>(connectionType,<sp/></highlight><highlight class="stringliteral">&quot;connectionType&quot;</highlight><highlight class="normal">,<sp/>ConnectionType)</highlight></codeline>
<codeline lineno="182"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(key,<sp/></highlight><highlight class="stringliteral">&quot;key&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="183"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(localIp,<sp/></highlight><highlight class="stringliteral">&quot;localIp&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="184"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(password,<sp/></highlight><highlight class="stringliteral">&quot;password&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="185"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(remote,<sp/></highlight><highlight class="stringliteral">&quot;remote&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="186"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(remoteIp,<sp/></highlight><highlight class="stringliteral">&quot;remoteIp&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="187"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(staticKey,<sp/></highlight><highlight class="stringliteral">&quot;staticKey&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="188"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1ad16744a6e1cdb4fc4370c33997347686" kindref="member">DEFINE_PROPERTY_GETTER_ENUM</ref>(staticKeyDirection,<sp/></highlight><highlight class="stringliteral">&quot;staticKeyDirection&quot;</highlight><highlight class="normal">,<sp/>KeyDir)</highlight></codeline>
<codeline lineno="189"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(username,<sp/></highlight><highlight class="stringliteral">&quot;username&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="190"><highlight class="normal"></highlight></codeline>
<codeline lineno="191"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Advanced<sp/>general<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="192"><highlight class="normal"></highlight></codeline>
<codeline lineno="193"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(port,<sp/></highlight><highlight class="stringliteral">&quot;port&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="194"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(portSet,<sp/></highlight><highlight class="stringliteral">&quot;portSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="195"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(renegSeconds,<sp/></highlight><highlight class="stringliteral">&quot;renegSeconds&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="196"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(renegSecondsSet,<sp/></highlight><highlight class="stringliteral">&quot;renegSecondsSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="197"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(compLzo,<sp/></highlight><highlight class="stringliteral">&quot;compLzo&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="198"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(protoTcp,<sp/></highlight><highlight class="stringliteral">&quot;protoTcp&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="199"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(dev,<sp/></highlight><highlight class="stringliteral">&quot;dev&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="200"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1ad16744a6e1cdb4fc4370c33997347686" kindref="member">DEFINE_PROPERTY_GETTER_ENUM</ref>(devType,<sp/></highlight><highlight class="stringliteral">&quot;devType&quot;</highlight><highlight class="normal">,<sp/>DevType)</highlight></codeline>
<codeline lineno="201"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(devTypeSet,<sp/></highlight><highlight class="stringliteral">&quot;devTypeSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="202"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(tunnelMtu,<sp/></highlight><highlight class="stringliteral">&quot;tunnelMtu&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="203"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(tunnelMtuSet,<sp/></highlight><highlight class="stringliteral">&quot;tunnelMtuSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="204"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(fragmentSize,<sp/></highlight><highlight class="stringliteral">&quot;fragmentSize&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="205"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(fragmentSizeSet,<sp/></highlight><highlight class="stringliteral">&quot;fragmentSizeSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="206"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(mssFix,<sp/></highlight><highlight class="stringliteral">&quot;mssFix&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="207"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(remoteRandom,<sp/></highlight><highlight class="stringliteral">&quot;remoteRandom&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="208"><highlight class="normal"></highlight></codeline>
<codeline lineno="209"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Advanced<sp/>security<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="210"><highlight class="normal"></highlight></codeline>
<codeline lineno="211"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1ad16744a6e1cdb4fc4370c33997347686" kindref="member">DEFINE_PROPERTY_GETTER_ENUM</ref>(cipher,<sp/></highlight><highlight class="stringliteral">&quot;cipher&quot;</highlight><highlight class="normal">,<sp/>Cipher)</highlight></codeline>
<codeline lineno="212"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(keysize,<sp/></highlight><highlight class="stringliteral">&quot;keysize&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="213"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(keysizeSet,<sp/></highlight><highlight class="stringliteral">&quot;keysizeSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="214"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1ad16744a6e1cdb4fc4370c33997347686" kindref="member">DEFINE_PROPERTY_GETTER_ENUM</ref>(auth,<sp/></highlight><highlight class="stringliteral">&quot;auth&quot;</highlight><highlight class="normal">,<sp/>Auth)</highlight></codeline>
<codeline lineno="215"><highlight class="normal"></highlight></codeline>
<codeline lineno="216"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Advanced<sp/>TLS<sp/>auth<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="217"><highlight class="normal"></highlight></codeline>
<codeline lineno="218"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(tlsRemote,<sp/></highlight><highlight class="stringliteral">&quot;tlsRemote&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="219"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1ad16744a6e1cdb4fc4370c33997347686" kindref="member">DEFINE_PROPERTY_GETTER_ENUM</ref>(remoteCertTls,<sp/></highlight><highlight class="stringliteral">&quot;remoteCertTls&quot;</highlight><highlight class="normal">,<sp/>TlsType)</highlight></codeline>
<codeline lineno="220"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(remoteCertTlsSet,<sp/></highlight><highlight class="stringliteral">&quot;remoteCertTlsSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="221"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(ta,<sp/></highlight><highlight class="stringliteral">&quot;ta&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="222"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1ad16744a6e1cdb4fc4370c33997347686" kindref="member">DEFINE_PROPERTY_GETTER_ENUM</ref>(taDir,<sp/></highlight><highlight class="stringliteral">&quot;taDir&quot;</highlight><highlight class="normal">,<sp/>KeyDir)</highlight></codeline>
<codeline lineno="223"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(taSet,<sp/></highlight><highlight class="stringliteral">&quot;taSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="224"><highlight class="normal"></highlight></codeline>
<codeline lineno="225"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Advanced<sp/>proxy<sp/>settings</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="226"><highlight class="normal"></highlight></codeline>
<codeline lineno="227"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1ad16744a6e1cdb4fc4370c33997347686" kindref="member">DEFINE_PROPERTY_GETTER_ENUM</ref>(proxyType,<sp/></highlight><highlight class="stringliteral">&quot;proxyType&quot;</highlight><highlight class="normal">,<sp/>ProxyType)</highlight></codeline>
<codeline lineno="228"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(proxyServer,<sp/></highlight><highlight class="stringliteral">&quot;proxyServer&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="229"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(proxyPort,<sp/></highlight><highlight class="stringliteral">&quot;proxyPort&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,<sp/>toInt)</highlight></codeline>
<codeline lineno="230"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(proxyRetry,<sp/></highlight><highlight class="stringliteral">&quot;proxyRetry&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">,<sp/>toBool)</highlight></codeline>
<codeline lineno="231"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(proxyUsername,<sp/></highlight><highlight class="stringliteral">&quot;proxyUsername&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="232"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a725cfd83b76fa62333f38908cdbc10ea" kindref="member">DEFINE_PROPERTY_GETTER</ref>(proxyPassword,<sp/></highlight><highlight class="stringliteral">&quot;proxyPassword&quot;</highlight><highlight class="normal">,<sp/>QString,<sp/>toString)</highlight></codeline>
<codeline lineno="233"><highlight class="normal"></highlight></codeline>
<codeline lineno="234"><highlight class="normal"></highlight></codeline>
<codeline lineno="235"><highlight class="normal"></highlight></codeline>
<codeline lineno="236"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Basic<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="237"><highlight class="normal"></highlight></codeline>
<codeline lineno="238"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(Ca,<sp/></highlight><highlight class="stringliteral">&quot;ca&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="239"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(Cert,<sp/></highlight><highlight class="stringliteral">&quot;cert&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="240"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(CertPass,<sp/></highlight><highlight class="stringliteral">&quot;certPass&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="241"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a0627f2e6642ee05031ceb9882ccb6658" kindref="member">DEFINE_PROPERTY_SETTER_ENUM</ref>(ConnectionType,<sp/></highlight><highlight class="stringliteral">&quot;connectionType&quot;</highlight><highlight class="normal">,<sp/>ConnectionType)</highlight></codeline>
<codeline lineno="242"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(Key,<sp/></highlight><highlight class="stringliteral">&quot;key&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="243"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(LocalIp,<sp/></highlight><highlight class="stringliteral">&quot;localIp&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="244"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(Password,<sp/></highlight><highlight class="stringliteral">&quot;password&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="245"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(Remote,<sp/></highlight><highlight class="stringliteral">&quot;remote&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="246"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(RemoteIp,<sp/></highlight><highlight class="stringliteral">&quot;remoteIp&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="247"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(StaticKey,<sp/></highlight><highlight class="stringliteral">&quot;staticKey&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="248"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a0627f2e6642ee05031ceb9882ccb6658" kindref="member">DEFINE_PROPERTY_SETTER_ENUM</ref>(StaticKeyDirection,<sp/></highlight><highlight class="stringliteral">&quot;staticKeyDirection&quot;</highlight><highlight class="normal">,<sp/>KeyDir)</highlight></codeline>
<codeline lineno="249"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(Username,<sp/></highlight><highlight class="stringliteral">&quot;username&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="250"><highlight class="normal"></highlight></codeline>
<codeline lineno="251"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Advanced<sp/>general<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="252"><highlight class="normal"></highlight></codeline>
<codeline lineno="253"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(Port,<sp/></highlight><highlight class="stringliteral">&quot;port&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="254"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(PortSet,<sp/></highlight><highlight class="stringliteral">&quot;portSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="255"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(RenegSeconds,<sp/></highlight><highlight class="stringliteral">&quot;renegSeconds&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="256"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(RenegSecondsSet,<sp/></highlight><highlight class="stringliteral">&quot;renegSecondsSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="257"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(CompLzo,<sp/></highlight><highlight class="stringliteral">&quot;compLzo&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="258"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(ProtoTcp,<sp/></highlight><highlight class="stringliteral">&quot;protoTcp&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="259"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(Dev,<sp/></highlight><highlight class="stringliteral">&quot;dev&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="260"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a0627f2e6642ee05031ceb9882ccb6658" kindref="member">DEFINE_PROPERTY_SETTER_ENUM</ref>(DevType,<sp/></highlight><highlight class="stringliteral">&quot;devType&quot;</highlight><highlight class="normal">,<sp/>DevType)</highlight></codeline>
<codeline lineno="261"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(DevTypeSet,<sp/></highlight><highlight class="stringliteral">&quot;devTypeSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="262"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(TunnelMtu,<sp/></highlight><highlight class="stringliteral">&quot;tunnelMtu&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="263"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(TunnelMtuSet,<sp/></highlight><highlight class="stringliteral">&quot;tunnelMtuSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="264"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(FragmentSize,<sp/></highlight><highlight class="stringliteral">&quot;fragmentSize&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="265"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(FragmentSizeSet,<sp/></highlight><highlight class="stringliteral">&quot;fragmentSizeSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="266"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(MssFix,<sp/></highlight><highlight class="stringliteral">&quot;mssFix&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="267"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(RemoteRandom,<sp/></highlight><highlight class="stringliteral">&quot;remoteRandom&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="268"><highlight class="normal"></highlight></codeline>
<codeline lineno="269"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Advanced<sp/>security<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="270"><highlight class="normal"></highlight></codeline>
<codeline lineno="271"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a0627f2e6642ee05031ceb9882ccb6658" kindref="member">DEFINE_PROPERTY_SETTER_ENUM</ref>(Cipher,<sp/></highlight><highlight class="stringliteral">&quot;cipher&quot;</highlight><highlight class="normal">,<sp/>Cipher)</highlight></codeline>
<codeline lineno="272"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(Keysize,<sp/></highlight><highlight class="stringliteral">&quot;keysize&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="273"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(KeysizeSet,<sp/></highlight><highlight class="stringliteral">&quot;keysizeSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="274"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a0627f2e6642ee05031ceb9882ccb6658" kindref="member">DEFINE_PROPERTY_SETTER_ENUM</ref>(Auth,<sp/></highlight><highlight class="stringliteral">&quot;auth&quot;</highlight><highlight class="normal">,<sp/>Auth)</highlight></codeline>
<codeline lineno="275"><highlight class="normal"></highlight></codeline>
<codeline lineno="276"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Advanced<sp/>TLS<sp/>auth<sp/>properties</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="277"><highlight class="normal"></highlight></codeline>
<codeline lineno="278"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(TlsRemote,<sp/></highlight><highlight class="stringliteral">&quot;tlsRemote&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="279"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a0627f2e6642ee05031ceb9882ccb6658" kindref="member">DEFINE_PROPERTY_SETTER_ENUM</ref>(RemoteCertTls,<sp/></highlight><highlight class="stringliteral">&quot;remoteCertTls&quot;</highlight><highlight class="normal">,<sp/>TlsType)</highlight></codeline>
<codeline lineno="280"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(RemoteCertTlsSet,<sp/></highlight><highlight class="stringliteral">&quot;remoteCertTlsSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="281"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(Ta,<sp/></highlight><highlight class="stringliteral">&quot;ta&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="282"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a0627f2e6642ee05031ceb9882ccb6658" kindref="member">DEFINE_PROPERTY_SETTER_ENUM</ref>(TaDir,<sp/></highlight><highlight class="stringliteral">&quot;taDir&quot;</highlight><highlight class="normal">,<sp/>KeyDir)</highlight></codeline>
<codeline lineno="283"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(TaSet,<sp/></highlight><highlight class="stringliteral">&quot;taSet&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="284"><highlight class="normal"></highlight></codeline>
<codeline lineno="285"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Advanced<sp/>proxy<sp/>settings</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="286"><highlight class="normal"></highlight></codeline>
<codeline lineno="287"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a0627f2e6642ee05031ceb9882ccb6658" kindref="member">DEFINE_PROPERTY_SETTER_ENUM</ref>(ProxyType,<sp/></highlight><highlight class="stringliteral">&quot;proxyType&quot;</highlight><highlight class="normal">,<sp/>ProxyType)</highlight></codeline>
<codeline lineno="288"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(ProxyServer,<sp/></highlight><highlight class="stringliteral">&quot;proxyServer&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="289"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(ProxyPort,<sp/></highlight><highlight class="stringliteral">&quot;proxyPort&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="290"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(ProxyRetry,<sp/></highlight><highlight class="stringliteral">&quot;proxyRetry&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="291"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(ProxyUsername,<sp/></highlight><highlight class="stringliteral">&quot;proxyUsername&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="292"><highlight class="normal"><ref refid="openvpn-connection_8cpp_1a22853100948aa8b5a8bc7323fa26f9c3" kindref="member">DEFINE_PROPERTY_SETTER</ref>(ProxyPassword,<sp/></highlight><highlight class="stringliteral">&quot;proxyPassword&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;)</highlight></codeline>
<codeline lineno="293"><highlight class="normal"></highlight></codeline>
<codeline lineno="294"><highlight class="normal">}</highlight></codeline>
<codeline lineno="295"><highlight class="normal"></highlight></codeline>
<codeline lineno="296"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;openvpn-connection.moc&quot;</highlight><highlight class="normal"></highlight></codeline>
    </programlisting>
    <location file="connectivityqt/openvpn-connection.cpp"/>
  </compounddef>
</doxygen>
