mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-10 04:15:52 +00:00
update submodule
update netctl-auto update interfaces
This commit is contained in:
@ -41,12 +41,6 @@ InterfaceAdaptor::~InterfaceAdaptor()
|
||||
|
||||
|
||||
// control slots
|
||||
int InterfaceAdaptor::autoEnable(const QString profile)
|
||||
{
|
||||
return netctlInterface->autoEnableProfile(profile);
|
||||
}
|
||||
|
||||
|
||||
int InterfaceAdaptor::Create(const QString profile, const QStringList settingsList)
|
||||
{
|
||||
return netctlInterface->createProfile(profile, listToMap(settingsList));
|
||||
@ -113,6 +107,7 @@ QStringList InterfaceAdaptor::Information()
|
||||
netctlInformation information = netctlInterface->information();
|
||||
QStringList info;
|
||||
info.append(QString::number(information.netctlAuto));
|
||||
info.append(QString::number(information.netctlAutoEnabled));
|
||||
|
||||
QList<netctlProfileInfo> profiles = information.netctlProfiles;
|
||||
profiles.append(information.netctlAutoProfiles);
|
||||
|
@ -36,7 +36,6 @@ public:
|
||||
|
||||
public slots:
|
||||
// control slots
|
||||
int autoEnable(const QString profile);
|
||||
int Create(const QString profile, const QStringList settingsList);
|
||||
int Enable(const QString profile);
|
||||
int Essid(const QString essid, QStringList settingsList);
|
||||
|
Reference in New Issue
Block a user