Updated the licenses to include my details
[vlc-remote] / newaccountdialog.h
1 /*   VLC-REMOTE for MAEMO 5
2 *   Copyright (C) 2010 Schutz Sacha <istdasklar@gmail.com>, Dru Moore <usr@dru-id.co.uk>, Yann Nave <yannux@onbebop.net>
3 *   This program is free software; you can redistribute it and/or modify
4 *   it under the terms of the GNU General Public License version 2,
5 *   or (at your option) any later version, as published by the Free
6 *   Software Foundation
7 *
8 *   This program is distributed in the hope that it will be useful,
9 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
10 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 *   GNU General Public License for more details
12 *
13 *   You should have received a copy of the GNU General Public
14 *   License along with this program; if not, write to the
15 *   Free Software Foundation, Inc.,
16 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17 */
18 #ifndef NEWACCOUNTDIALOG_H
19 #define NEWACCOUNTDIALOG_H
20
21 #include <QDialog>
22 #include <QLineEdit>
23 #include <QLabel>
24 #include <QDialogButtonBox>
25
26 class NewAccountDialog : public QDialog
27 {
28     Q_OBJECT
29
30 public:
31     explicit NewAccountDialog(QWidget *parent = 0);
32     void edit(QString &key, QString &ip);
33
34 public slots:
35     void save();
36
37 private:
38     QLineEdit *mKeyLineEdit;
39     QLineEdit *mIpLineEdit;
40     QLineEdit *mPortLineEdit;
41     QPushButton *mSavePushButton;
42     QPushButton *mCancelPushButton;
43     QDialogButtonBox *mButtonBox;
44
45     QString mEditKey;
46     QString mEditIp;
47     QString mEditPort;
48 };
49
50 #endif // NEWACCOUNTDIALOG_H