Cockatrice 2026-10-19-Development-3.1.2-beta.2
A 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 <QDialog>
11#include <QLineEdit>
12#include <QString>
13#include <qtmetamacros.h>
14
15class QLabel;
16class QWidget;
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:19
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:114
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