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_request.h
Go to the documentation of this file.
1
6
7
#ifndef DLG_FORGOTPASSWORDREQUEST_H
8
#define DLG_FORGOTPASSWORDREQUEST_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
DlgForgotPasswordRequest
:
public
QDialog
19
{
20
Q_OBJECT
21
public
:
22
explicit
DlgForgotPasswordRequest
(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
private
slots:
36
void
actOk
();
37
38
private
:
39
QLabel *
infoLabel
, *
hostLabel
, *
portLabel
, *
playernameLabel
;
40
QLineEdit *
hostEdit
, *
portEdit
, *
playernameEdit
;
41
};
42
43
#endif
DlgForgotPasswordRequest::infoLabel
QLabel * infoLabel
Definition
dlg_forgot_password_request.h:39
DlgForgotPasswordRequest::playernameLabel
QLabel * playernameLabel
Definition
dlg_forgot_password_request.h:39
DlgForgotPasswordRequest::portLabel
QLabel * portLabel
Definition
dlg_forgot_password_request.h:39
DlgForgotPasswordRequest::getHost
QString getHost() const
Definition
dlg_forgot_password_request.h:23
DlgForgotPasswordRequest::actOk
void actOk()
Definition
dlg_forgot_password_request.cpp:74
DlgForgotPasswordRequest::getPort
int getPort() const
Definition
dlg_forgot_password_request.h:27
DlgForgotPasswordRequest::portEdit
QLineEdit * portEdit
Definition
dlg_forgot_password_request.h:40
DlgForgotPasswordRequest::playernameEdit
QLineEdit * playernameEdit
Definition
dlg_forgot_password_request.h:40
DlgForgotPasswordRequest::getPlayerName
QString getPlayerName() const
Definition
dlg_forgot_password_request.h:31
DlgForgotPasswordRequest::DlgForgotPasswordRequest
DlgForgotPasswordRequest(QWidget *parent=nullptr)
Definition
dlg_forgot_password_request.cpp:17
DlgForgotPasswordRequest::hostLabel
QLabel * hostLabel
Definition
dlg_forgot_password_request.h:39
DlgForgotPasswordRequest::hostEdit
QLineEdit * hostEdit
Definition
dlg_forgot_password_request.h:40
cockatrice
src
interface
widgets
dialogs
dlg_forgot_password_request.h
Generated by
1.18.0