<?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="vpn-connections-list-model_8h" kind="file" language="C++">
    <compoundname>vpn-connections-list-model.h</compoundname>
    <includes refid="vpn-connection_8h" local="no">connectivityqt/vpn-connection.h</includes>
    <includes local="no">QAbstractItemModel</includes>
    <includes local="no">unity/util/DefinesPtrs.h</includes>
    <includedby refid="connectivity_8cpp" local="no">connectivityqt/connectivity.cpp</includedby>
    <includedby refid="connectivity_8h" local="no">connectivityqt/connectivity.h</includedby>
    <includedby refid="vpn-connections-list-model_8cpp" local="no">connectivityqt/vpn-connections-list-model.cpp</includedby>
    <incdepgraph>
      <node id="5">
        <label>QObject</label>
      </node>
      <node id="1">
        <label>connectivityqt/vpn-connections-list-model.h</label>
        <link refid="vpn-connections-list-model_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
      </node>
      <node id="4">
        <label>QDBusObjectPath</label>
      </node>
      <node id="6">
        <label>unity/util/DefinesPtrs.h</label>
      </node>
      <node id="3">
        <label>QDBusConnection</label>
      </node>
      <node id="7">
        <label>QAbstractItemModel</label>
      </node>
      <node id="2">
        <label>connectivityqt/vpn-connection.h</label>
        <link refid="vpn-connection_8h"/>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="5">
        <label>connectivityqt/vpn-connections-list-model.cpp</label>
        <link refid="vpn-connections-list-model_8cpp"/>
      </node>
      <node id="1">
        <label>connectivityqt/vpn-connections-list-model.h</label>
        <link refid="vpn-connections-list-model_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="5" relation="include">
        </childnode>
      </node>
      <node id="4">
        <label>ubuntu/connectivity/networking-status.cpp</label>
        <link refid="networking-status_8cpp"/>
      </node>
      <node id="3">
        <label>connectivityqt/connectivity.h</label>
        <link refid="connectivity_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="2">
        <label>connectivityqt/connectivity.cpp</label>
        <link refid="connectivity_8cpp"/>
      </node>
    </invincdepgraph>
    <innerclass refid="classconnectivityqt_1_1VpnConnectionsListModel" prot="public">connectivityqt::VpnConnectionsListModel</innerclass>
    <innernamespace refid="namespaceconnectivityqt">connectivityqt</innernamespace>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>©<sp/>2014<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">#pragma<sp/>once</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="21"><highlight class="normal"></highlight></codeline>
<codeline lineno="22"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="vpn-connection_8h" kindref="compound">connectivityqt/vpn-connection.h</ref>&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;QAbstractItemModel&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="25"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;unity/util/DefinesPtrs.h&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="26"><highlight class="normal"></highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceconnectivityqt" kindref="compound">connectivityqt</ref></highlight></codeline>
<codeline lineno="28"><highlight class="normal">{</highlight></codeline>
<codeline lineno="29"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">internal</highlight></codeline>
<codeline lineno="30"><highlight class="normal">{</highlight></codeline>
<codeline lineno="31"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">VpnConnectionsListModelParameters;</highlight></codeline>
<codeline lineno="32"><highlight class="normal">}</highlight></codeline>
<codeline lineno="33"><highlight class="normal"></highlight></codeline>
<codeline lineno="34" refid="classconnectivityqt_1_1VpnConnectionsListModel" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">Q_DECL_EXPORT<sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel" kindref="compound">VpnConnectionsListModel</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/>QAbstractListModel</highlight></codeline>
<codeline lineno="35"><highlight class="normal">{</highlight></codeline>
<codeline lineno="36"><highlight class="normal"><sp/><sp/><sp/><sp/>Q_OBJECT</highlight></codeline>
<codeline lineno="37"><highlight class="normal"></highlight></codeline>
<codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><sp/>Q_ENUMS(<ref refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142" kindref="member">Roles</ref>)</highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="41" refid="classconnectivityqt_1_1VpnConnectionsListModel_1a54c86681ca63116feb94893cbe9f206c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel_1a54c86681ca63116feb94893cbe9f206c" kindref="member">UNITY_DEFINES_PTRS</ref>(<ref refid="classconnectivityqt_1_1VpnConnectionsListModel" kindref="compound">VpnConnectionsListModel</ref>);</highlight></codeline>
<codeline lineno="42"><highlight class="normal"></highlight></codeline>
<codeline lineno="43" refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142" kindref="member">Roles</ref></highlight></codeline>
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="45" refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142adcd503be97c5c9389de85c7499716e99" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142adcd503be97c5c9389de85c7499716e99" kindref="member">RoleId</ref>,</highlight></codeline>
<codeline lineno="46" refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142ab5e376a54899f983037d8e4214d34d03" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142ab5e376a54899f983037d8e4214d34d03" kindref="member">RoleActive</ref>,</highlight></codeline>
<codeline lineno="47" refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142a25fa858b6f54cbb3f1852557ba0dafb6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142a25fa858b6f54cbb3f1852557ba0dafb6" kindref="member">RoleActivatable</ref>,</highlight></codeline>
<codeline lineno="48" refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142a6ea10b9e5c5d9e38d0eb7485ede8e10a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142a6ea10b9e5c5d9e38d0eb7485ede8e10a" kindref="member">RoleType</ref>,</highlight></codeline>
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>RoleConnection</highlight></codeline>
<codeline lineno="50" refid="classconnectivityqt_1_1VpnConnectionsListModel_1a4c69f7139632f15ab4262aa945e5c142ab58e03565eadb9cdde4f8bf076743714" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="51"><highlight class="normal"></highlight></codeline>
<codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel" kindref="compound">VpnConnectionsListModel</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>internal::VpnConnectionsListModelParameters&amp;<sp/>parameters);</highlight></codeline>
<codeline lineno="53"><highlight class="normal"></highlight></codeline>
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/>~<ref refid="classconnectivityqt_1_1VpnConnectionsListModel" kindref="compound">VpnConnectionsListModel</ref>();</highlight></codeline>
<codeline lineno="55"><highlight class="normal"></highlight></codeline>
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>columnCount(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QModelIndex<sp/>&amp;parent)<sp/></highlight><highlight class="keyword">const<sp/>override</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="57"><highlight class="normal"></highlight></codeline>
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>rowCount(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QModelIndex<sp/>&amp;parent)<sp/></highlight><highlight class="keyword">const<sp/>override</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="59"><highlight class="normal"></highlight></codeline>
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/>QVariant<sp/>data(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QModelIndex<sp/>&amp;index,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>role)<sp/></highlight><highlight class="keyword">const<sp/>override</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="61"><highlight class="normal"></highlight></codeline>
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>setData(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QModelIndex<sp/>&amp;index,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QVariant<sp/>&amp;value,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>role)<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="63"><highlight class="normal"></highlight></codeline>
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/>Qt::ItemFlags<sp/>flags(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QModelIndex<sp/>&amp;<sp/>index)<sp/></highlight><highlight class="keyword">const<sp/>override</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="65"><highlight class="normal"></highlight></codeline>
<codeline lineno="66" refid="classconnectivityqt_1_1VpnConnectionsListModel_1a088bbf3286a4b5f2cc69a97c6e2799d9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>QHash&lt;int,<sp/>QByteArray&gt;<sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel_1a088bbf3286a4b5f2cc69a97c6e2799d9" kindref="member">roleNames</ref>()</highlight><highlight class="keyword"><sp/>const<sp/>override</highlight></codeline>
<codeline lineno="67"><highlight class="keyword"><sp/><sp/><sp/><sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>QHash&lt;int,<sp/>QByteArray&gt;<sp/>roles;</highlight></codeline>
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>roles[RoleId]<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;id&quot;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>roles[RoleActive]<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;active&quot;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>roles[RoleActivatable]<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;activatable&quot;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>roles[RoleType]<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;type&quot;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>roles[RoleConnection]<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;connection&quot;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>roles;</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/>add(<ref refid="classconnectivityqt_1_1VpnConnection_1a6e46c1a0991a5e90f3eebe98363df056" kindref="member">VpnConnection::Type</ref><sp/>type);</highlight></codeline>
<codeline lineno="79"><highlight class="normal"></highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>remove(<ref refid="classconnectivityqt_1_1VpnConnection" kindref="compound">VpnConnection</ref>*<sp/>connection);</highlight></codeline>
<codeline lineno="81"><highlight class="normal"></highlight></codeline>
<codeline lineno="82"><highlight class="normal">Q_SIGNALS:</highlight></codeline>
<codeline lineno="83" refid="classconnectivityqt_1_1VpnConnectionsListModel_1aefe64370679157f84da8f6d5ddedee24" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel_1aefe64370679157f84da8f6d5ddedee24" kindref="member">addFinished</ref>(<ref refid="classconnectivityqt_1_1VpnConnection" kindref="compound">VpnConnection</ref><sp/>*<sp/>connection);</highlight></codeline>
<codeline lineno="84"><highlight class="normal"></highlight></codeline>
<codeline lineno="85"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">Priv;</highlight></codeline>
<codeline lineno="87" refid="classconnectivityqt_1_1VpnConnectionsListModel_1a745f2d96ee02c74c92c086965796a6cd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::shared_ptr&lt;Priv&gt;<sp/><ref refid="classconnectivityqt_1_1VpnConnectionsListModel_1a745f2d96ee02c74c92c086965796a6cd" kindref="member">d</ref>;</highlight></codeline>
<codeline lineno="88"><highlight class="normal">};</highlight></codeline>
<codeline lineno="89"><highlight class="normal"></highlight></codeline>
<codeline lineno="90"><highlight class="normal">}</highlight></codeline>
<codeline lineno="91"><highlight class="normal"></highlight></codeline>
<codeline lineno="92"><highlight class="normal">Q_DECLARE_METATYPE(<ref refid="classconnectivityqt_1_1VpnConnection" kindref="compound">connectivityqt::VpnConnection</ref>*)</highlight></codeline>
    </programlisting>
    <location file="connectivityqt/vpn-connections-list-model.h"/>
  </compounddef>
</doxygen>
