mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 18:43:55 -07:00
* Regroup a whole bunch of files. Took 1 hour 38 minutes * Reorder the structure. Took 15 minutes * Link some more things. Took 18 minutes * More links. Took 14 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
47 lines
946 B
C++
47 lines
946 B
C++
/**
|
|
* @file dlg_forgot_password_challenge.h
|
|
* @ingroup AccountDialogs
|
|
* @brief TODO: Document this.
|
|
*/
|
|
|
|
#ifndef DLG_FORGOTPASSWORDCHALLENGE_H
|
|
#define DLG_FORGOTPASSWORDCHALLENGE_H
|
|
|
|
#include <QComboBox>
|
|
#include <QDialog>
|
|
#include <QLineEdit>
|
|
|
|
class QLabel;
|
|
class QPushButton;
|
|
class QCheckBox;
|
|
|
|
class DlgForgotPasswordChallenge : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit DlgForgotPasswordChallenge(QWidget *parent = nullptr);
|
|
QString getHost() const
|
|
{
|
|
return hostEdit->text();
|
|
}
|
|
int getPort() const
|
|
{
|
|
return portEdit->text().toInt();
|
|
}
|
|
QString getPlayerName() const
|
|
{
|
|
return playernameEdit->text();
|
|
}
|
|
QString getEmail() const
|
|
{
|
|
return emailEdit->text();
|
|
}
|
|
private slots:
|
|
void actOk();
|
|
|
|
private:
|
|
QLabel *infoLabel, *hostLabel, *portLabel, *playernameLabel, *emailLabel;
|
|
QLineEdit *hostEdit, *portEdit, *playernameEdit, *emailEdit;
|
|
};
|
|
|
|
#endif
|