mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
* 1/3 Add .clang-format file and travis compilation check * 2/3 Run clang-format * 3/3 Fix compilation problems due to include reordering * 3bis/3 AfterControlStatement: false
46 lines
987 B
C++
46 lines
987 B
C++
#ifndef DLG_FORGOTPASSWORDRESET_H
|
|
#define DLG_FORGOTPASSWORDRESET_H
|
|
|
|
#include <QComboBox>
|
|
#include <QDialog>
|
|
#include <QLineEdit>
|
|
|
|
class QLabel;
|
|
class QPushButton;
|
|
class QCheckBox;
|
|
|
|
class DlgForgotPasswordReset : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
DlgForgotPasswordReset(QWidget *parent = 0);
|
|
QString getHost() const
|
|
{
|
|
return hostEdit->text();
|
|
}
|
|
int getPort() const
|
|
{
|
|
return portEdit->text().toInt();
|
|
}
|
|
QString getPlayerName() const
|
|
{
|
|
return playernameEdit->text();
|
|
}
|
|
QString getToken() const
|
|
{
|
|
return tokenEdit->text();
|
|
}
|
|
QString getPassword() const
|
|
{
|
|
return newpasswordEdit->text();
|
|
}
|
|
private slots:
|
|
void actOk();
|
|
void actCancel();
|
|
|
|
private:
|
|
QLabel *hostLabel, *portLabel, *playernameLabel, *tokenLabel, *newpasswordLabel, *newpasswordverifyLabel;
|
|
QLineEdit *hostEdit, *portEdit, *playernameEdit, *tokenEdit, *newpasswordEdit, *newpasswordverifyEdit;
|
|
};
|
|
|
|
#endif
|