matrixion/src/dialogs/ReCaptcha.h

30 lines
499 B
C
Raw Normal View History

2021-03-05 02:35:15 +03:00
// SPDX-FileCopyrightText: 2021 Nheko Contributors
//
// 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
{
Q_OBJECT
public:
ReCaptcha(const QString &session, QWidget *parent = nullptr);
signals:
2018-09-20 09:59:14 +03:00
void confirmation();
2020-02-23 13:42:29 +03:00
void cancel();
private:
2018-09-20 09:59:14 +03:00
QPushButton *openCaptchaBtn_;
QPushButton *confirmBtn_;
QPushButton *cancelBtn_;
};
} // dialogs