Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
dlg_forgot_password_reset.h
Go to the documentation of this file.
1
6
7#ifndef DLG_FORGOTPASSWORDRESET_H
8#define DLG_FORGOTPASSWORDRESET_H
9
10#include <QComboBox>
11#include <QDialog>
12#include <QLineEdit>
13
14class QLabel;
15class QPushButton;
16class QCheckBox;
17
18class DlgForgotPasswordReset : public QDialog
19{
20 Q_OBJECT
21public:
22 explicit DlgForgotPasswordReset(QWidget *parent = nullptr);
23 [[nodiscard]] QString getHost() const
24 {
25 return hostEdit->text();
26 }
27 [[nodiscard]] int getPort() const
28 {
29 return portEdit->text().toInt();
30 }
31 [[nodiscard]] QString getPlayerName() const
32 {
33 return playernameEdit->text();
34 }
35 [[nodiscard]] QString getToken() const
36 {
37 return tokenEdit->text();
38 }
39 [[nodiscard]] QString getPassword() const
40 {
41 return newpasswordEdit->text();
42 }
43private slots:
44 void actOk();
45
46private:
50};
51
52#endif
QLabel * playernameLabel
Definition dlg_forgot_password_reset.h:47
QLabel * portLabel
Definition dlg_forgot_password_reset.h:47
QString getToken() const
Definition dlg_forgot_password_reset.h:35
DlgForgotPasswordReset(QWidget *parent=nullptr)
Definition dlg_forgot_password_reset.cpp:12
QLineEdit * portEdit
Definition dlg_forgot_password_reset.h:49
QLabel * infoLabel
Definition dlg_forgot_password_reset.h:47
QLineEdit * newpasswordverifyEdit
Definition dlg_forgot_password_reset.h:49
void actOk()
Definition dlg_forgot_password_reset.cpp:107
int getPort() const
Definition dlg_forgot_password_reset.h:27
QLineEdit * tokenEdit
Definition dlg_forgot_password_reset.h:49
QLabel * hostLabel
Definition dlg_forgot_password_reset.h:47
QLabel * tokenLabel
Definition dlg_forgot_password_reset.h:47
QLineEdit * hostEdit
Definition dlg_forgot_password_reset.h:49
QString getPassword() const
Definition dlg_forgot_password_reset.h:39
QLabel * newpasswordLabel
Definition dlg_forgot_password_reset.h:47
QLineEdit * playernameEdit
Definition dlg_forgot_password_reset.h:49
QString getHost() const
Definition dlg_forgot_password_reset.h:23
QString getPlayerName() const
Definition dlg_forgot_password_reset.h:31
QLineEdit * newpasswordEdit
Definition dlg_forgot_password_reset.h:49
QLabel * newpasswordverifyLabel
Definition dlg_forgot_password_reset.h:48