Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
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
15
class
QLabel;
16
class
QWidget;
17
18
class
DlgForgotPasswordReset
:
public
QDialog
19
{
20
Q_OBJECT
21
public
:
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
}
43
private
slots:
44
void
actOk
();
45
46
private
:
47
QLabel *
infoLabel
, *
hostLabel
, *
portLabel
, *
playernameLabel
, *
tokenLabel
, *
newpasswordLabel
,
48
*
newpasswordverifyLabel
;
49
QLineEdit *
hostEdit
, *
portEdit
, *
playernameEdit
, *
tokenEdit
, *
newpasswordEdit
, *
newpasswordverifyEdit
;
50
};
51
52
#endif
DlgForgotPasswordReset::playernameLabel
QLabel * playernameLabel
Definition
dlg_forgot_password_reset.h:47
DlgForgotPasswordReset::portLabel
QLabel * portLabel
Definition
dlg_forgot_password_reset.h:47
DlgForgotPasswordReset::getToken
QString getToken() const
Definition
dlg_forgot_password_reset.h:35
DlgForgotPasswordReset::DlgForgotPasswordReset
DlgForgotPasswordReset(QWidget *parent=nullptr)
Definition
dlg_forgot_password_reset.cpp:19
DlgForgotPasswordReset::portEdit
QLineEdit * portEdit
Definition
dlg_forgot_password_reset.h:49
DlgForgotPasswordReset::infoLabel
QLabel * infoLabel
Definition
dlg_forgot_password_reset.h:47
DlgForgotPasswordReset::newpasswordverifyEdit
QLineEdit * newpasswordverifyEdit
Definition
dlg_forgot_password_reset.h:49
DlgForgotPasswordReset::actOk
void actOk()
Definition
dlg_forgot_password_reset.cpp:114
DlgForgotPasswordReset::getPort
int getPort() const
Definition
dlg_forgot_password_reset.h:27
DlgForgotPasswordReset::tokenEdit
QLineEdit * tokenEdit
Definition
dlg_forgot_password_reset.h:49
DlgForgotPasswordReset::hostLabel
QLabel * hostLabel
Definition
dlg_forgot_password_reset.h:47
DlgForgotPasswordReset::tokenLabel
QLabel * tokenLabel
Definition
dlg_forgot_password_reset.h:47
DlgForgotPasswordReset::hostEdit
QLineEdit * hostEdit
Definition
dlg_forgot_password_reset.h:49
DlgForgotPasswordReset::getPassword
QString getPassword() const
Definition
dlg_forgot_password_reset.h:39
DlgForgotPasswordReset::newpasswordLabel
QLabel * newpasswordLabel
Definition
dlg_forgot_password_reset.h:47
DlgForgotPasswordReset::playernameEdit
QLineEdit * playernameEdit
Definition
dlg_forgot_password_reset.h:49
DlgForgotPasswordReset::getHost
QString getHost() const
Definition
dlg_forgot_password_reset.h:23
DlgForgotPasswordReset::getPlayerName
QString getPlayerName() const
Definition
dlg_forgot_password_reset.h:31
DlgForgotPasswordReset::newpasswordEdit
QLineEdit * newpasswordEdit
Definition
dlg_forgot_password_reset.h:49
DlgForgotPasswordReset::newpasswordverifyLabel
QLabel * newpasswordverifyLabel
Definition
dlg_forgot_password_reset.h:48
cockatrice
src
interface
widgets
dialogs
dlg_forgot_password_reset.h
Generated by
1.18.0