Diffstat (limited to 'noncore/net/mailit/editaccount.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mailit/editaccount.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/net/mailit/editaccount.h b/noncore/net/mailit/editaccount.h index 7a90e50..1e15047 100644 --- a/noncore/net/mailit/editaccount.h +++ b/noncore/net/mailit/editaccount.h | |||
@@ -4,63 +4,66 @@ | |||
4 | ** This file is part of Qt Palmtop Environment. | 4 | ** This file is part of Qt Palmtop Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifndef EDITACCOUNT_H | 20 | #ifndef EDITACCOUNT_H |
21 | #define EDITACCOUNT_H | 21 | #define EDITACCOUNT_H |
22 | 22 | ||
23 | #include <qdialog.h> | 23 | #include <qdialog.h> |
24 | #include <qlabel.h> | 24 | #include <qlabel.h> |
25 | #include <qlineedit.h> | 25 | #include <qlineedit.h> |
26 | #include <qcheckbox.h> | 26 | #include <qcheckbox.h> |
27 | #include <qlayout.h> | 27 | #include <qlayout.h> |
28 | #include <qspinbox.h> | ||
28 | #include "emailhandler.h" | 29 | #include "emailhandler.h" |
29 | 30 | ||
30 | class EditAccount : public QDialog | 31 | class EditAccount : public QDialog |
31 | { | 32 | { |
32 | Q_OBJECT | 33 | Q_OBJECT |
33 | 34 | ||
34 | public: | 35 | public: |
35 | EditAccount( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 36 | EditAccount( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
36 | void setAccount(MailAccount *in, bool newOne = TRUE); | 37 | void setAccount(MailAccount *in, bool newOne = TRUE); |
37 | void init(); | 38 | void init(); |
38 | 39 | ||
39 | public slots: | 40 | public slots: |
40 | void accept(); | 41 | void accept(); |
41 | void reject(); | 42 | void reject(); |
42 | 43 | ||
43 | private: | 44 | private: |
44 | MailAccount thisAccount, *account; | 45 | MailAccount thisAccount, *account; |
45 | 46 | ||
46 | QLabel *accountNameInputLabel; | 47 | QLabel *accountNameInputLabel; |
47 | QLabel *nameInputLabel; | 48 | QLabel *nameInputLabel; |
48 | QLabel *emailInputLabel; | 49 | QLabel *emailInputLabel; |
49 | QLabel *popUserInputLabel; | 50 | QLabel *popUserInputLabel; |
50 | QLabel *popPasswInputLabel; | 51 | QLabel *popPasswInputLabel; |
51 | QLabel *popServerInputLabel; | 52 | QLabel *popServerInputLabel; |
52 | QLabel *smtpServerInputLabel; | 53 | QLabel *smtpServerInputLabel; |
53 | 54 | QLabel *syncLimitInputLabel; | |
55 | |||
54 | QLineEdit *accountNameInput; | 56 | QLineEdit *accountNameInput; |
55 | QLineEdit *nameInput; | 57 | QLineEdit *nameInput; |
56 | QLineEdit *emailInput; | 58 | QLineEdit *emailInput; |
57 | QLineEdit *popUserInput; | 59 | QLineEdit *popUserInput; |
58 | QLineEdit *popPasswInput; | 60 | QLineEdit *popPasswInput; |
59 | QLineEdit *popServerInput; | 61 | QLineEdit *popServerInput; |
60 | QLineEdit *smtpServerInput; | 62 | QLineEdit *smtpServerInput; |
63 | QSpinBox *syncLimitInput; | ||
61 | QCheckBox *syncCheckBox; | 64 | QCheckBox *syncCheckBox; |
62 | 65 | ||
63 | QGridLayout *grid; | 66 | QGridLayout *grid; |
64 | }; | 67 | }; |
65 | 68 | ||
66 | #endif | 69 | #endif |