diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2023-06-28 17:00:34 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2023-07-06 08:35:37 -0400 |
commit | fedc178827c5648b0ccbdd2cd08dcebc920ac416 (patch) | |
tree | 7c6c59b60899d8c7a321bea8fe44c7d04f79040f /src/ui/UIA.h | |
parent | Remove unneeded forward declaration (diff) | |
download | nheko-fedc178827c5648b0ccbdd2cd08dcebc920ac416.tar.xz |
Port the reCAPTCHA dialog to QML
Diffstat (limited to 'src/ui/UIA.h')
-rw-r--r-- | src/ui/UIA.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/UIA.h b/src/ui/UIA.h index 414cb804..5b5eb9f4 100644 --- a/src/ui/UIA.h +++ b/src/ui/UIA.h @@ -9,6 +9,8 @@ #include <mtxclient/http/client.hpp> +#include "ReCaptcha.h" + class UIA final : public QObject { Q_OBJECT @@ -39,7 +41,7 @@ public: return instance(); } - UIA(QObject *parent = nullptr) + UIA(QObject *parent) : QObject(parent) { } @@ -59,6 +61,7 @@ signals: void password(); void email(); void phoneNumber(); + void reCaptcha(ReCaptcha *recaptcha); void confirm3pidToken(); void prompt3pidToken(); |