26 #ifndef WPASUPINTERACT_H 
   27 #define WPASUPINTERACT_H 
   81     explicit WpaSup(
const bool debugCmd = 
false,
 
   82                     const QMap<QString, QString> settings = QMap<QString, QString>());
 
  138     Netctl *netctlCommand = 
nullptr;
 
  154     QString ctrlDir = QString(
"/run/wpa_supplicant_netctl-gui");
 
  158     QString ctrlGroup = QString(
"users");
 
  162     QString pidFile = QString(
"/run/wpa_supplicant_netctl-gui.pid");
 
  166     QString sudoCommand = QString(
"/usr/bin/kdesu");
 
  170     QString wpaCliPath = QString(
"/usr/bin/wpa_cli");
 
  174     QString wpaDrivers = QString(
"nl80211,wext");
 
  178     QString wpaSupPath = QString(
"/usr/bin/wpa_supplicant");
 
  185     QString getWpaCliOutput(
const QString commandLine);
 
  190     bool waitForProcess(
const int sec);
 
  197     bool wpaCliCall(
const QString commandLine);
 
bool isProfileExists(const QString essid)
method which checks profile existence by ESSID 
 
bool exists
Definition: wpasupinteract.h:57
 
bool stopWpaSupplicant()
method which send TERMINATE signal to wpa_supplicant 
 
QList< netctlWifiInfo > scanWifi()
method which scans WiFi networks 
 
WpaSup(const bool debugCmd=false, const QMap< QString, QString > settings=QMap< QString, QString >())
WpaSup class constructor. 
 
QString name
Definition: wpasupinteract.h:53
 
QString security
Definition: wpasupinteract.h:54
 
The NetctlProfile class interacts with netctl profiles. 
Definition: netctlprofile.h:37
 
bool isProfileActive(const QString essid)
method which checks profile status by ESSID 
 
The Netctl class interacts with netctl. 
Definition: netctlinteract.h:59
 
~WpaSup()
WpaSup class destructor. 
 
QString existentProfile(const QString essid)
method which gets profile name by ESSID 
 
bool startWpaSupplicant()
method which calls wpa_supplicant 
 
QString signal
Definition: wpasupinteract.h:55
 
The WpaSup class interacts with wpa_supplicant. 
Definition: wpasupinteract.h:63
 
WiFi information structure. 
Definition: wpasupinteract.h:51
 
bool active
Definition: wpasupinteract.h:56
 
static QMap< QString, QString > getRecommendedConfiguration()
method which check system configuration and return recommended values to keys