matrixion/src/dialogs/ReCaptcha.h

31 lines
522 B
C
Raw Normal View History

2021-03-05 02:35:15 +03:00
// SPDX-FileCopyrightText: 2021 Nheko Contributors
// SPDX-FileCopyrightText: 2022 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 {
class ReCaptcha : 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