arcanis.me/devs/netctl-gui/netctlinteract_8h_source.html
arcan1s c054b4b712 add support of dev docs to projects
add dev docs to some projects
2014-07-30 19:32:13 +04:00

213 lines
29 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>netctlgui: netctlinteract.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="icon.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">netctlgui
&#160;<span id="projectnumber">1.2.0</span>
</div>
<div id="projectbrief">Qt library which interacts with netctl</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_08d237fc27d4ecd563f71c5d52f2fecc.html">sources</a></li><li class="navelem"><a class="el" href="dir_65c9e01252fc41f6e848ebca2af7e47b.html">netctlgui</a></li><li class="navelem"><a class="el" href="dir_e335b5ab077db6a8c30879452b1fc605.html">include</a></li><li class="navelem"><a class="el" href="dir_fe59a2a0e1774c507781b7be7e3787b8.html">netctlgui</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">netctlinteract.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="netctlinteract_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/***************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * This file is part of netctl-gui *</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * netctl-gui is free software: you can redistribute it and/or *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * modify it under the terms of the GNU General Public License as *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * published by the Free Software Foundation, either version 3 of the *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * License, or (at your option) any later version. *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * netctl-gui is distributed in the hope that it will be useful, *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * GNU General Public License for more details. *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License *</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * along with netctl-gui. If not, see http://www.gnu.org/licenses/ *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> ***************************************************************************/</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#ifndef NETCTLINTERACT_H</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#define NETCTLINTERACT_H</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;QDir&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;QMap&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">class </span><a class="code" href="class_netctl_profile.html">NetctlProfile</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_netctl.html"> 39</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_netctl.html">Netctl</a> : <span class="keyword">public</span> QObject</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;{</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">explicit</span> <a class="code" href="class_netctl.html#a63fe336271242547aa097e0ac8cb81a9">Netctl</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> debugCmd = <span class="keyword">false</span>,</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">const</span> QMap&lt;QString, QString&gt; settings = QMap&lt;QString, QString&gt;());</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="code" href="class_netctl.html#ad148c9999a03a65f67a9e097e3b56ec0">~Netctl</a>();</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="comment">// general information</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="comment"></span> QStringList <a class="code" href="class_netctl.html#ad17ead46c74cf7271078bcaa03f643f2">getInterfaceList</a>();</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; QList&lt;QStringList&gt; <a class="code" href="class_netctl.html#a977402c158d3b8af68a8fd726b3f2e6a">getProfileList</a>();</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; QList&lt;QStringList&gt; <a class="code" href="class_netctl.html#a0b96fb759fcfe60564620a2dae0a4e7e">getProfileListFromNetctlAuto</a>();</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; QString <a class="code" href="class_netctl.html#a8d22999dfc83293aed4f272ce9bcac03">getProfileDescription</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; QStringList <a class="code" href="class_netctl.html#a57a2b38db1f006c73dcf783705a086be">getProfileDescriptions</a>(<span class="keyword">const</span> QStringList profileList);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; QString <a class="code" href="class_netctl.html#ae328363bbcbda4d951a09f31dc5fe570">getProfileStatus</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; QStringList <a class="code" href="class_netctl.html#a87cfaee8b2d2813d02c2d0f516cabbad">getProfileStatuses</a>(<span class="keyword">const</span> QStringList profileList);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#a788c98b484dd49b774e5e4fd3ee98326">isProfileActive</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#accd1fca26390a148adb1c3aee2fecbf4">isProfileEnabled</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#a9eeafe65785ce097634cc3d6dfc8d9ac">autoIsProfileActive</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#aeb3ccd5ffc93684ef45b293ed30e2e71">autoIsProfileEnabled</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#ad86fc14aa2a20d4f1d6ceaa29d1d582a">isNetctlAutoEnabled</a>();</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#a38fe28973167cf9853d97947a0e432ce">isNetctlAutoRunning</a>();</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="keyword">public</span> slots:</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="comment">// functions</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="comment">// netctl</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#a237675bbe56f98df70fa787d9b7a8fca">enableProfile</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#aebbaf936349a229239b59eafcb17e4f7">restartProfile</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#adc6a547515b76b9c7b26170da3a2f39d">startProfile</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="comment">// netctl-auto</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;<span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#aa980954693549f3b5531a43cda23adec">autoDisableAllProfiles</a>();</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#a9e0799dcbb0dec95ca33eb45fbda96b1">autoEnableProfile</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#a9662e47827403c08d4f67b179d437f14">autoEnableAllProfiles</a>();</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#ad6d259774703f3a78c7d0ce585f3a4f9">autoStartProfile</a>(<span class="keyword">const</span> QString profile);</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="comment">// netctl-auto service</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;<span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#a55690068a9b0afb425fc659b3a558f5f">autoEnableService</a>();</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#a1f9f5131cce695fe0a26adbc7be68fa3">autoRestartService</a>();</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_netctl.html#a98c3237c7e06c72dc7b9edb4963392f5">autoStartService</a>();</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <a class="code" href="class_netctl_profile.html">NetctlProfile</a> *netctlProfile;</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keywordtype">bool</span> debug;</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; QDir *ifaceDirectory;</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; QString mainInterface;</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; QString netctlCommand;</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; QString netctlAutoCommand;</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; QString netctlAutoService;</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; QDir *profileDirectory;</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; QString sudoCommand;</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; QString systemctlCommand;</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <span class="comment">// functions</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;<span class="comment"></span> QString getNetctlOutput(<span class="keyword">const</span> <span class="keywordtype">bool</span> sudo, <span class="keyword">const</span> QString commandLine, <span class="keyword">const</span> QString profile = 0);</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="keywordtype">bool</span> netctlCall(<span class="keyword">const</span> <span class="keywordtype">bool</span> sudo, <span class="keyword">const</span> QString commandLine, <span class="keyword">const</span> QString profile = 0);</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <span class="keywordtype">bool</span> netctlAutoCall(<span class="keyword">const</span> <span class="keywordtype">bool</span> sudo, <span class="keyword">const</span> QString commandLine, <span class="keyword">const</span> QString profile = 0);</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="keywordtype">bool</span> systemctlCall(<span class="keyword">const</span> <span class="keywordtype">bool</span> sudo, <span class="keyword">const</span> QString commandLine);</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;};</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* NETCTLINTERACT_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="class_netctl_html_ae328363bbcbda4d951a09f31dc5fe570"><div class="ttname"><a href="class_netctl.html#ae328363bbcbda4d951a09f31dc5fe570">Netctl::getProfileStatus</a></div><div class="ttdeci">QString getProfileStatus(const QString profile)</div><div class="ttdoc">method which gets profile status </div></div>
<div class="ttc" id="class_netctl_html_a9eeafe65785ce097634cc3d6dfc8d9ac"><div class="ttname"><a href="class_netctl.html#a9eeafe65785ce097634cc3d6dfc8d9ac">Netctl::autoIsProfileActive</a></div><div class="ttdeci">bool autoIsProfileActive(const QString profile)</div><div class="ttdoc">method which checks if profile is active (netctl-auto) </div></div>
<div class="ttc" id="class_netctl_html_a87cfaee8b2d2813d02c2d0f516cabbad"><div class="ttname"><a href="class_netctl.html#a87cfaee8b2d2813d02c2d0f516cabbad">Netctl::getProfileStatuses</a></div><div class="ttdeci">QStringList getProfileStatuses(const QStringList profileList)</div><div class="ttdoc">method which gets statuses of profile list </div></div>
<div class="ttc" id="class_netctl_html_a9e0799dcbb0dec95ca33eb45fbda96b1"><div class="ttname"><a href="class_netctl.html#a9e0799dcbb0dec95ca33eb45fbda96b1">Netctl::autoEnableProfile</a></div><div class="ttdeci">bool autoEnableProfile(const QString profile)</div><div class="ttdoc">method which sets profile disabled or enabled (netctl-auto) </div></div>
<div class="ttc" id="class_netctl_html_aebbaf936349a229239b59eafcb17e4f7"><div class="ttname"><a href="class_netctl.html#aebbaf936349a229239b59eafcb17e4f7">Netctl::restartProfile</a></div><div class="ttdeci">bool restartProfile(const QString profile)</div><div class="ttdoc">method which restarts profile </div></div>
<div class="ttc" id="class_netctl_html_a0b96fb759fcfe60564620a2dae0a4e7e"><div class="ttname"><a href="class_netctl.html#a0b96fb759fcfe60564620a2dae0a4e7e">Netctl::getProfileListFromNetctlAuto</a></div><div class="ttdeci">QList&lt; QStringList &gt; getProfileListFromNetctlAuto()</div><div class="ttdoc">method which returns profile informations from netctl-auto </div></div>
<div class="ttc" id="class_netctl_html_a9662e47827403c08d4f67b179d437f14"><div class="ttname"><a href="class_netctl.html#a9662e47827403c08d4f67b179d437f14">Netctl::autoEnableAllProfiles</a></div><div class="ttdeci">bool autoEnableAllProfiles()</div><div class="ttdoc">method which sets all profiles enabled (netctl-auto) </div></div>
<div class="ttc" id="class_netctl_html_ad6d259774703f3a78c7d0ce585f3a4f9"><div class="ttname"><a href="class_netctl.html#ad6d259774703f3a78c7d0ce585f3a4f9">Netctl::autoStartProfile</a></div><div class="ttdeci">bool autoStartProfile(const QString profile)</div><div class="ttdoc">method which switchs to profile (netctl-auto) </div></div>
<div class="ttc" id="class_netctl_html_ad148c9999a03a65f67a9e097e3b56ec0"><div class="ttname"><a href="class_netctl.html#ad148c9999a03a65f67a9e097e3b56ec0">Netctl::~Netctl</a></div><div class="ttdeci">~Netctl()</div><div class="ttdoc">Netctl class destructor. </div></div>
<div class="ttc" id="class_netctl_html_a237675bbe56f98df70fa787d9b7a8fca"><div class="ttname"><a href="class_netctl.html#a237675bbe56f98df70fa787d9b7a8fca">Netctl::enableProfile</a></div><div class="ttdeci">bool enableProfile(const QString profile)</div><div class="ttdoc">method which sets profile disabled or enabled </div></div>
<div class="ttc" id="class_netctl_profile_html"><div class="ttname"><a href="class_netctl_profile.html">NetctlProfile</a></div><div class="ttdoc">The NetctlProfile class interacts with netctl profiles. </div><div class="ttdef"><b>Definition:</b> netctlprofile.h:37</div></div>
<div class="ttc" id="class_netctl_html_a788c98b484dd49b774e5e4fd3ee98326"><div class="ttname"><a href="class_netctl.html#a788c98b484dd49b774e5e4fd3ee98326">Netctl::isProfileActive</a></div><div class="ttdeci">bool isProfileActive(const QString profile)</div><div class="ttdoc">method which checks if profile is active </div></div>
<div class="ttc" id="class_netctl_html_accd1fca26390a148adb1c3aee2fecbf4"><div class="ttname"><a href="class_netctl.html#accd1fca26390a148adb1c3aee2fecbf4">Netctl::isProfileEnabled</a></div><div class="ttdeci">bool isProfileEnabled(const QString profile)</div><div class="ttdoc">method which checks if profile is enabled </div></div>
<div class="ttc" id="class_netctl_html"><div class="ttname"><a href="class_netctl.html">Netctl</a></div><div class="ttdoc">The Netctl class interacts with netctl. </div><div class="ttdef"><b>Definition:</b> netctlinteract.h:39</div></div>
<div class="ttc" id="class_netctl_html_a55690068a9b0afb425fc659b3a558f5f"><div class="ttname"><a href="class_netctl.html#a55690068a9b0afb425fc659b3a558f5f">Netctl::autoEnableService</a></div><div class="ttdeci">bool autoEnableService()</div><div class="ttdoc">method which sets netctl-auto service enabled or disabled </div></div>
<div class="ttc" id="class_netctl_html_a8d22999dfc83293aed4f272ce9bcac03"><div class="ttname"><a href="class_netctl.html#a8d22999dfc83293aed4f272ce9bcac03">Netctl::getProfileDescription</a></div><div class="ttdeci">QString getProfileDescription(const QString profile)</div><div class="ttdoc">method which gets description from profile </div></div>
<div class="ttc" id="class_netctl_html_ad86fc14aa2a20d4f1d6ceaa29d1d582a"><div class="ttname"><a href="class_netctl.html#ad86fc14aa2a20d4f1d6ceaa29d1d582a">Netctl::isNetctlAutoEnabled</a></div><div class="ttdeci">bool isNetctlAutoEnabled()</div><div class="ttdoc">method which checks netctl-auto autoload status </div></div>
<div class="ttc" id="class_netctl_html_adc6a547515b76b9c7b26170da3a2f39d"><div class="ttname"><a href="class_netctl.html#adc6a547515b76b9c7b26170da3a2f39d">Netctl::startProfile</a></div><div class="ttdeci">bool startProfile(const QString profile)</div><div class="ttdoc">method which starts or stops profile </div></div>
<div class="ttc" id="class_netctl_html_ad17ead46c74cf7271078bcaa03f643f2"><div class="ttname"><a href="class_netctl.html#ad17ead46c74cf7271078bcaa03f643f2">Netctl::getInterfaceList</a></div><div class="ttdeci">QStringList getInterfaceList()</div><div class="ttdoc">method which gets interface list from PREFERED_IFACE and IFACE_DIR </div></div>
<div class="ttc" id="class_netctl_html_a38fe28973167cf9853d97947a0e432ce"><div class="ttname"><a href="class_netctl.html#a38fe28973167cf9853d97947a0e432ce">Netctl::isNetctlAutoRunning</a></div><div class="ttdeci">bool isNetctlAutoRunning()</div><div class="ttdoc">method which checks netctl-auto status </div></div>
<div class="ttc" id="class_netctl_html_a1f9f5131cce695fe0a26adbc7be68fa3"><div class="ttname"><a href="class_netctl.html#a1f9f5131cce695fe0a26adbc7be68fa3">Netctl::autoRestartService</a></div><div class="ttdeci">bool autoRestartService()</div><div class="ttdoc">method which restarted netctl-auto service </div></div>
<div class="ttc" id="class_netctl_html_a63fe336271242547aa097e0ac8cb81a9"><div class="ttname"><a href="class_netctl.html#a63fe336271242547aa097e0ac8cb81a9">Netctl::Netctl</a></div><div class="ttdeci">Netctl(const bool debugCmd=false, const QMap&lt; QString, QString &gt; settings=QMap&lt; QString, QString &gt;())</div><div class="ttdoc">Netctl class constructor. </div></div>
<div class="ttc" id="class_netctl_html_a977402c158d3b8af68a8fd726b3f2e6a"><div class="ttname"><a href="class_netctl.html#a977402c158d3b8af68a8fd726b3f2e6a">Netctl::getProfileList</a></div><div class="ttdeci">QList&lt; QStringList &gt; getProfileList()</div><div class="ttdoc">method which returns profile informations from netctl </div></div>
<div class="ttc" id="class_netctl_html_a57a2b38db1f006c73dcf783705a086be"><div class="ttname"><a href="class_netctl.html#a57a2b38db1f006c73dcf783705a086be">Netctl::getProfileDescriptions</a></div><div class="ttdeci">QStringList getProfileDescriptions(const QStringList profileList)</div><div class="ttdoc">method which gets descriptions from profile list </div></div>
<div class="ttc" id="class_netctl_html_a98c3237c7e06c72dc7b9edb4963392f5"><div class="ttname"><a href="class_netctl.html#a98c3237c7e06c72dc7b9edb4963392f5">Netctl::autoStartService</a></div><div class="ttdeci">bool autoStartService()</div><div class="ttdoc">method which starts or stops netctl-auto service </div></div>
<div class="ttc" id="class_netctl_html_aeb3ccd5ffc93684ef45b293ed30e2e71"><div class="ttname"><a href="class_netctl.html#aeb3ccd5ffc93684ef45b293ed30e2e71">Netctl::autoIsProfileEnabled</a></div><div class="ttdeci">bool autoIsProfileEnabled(const QString profile)</div><div class="ttdoc">method which checks if profile is enabled (netctl-auto) </div></div>
<div class="ttc" id="class_netctl_html_aa980954693549f3b5531a43cda23adec"><div class="ttname"><a href="class_netctl.html#aa980954693549f3b5531a43cda23adec">Netctl::autoDisableAllProfiles</a></div><div class="ttdeci">bool autoDisableAllProfiles()</div><div class="ttdoc">method which sets all profiles disabled (netctl-auto) </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jul 30 2014 19:20:33 for netctlgui by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>