matrixion/src/dialogs/ReCaptcha.h

30 lines
472 B
C
Raw Normal View History

// SPDX-FileCopyrightText: Nheko Contributors
2021-03-05 02:35:15 +03:00
//
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <QWidget>
2018-09-20 09:59:14 +03:00
class QPushButton;
namespace dialogs {
2022-10-10 15:38:29 +03:00
class ReCaptcha final : public QWidget
{
2021-09-18 01:22:33 +03:00
Q_OBJECT
public:
2021-09-18 01:22:33 +03:00
ReCaptcha(const QString &session, QWidget *parent = nullptr);
signals:
2021-09-18 01:22:33 +03:00
void confirmation();
void cancel();
private:
2021-09-18 01:22:33 +03:00
QPushButton *openCaptchaBtn_;
QPushButton *confirmBtn_;
QPushButton *cancelBtn_;
};
} // dialogs