nodiscard
This commit is contained in:
@@ -22,12 +22,13 @@ Q_PROPERTY(bool manualToggle READ manualToggle WRITE setManualToggle NOTIFY manu
|
|||||||
public:
|
public:
|
||||||
explicit HyprsunsetManager(QObject* parent = nullptr);
|
explicit HyprsunsetManager(QObject* parent = nullptr);
|
||||||
|
|
||||||
int startTime() const;
|
[[nodiscard]] int startTime() const;
|
||||||
int endTime() const;
|
[[nodiscard]] int endTime() const;
|
||||||
bool enabled() const;
|
[[nodiscard]] bool enabled() const;
|
||||||
int temp() const;
|
[[nodiscard]] int temp() const;
|
||||||
bool activeAuto() const;
|
[[nodiscard]] bool activeAuto() const;
|
||||||
bool manualToggle() const;
|
[[nodiscard]] bool manualToggle() const;
|
||||||
|
|
||||||
Q_INVOKABLE void toggle();
|
Q_INVOKABLE void toggle();
|
||||||
Q_INVOKABLE void apply();
|
Q_INVOKABLE void apply();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user