1 #ifndef DLG_FORGOTPASSWORDREQUEST_H
2 #define DLG_FORGOTPASSWORDREQUEST_H
3 
4 #include <QComboBox>
5 #include <QDialog>
6 #include <QLineEdit>
7 
8 class QLabel;
9 class QPushButton;
10 class QCheckBox;
11 
12 class DlgForgotPasswordRequest : public QDialog
13 {
14     Q_OBJECT
15 public:
16     DlgForgotPasswordRequest(QWidget *parent = nullptr);
getHost()17     QString getHost() const
18     {
19         return hostEdit->text();
20     }
getPort()21     int getPort() const
22     {
23         return portEdit->text().toInt();
24     }
getPlayerName()25     QString getPlayerName() const
26     {
27         return playernameEdit->text();
28     }
29 private slots:
30     void actOk();
31 
32 private:
33     QLabel *hostLabel, *portLabel, *playernameLabel;
34     QLineEdit *hostEdit, *portEdit, *playernameEdit;
35 };
36 
37 #endif
38