add Yannux version with account manager
[vlc-remote] / newaccountdialog.h
1 #ifndef NEWACCOUNTDIALOG_H
2 #define NEWACCOUNTDIALOG_H
3
4 #include <QDialog>
5 #include <QLineEdit>
6 #include <QLabel>
7 #include <QDialogButtonBox>
8
9 class NewAccountDialog : public QDialog
10 {
11     Q_OBJECT
12
13 public:
14     explicit NewAccountDialog(QWidget *parent = 0);
15     void edit(QString &key, QString &ip);
16
17 public slots:
18     void save();
19
20 private:
21     QLineEdit *mMyKeyLineEdit;
22     QLineEdit *mMyIpLineEdit;
23     QPushButton *mSavePushButton;
24     QPushButton *mCancelPushButton;
25     QDialogButtonBox *mButtonBox;
26
27     QString mEditKey;
28     QString mEditIp;
29 };
30
31 #endif // NEWACCOUNTDIALOG_H