add stopAllProfiles and reenableProfile slots

This commit is contained in:
arcan1s
2014-08-13 07:49:27 +04:00
parent ec8fc79dd7
commit fea0bedef0
2 changed files with 36 additions and 0 deletions

View File

@ -171,6 +171,13 @@ public slots:
* @return true if the method was completed without errors
*/
bool enableProfile(const QString profile);
/**
* @brief method which reenables profile
* @param profile profile name
* @return false if components are not found or command exit code is not equal to 0
* @return true if the method was completed without errors
*/
bool reenableProfile(const QString profile);
/**
* @brief method which restarts profile
* @param profile profile name
@ -185,6 +192,12 @@ public slots:
* @return true if the method was completed without errors
*/
bool startProfile(const QString profile);
/**
* @brief method which stops all profiles
* @return false if components are not found or command exit code is not equal to 0
* @return true if the method was completed without errors
*/
bool stopAllProfiles();
/**
* @brief method which starts another profile
* @param profile profile name