Statistics
| Branch: | Tag: | Revision:

root / modules / account_management / register.h @ 18636b4a

History | View | Annotate | Download (638 Bytes)

1
#ifndef REGISTER_H
2
#define REGISTER_H
3
4
#include <QtGui/QWidget>
5
6
#include "../modules/gadu_protocol/gadu.h"
7
8
class QCheckBox;
9
class QLineEdit;
10
11
/**
12
        Dialog umo?liwiaj?cy rejestracj? nowego u?ytkownika
13
        @ingroup account_management
14
        @{
15
**/
16
class Register : public QWidget 
17
{
18
        Q_OBJECT
19
20
                QLineEdit *pwd;
21
                QLineEdit *pwd2;
22
                QLineEdit *mailedit;
23
                UinType uin;
24
                QCheckBox *cb_updateconfig;
25
26
                void ask();
27
                void createConfig();
28
29
        private slots:
30
                void doRegister();
31
                void keyPressEvent(QKeyEvent *);
32
33
        public:
34
                Register(QDialog* parent = 0);
35
                ~Register();
36
37
        public slots:
38
                void registered(bool ok, UinType uin);
39
40
};
41
42
/** @} */
43
44
#endif