some library refactoring

This commit is contained in:
arcan1s
2015-08-20 00:13:09 +03:00
parent 5efb25dca3
commit d2714dca02
14 changed files with 448 additions and 600 deletions

View File

@ -290,12 +290,12 @@ small {
</tr>
<!-- general information -->
<tr>
<td>QString ActiveProfile()</td>
<td>QStringList ActiveProfile()</td>
<td>returns active profile from netctl or netctl-auto</td>
<td>no</td>
</tr>
<tr>
<td>QString ActiveProfileStatus()</td>
<td>QStringList ActiveProfileStatus()</td>
<td>returns active profile status from netctl or netctl-auto. May be <code>netctl-auto</code>, <code>active (enabled)</code>, <code>active (static)</code>, <code>inactive (enabled)</code>, <code>inactive (static)</code></td>
<td>no</td>
</tr>
@ -305,7 +305,7 @@ small {
<td>no</td>
</tr>
<tr>
<td>QString netctlActiveProfile()</td>
<td>QStringList netctlActiveProfile()</td>
<td>returns active profile from netctl even if netctl-auto is running</td>
<td>no</td>
</tr>

View File

@ -177,7 +177,7 @@ InterfaceAnswer connectToEssid(const QString essid, QMap<QString,QString> settin
}
netctlInformation generalInformation(NetctlInterface* interface, const bool useHelper,
netctlInformation generalInformation(NetctlInterface *interface, const bool useHelper,
const bool debug)
{
if (debug) qDebug() << PDEBUG;
@ -204,7 +204,7 @@ netctlInformation generalInformation(NetctlInterface* interface, const bool useH
}
QMap<QString, QString> profileInformation(const QString profile, NetctlInterface* interface,
QMap<QString, QString> profileInformation(const QString profile, NetctlInterface *interface,
const bool useHelper, const bool debug)
{
if (!useHelper) return interface->profileSettings(profile);