diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-06-04 11:39:41 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-06-12 20:02:45 +0200 |
commit | 9b88f3ce47d090df167263ce2b4b6b430694da72 (patch) | |
tree | 3435b273857cc6bd26009767fa701673358d57cb /gui/handlers.cpp | |
parent | 719413cad922e1d34f2ea495bae0165cae53b22f (diff) |
[feat] add qt gui
Signed-off-by: kali kaneko (leap communications) <kali@leap.se>
Diffstat (limited to 'gui/handlers.cpp')
-rw-r--r-- | gui/handlers.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gui/handlers.cpp b/gui/handlers.cpp new file mode 100644 index 0000000..79fbb58 --- /dev/null +++ b/gui/handlers.cpp @@ -0,0 +1,30 @@ +#include <QTimer> +#include <QDebug> + +#include "handlers.h" +#include "lib/libgoshim.h" + +Backend::Backend(QObject *parent) : QObject(parent) +{ +} + +void Backend::switchOn() +{ + SwitchOn(); +} + +void Backend::switchOff() +{ + SwitchOff(); +} + +void Backend::unblock() +{ + Unblock(); +} + +void Backend::quit() +{ + Quit(); + emit this->quitDone(); +} |