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

@ -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);