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_challenge.h
Go to the documentation of this file.
1
6
7
#ifndef DLG_FORGOTPASSWORDCHALLENGE_H
8
#define DLG_FORGOTPASSWORDCHALLENGE_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
DlgForgotPasswordChallenge
:
public
QDialog
19
{
20
Q_OBJECT
21
public
:
22
explicit
DlgForgotPasswordChallenge
(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
getEmail
()
const
36
{
37
return
emailEdit
->text();
38
}
39
private
slots:
40
void
actOk
();
41
42
private
:
43
QLabel *
infoLabel
, *
hostLabel
, *
portLabel
, *
playernameLabel
, *
emailLabel
;
44
QLineEdit *
hostEdit
, *
portEdit
, *
playernameEdit
, *
emailEdit
;
45
};
46
47
#endif
DlgForgotPasswordChallenge::getHost
QString getHost() const
Definition
dlg_forgot_password_challenge.h:23
DlgForgotPasswordChallenge::actOk
void actOk()
Definition
dlg_forgot_password_challenge.cpp:97
DlgForgotPasswordChallenge::portEdit
QLineEdit * portEdit
Definition
dlg_forgot_password_challenge.h:44
DlgForgotPasswordChallenge::getPort
int getPort() const
Definition
dlg_forgot_password_challenge.h:27
DlgForgotPasswordChallenge::playernameLabel
QLabel * playernameLabel
Definition
dlg_forgot_password_challenge.h:43
DlgForgotPasswordChallenge::emailEdit
QLineEdit * emailEdit
Definition
dlg_forgot_password_challenge.h:44
DlgForgotPasswordChallenge::infoLabel
QLabel * infoLabel
Definition
dlg_forgot_password_challenge.h:43
DlgForgotPasswordChallenge::getEmail
QString getEmail() const
Definition
dlg_forgot_password_challenge.h:35
DlgForgotPasswordChallenge::emailLabel
QLabel * emailLabel
Definition
dlg_forgot_password_challenge.h:43
DlgForgotPasswordChallenge::playernameEdit
QLineEdit * playernameEdit
Definition
dlg_forgot_password_challenge.h:44
DlgForgotPasswordChallenge::DlgForgotPasswordChallenge
DlgForgotPasswordChallenge(QWidget *parent=nullptr)
Definition
dlg_forgot_password_challenge.cpp:17
DlgForgotPasswordChallenge::hostLabel
QLabel * hostLabel
Definition
dlg_forgot_password_challenge.h:43
DlgForgotPasswordChallenge::hostEdit
QLineEdit * hostEdit
Definition
dlg_forgot_password_challenge.h:44
DlgForgotPasswordChallenge::portLabel
QLabel * portLabel
Definition
dlg_forgot_password_challenge.h:43
DlgForgotPasswordChallenge::getPlayerName
QString getPlayerName() const
Definition
dlg_forgot_password_challenge.h:31
cockatrice
src
interface
widgets
dialogs
dlg_forgot_password_challenge.h
Generated by
1.18.0