diff options
Diffstat (limited to 'src/dialogs/ReCaptcha.h')
-rw-r--r-- | src/dialogs/ReCaptcha.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/dialogs/ReCaptcha.h b/src/dialogs/ReCaptcha.h index 5f47b0eb..f8407640 100644 --- a/src/dialogs/ReCaptcha.h +++ b/src/dialogs/ReCaptcha.h @@ -2,8 +2,7 @@ #include <QWidget> -class FlatButton; -class RaisedButton; +class QPushButton; namespace dialogs { @@ -14,15 +13,12 @@ class ReCaptcha : public QWidget public: ReCaptcha(const QString &session, QWidget *parent = nullptr); -protected: - void paintEvent(QPaintEvent *event) override; - signals: - void closing(); + void confirmation(); private: - FlatButton *openCaptchaBtn_; - RaisedButton *confirmBtn_; - RaisedButton *cancelBtn_; + QPushButton *openCaptchaBtn_; + QPushButton *confirmBtn_; + QPushButton *cancelBtn_; }; } // dialogs |