26 #ifndef NETCTLINTERFACE_H
27 #define NETCTLINTERFACE_H
71 bool netctlAuto =
false;
90 bool netctlAuto =
false;
91 bool netctlAutoEnabled =
false;
108 const QMap<QString, QString> settings = QMap<QString, QString>());
228 Netctl *netctlCommand =
nullptr;
236 WpaSup *wpaCommand =
nullptr;
Definition: netctlinterface.h:49
Definition: netctlinterface.h:50
InterfaceAnswer connectToUnknownEssid(const QString essid, QMap< QString, QString > settings)
method which creates wireless profile and connects to it
InterfaceAnswer connectToKnownEssid(const QString essid)
method which connects to existent profile by ESSID
QStringList current
Definition: netctlinterface.h:68
~NetctlInterface()
NetctlInterface class destructor.
InterfaceAnswer stopAllProfiles()
method which stops all profiles
InterfaceAnswer startProfile(const QString profile)
method which starts/stops or switchs to selected profile and returns its status
The NetctlInterface class provides complex methods to get access to library.
Definition: netctlinterface.h:97
The NetctlProfile class interacts with netctl profiles.
Definition: netctlprofile.h:39
The Netctl class interacts with netctl.
Definition: netctlinteract.h:73
QList< bool > enables
Definition: netctlinterface.h:69
InterfaceAnswer enableProfile(const QString profile)
method which enables or disables selected profile and returns its status
InterfaceAnswer connectToEssid(const QString essid, QMap< QString, QString > settings)
method which connects to ESSID
QStringList profiles
Definition: netctlinterface.h:70
Definition: netctlinterface.h:51
netctlCurrent status()
method which returns current status
QMap< QString, QString > profileSettings(const QString profile)
method which reads settings from profile
InterfaceAnswer restartProfile(const QString profile)
method which restarts selected profile and returns its status
InterfaceAnswer
standard interface answer enumeration
Definition: netctlinterface.h:48
InterfaceAnswer createProfile(const QString profile, const QMap< QString, QString > settings)
method which creates and copies profile
NetctlInterface(const bool debugCmd=false, const QMap< QString, QString > settings=QMap< QString, QString >())
NetctlInterface class constructor.
The WpaSup class interacts with wpa_supplicant.
Definition: wpasupinteract.h:93
InterfaceAnswer switchToProfile(const QString profile)
method which switchs to selected profile and returns its status
netctlInformation information()
method which returns general information
InterfaceAnswer removeProfile(const QString profile)
method which removes selected profile
current status structure
Definition: netctlinterface.h:66