tuned-switcher 1.1.0
Performance profile manager
Loading...
Searching...
No Matches
autorunportal.h
Go to the documentation of this file.
1
7#ifndef AUTORUNPORTAL_H
8#define AUTORUNPORTAL_H
9
15#include <QObject>
16
19
24{
25 Q_OBJECT
26public:
31 explicit AutorunPortal(QObject* parent = nullptr);
32
36 ~AutorunPortal() override = default;
37
44 bool IsEnabled() const override;
45
52 bool IsSupported() const override;
53
60 bool Enable() const override;
61
68 bool Disable() const override;
69
70private:
79 bool ChangeAutorunState(const bool, const PortalRequest::BackgroundResult) const;
80};
81
82#endif // AUTORUNPORTAL_H
Definition autorunmanager.h:21
Definition autorunportal.h:24
bool IsSupported() const override
Definition autorunportal.cpp:28
bool ChangeAutorunState(const bool, const PortalRequest::BackgroundResult) const
Definition autorunportal.cpp:44
bool Disable() const override
Definition autorunportal.cpp:39
AutorunPortal(QObject *parent=nullptr)
Definition autorunportal.cpp:19
bool IsEnabled() const override
Definition autorunportal.cpp:23
~AutorunPortal() override=default
bool Enable() const override
Definition autorunportal.cpp:34
BackgroundResult
Definition portalrequest.h:39