|
tuned-switcher 1.1.0
Performance profile manager
|
#include <autorunportal.h>


Public Member Functions | |
| AutorunPortal (QObject *parent=nullptr) | |
| ~AutorunPortal () override=default | |
| bool | IsEnabled () const override |
| bool | IsSupported () const override |
| bool | Enable () const override |
| bool | Disable () const override |
Public Member Functions inherited from AutorunManager | |
| virtual | ~AutorunManager ()=default |
Private Member Functions | |
| bool | ChangeAutorunState (const bool, const PortalRequest::BackgroundResult) const |
Additional Inherited Members | |
Static Public Member Functions inherited from AutorunManager | |
| static AutorunManager * | Create (QObject *parent=nullptr) |
Protected Member Functions inherited from AutorunManager | |
| AutorunManager (QObject *parent=nullptr) | |
Class for working with autorun configurations using portals.
|
explicit |
Main constructor of the AutorunPortal class.
| parent | Parent. |
|
overridedefault |
Destructor of the AutorunPortal class.
|
private |
Changes the state of the autorun feature.
| value | New autorun state. |
| result | Expected result. |
| true | The requested operation completed successfully. |
| false | An error occurred when trying to perform the requested operation. |
|
overridevirtual |
Disable the autorun feature.
| true | The requested operation completed successfully. |
| false | An error occurred when trying to perform the requested operation. |
Implements AutorunManager.
|
overridevirtual |
Enable the autorun feature.
| true | The requested operation completed successfully. |
| false | An error occurred when trying to perform the requested operation. |
Implements AutorunManager.
|
overridevirtual |
Check whether the autorun feature is enabled.
| true | The autorun feature is enabled. |
| false | The autorun feature is not enabled. |
Implements AutorunManager.
|
overridevirtual |
Check whether the autorun feature is supported on running platform.
| true | The autorun feature is supported on running platform. |
| false | The autorun feature is not supported on running platform. |
Implements AutorunManager.