#pragma once

#include <QObject>

namespace Ui {
class Tweak;
}

class TweakSuperKey : public QObject
{
    Q_OBJECT
public:
    TweakSuperKey() = delete;
    TweakSuperKey(Ui::Tweak *ui, bool verbose, QObject *parent = nullptr) noexcept;
    void setup() noexcept;
    static bool checkSuperKey() noexcept;

private:
    Ui::Tweak *ui;
    bool verbose;

    void textSuperKeyCommand_textChanged(const QString &) noexcept;
    void pushSuperKeyBrowseAppFile_clicked() noexcept;
    void pushSuperKeyApply_clicked() noexcept;
};
