mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-10 04:15:52 +00:00
add force* slots
This commit is contained in:
@ -186,6 +186,18 @@ bool ControlAdaptor::Enable(const QString profile)
|
||||
}
|
||||
|
||||
|
||||
bool ControlAdaptor::forceStart(const QString profile)
|
||||
{
|
||||
return netctlCommand->forceStartProfile(profile);
|
||||
}
|
||||
|
||||
|
||||
bool ControlAdaptor::forceStop(const QString profile)
|
||||
{
|
||||
return netctlCommand->forceStopProfile(profile);
|
||||
}
|
||||
|
||||
|
||||
bool ControlAdaptor::Reenable(const QString profile)
|
||||
{
|
||||
return netctlCommand->reenableProfile(profile);
|
||||
|
@ -57,6 +57,8 @@ public slots:
|
||||
bool autoServiceRestart();
|
||||
bool autoServiceStart();
|
||||
bool Enable(const QString profile);
|
||||
bool forceStart(const QString profile);
|
||||
bool forceStop(const QString profile);
|
||||
bool Reenable(const QString profile);
|
||||
bool Restart(const QString profile);
|
||||
bool Start(const QString profile);
|
||||
|
Reference in New Issue
Block a user