add force* slots

This commit is contained in:
arcan1s committed 2014-08-24 13:08:13 +04:00
1 parent e21b2201ab
commit 999914926a
7 files changed
+65

No files matched your search

+24
View File
@@ -542,6 +542,30 @@ bool Netctl::enableProfile(const QString profile)
}
/**
* @fn forceStartProfile
*/
bool Netctl::forceStartProfile(const QString profile)
{
if (debug) qDebug() << PDEBUG;
if (debug) qDebug() << PDEBUG << ":" << "Profile" << profile;
return cmdCall(true, netctlCommand, QString("start"), profile);
}
/**
* @fn forceStopProfile
*/
bool Netctl::forceStopProfile(const QString profile)
{
if (debug) qDebug() << PDEBUG;
if (debug) qDebug() << PDEBUG << ":" << "Profile" << profile;
return cmdCall(true, netctlCommand, QString("stop"), profile);
}
/**
* @fn reenableProfile
*/