mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-12 21:35:51 +00:00
test fix #9
This commit is contained in:
@ -15,9 +15,9 @@
|
||||
* along with netctl-gui. If not, see http://www.gnu.org/licenses/ *
|
||||
***************************************************************************/
|
||||
|
||||
#include "controladaptor.h"
|
||||
|
||||
#include "netctlhelper.h"
|
||||
#include "controladaptor.h"
|
||||
|
||||
|
||||
ControlAdaptor::ControlAdaptor(NetctlHelper *parent, const QMap<QString, QString> configuration)
|
||||
|
@ -15,7 +15,6 @@
|
||||
* along with netctl-gui. If not, see http://www.gnu.org/licenses/ *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "netctladaptor.h"
|
||||
|
||||
|
||||
@ -83,6 +82,12 @@ bool NetctlAdaptor::isNetctlAutoActive()
|
||||
}
|
||||
|
||||
|
||||
bool NetctlAdaptor::isNetctlAutoEnabled()
|
||||
{
|
||||
return netctlCommand->isNetctlAutoEnabled();
|
||||
}
|
||||
|
||||
|
||||
bool NetctlAdaptor::isProfileActive(const QString profile)
|
||||
{
|
||||
return netctlCommand->isProfileActive(profile);
|
||||
|
@ -42,6 +42,7 @@ public slots:
|
||||
bool autoIsProfileEnabled(const QString profile);
|
||||
QStringList Information();
|
||||
bool isNetctlAutoActive();
|
||||
bool isNetctlAutoEnabled();
|
||||
bool isProfileActive(const QString profile);
|
||||
bool isProfileEnabled(const QString profile);
|
||||
QStringList ProfileList();
|
||||
|
@ -15,6 +15,7 @@
|
||||
* along with netctl-gui. If not, see http://www.gnu.org/licenses/ *
|
||||
***************************************************************************/
|
||||
|
||||
#include "netctlhelper.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QDBusConnection>
|
||||
@ -26,7 +27,6 @@
|
||||
|
||||
#include "controladaptor.h"
|
||||
#include "netctladaptor.h"
|
||||
#include "netctlhelper.h"
|
||||
#include "version.h"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user