summaryrefslogtreecommitdiff
path: root/noncore/net/mailit/editaccount.h
Unidiff
Diffstat (limited to 'noncore/net/mailit/editaccount.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mailit/editaccount.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/noncore/net/mailit/editaccount.h b/noncore/net/mailit/editaccount.h
new file mode 100644
index 0000000..7a90e50
--- a/dev/null
+++ b/noncore/net/mailit/editaccount.h
@@ -0,0 +1,66 @@
1/**********************************************************************
2** Copyright (C) 2001 Trolltech AS. All rights reserved.
3**
4** This file is part of Qt Palmtop Environment.
5**
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
8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file.
10**
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.
13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15**
16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you.
18**
19**********************************************************************/
20#ifndef EDITACCOUNT_H
21#define EDITACCOUNT_H
22
23#include <qdialog.h>
24#include <qlabel.h>
25#include <qlineedit.h>
26#include <qcheckbox.h>
27#include <qlayout.h>
28#include "emailhandler.h"
29
30class EditAccount : public QDialog
31{
32 Q_OBJECT
33
34public:
35 EditAccount( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
36 void setAccount(MailAccount *in, bool newOne = TRUE);
37 void init();
38
39public slots:
40 void accept();
41 void reject();
42
43private:
44 MailAccount thisAccount, *account;
45
46 QLabel *accountNameInputLabel;
47 QLabel *nameInputLabel;
48 QLabel *emailInputLabel;
49 QLabel *popUserInputLabel;
50 QLabel *popPasswInputLabel;
51 QLabel *popServerInputLabel;
52 QLabel *smtpServerInputLabel;
53
54 QLineEdit *accountNameInput;
55 QLineEdit *nameInput;
56 QLineEdit *emailInput;
57 QLineEdit *popUserInput;
58 QLineEdit *popPasswInput;
59 QLineEdit *popServerInput;
60 QLineEdit *smtpServerInput;
61 QCheckBox *syncCheckBox;
62
63 QGridLayout *grid;
64};
65
66#endif