author | conber <conber> | 2002-06-15 09:46:14 (UTC) |
---|---|---|
committer | conber <conber> | 2002-06-15 09:46:14 (UTC) |
commit | 7f2eef29708380844922f34f59ba4e9beefbf7c3 (patch) (unidiff) | |
tree | f57125fbaabddecc35d6677f1b9e48a4594165d5 /noncore/unsupported/mail2/configdiag.h | |
parent | 0acbdd392814589df303b6e50c79d9822e3db27a (diff) | |
download | opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.zip opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.tar.gz opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.tar.bz2 |
initial checkin
Diffstat (limited to 'noncore/unsupported/mail2/configdiag.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/configdiag.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/configdiag.h b/noncore/unsupported/mail2/configdiag.h new file mode 100644 index 0000000..f70ba7f --- a/dev/null +++ b/noncore/unsupported/mail2/configdiag.h | |||
@@ -0,0 +1,48 @@ | |||
1 | #ifndef CONFIGDIAG_H | ||
2 | #define CONFIGDIAG_H | ||
3 | |||
4 | #include <qlistview.h> | ||
5 | |||
6 | #include "configdiagbase.h" | ||
7 | #include "configfile.h" | ||
8 | |||
9 | class Config; | ||
10 | class Account; | ||
11 | |||
12 | class AccountListItem : public QListViewItem | ||
13 | { | ||
14 | public: | ||
15 | AccountListItem(QListView *parent, Account &account); | ||
16 | |||
17 | Account account() { return _account; } | ||
18 | |||
19 | protected: | ||
20 | Account _account; | ||
21 | |||
22 | }; | ||
23 | |||
24 | class ConfigDiag : public ConfigDiagBase | ||
25 | { | ||
26 | Q_OBJECT | ||
27 | |||
28 | public: | ||
29 | ConfigDiag(QWidget *parent = 0, const char *name = 0, bool modal = 0, WFlags fl = 0); | ||
30 | |||
31 | signals: | ||
32 | void changed(); | ||
33 | |||
34 | protected slots: | ||
35 | void accept(); | ||
36 | void slotFillLists(); | ||
37 | void slotNewAccount(); | ||
38 | void slotEditAccount(); | ||
39 | void slotDelAccount(); | ||
40 | void slotTestSettings(); | ||
41 | void slotEndTest(); | ||
42 | |||
43 | private: | ||
44 | Config *_configBenD; | ||
45 | |||
46 | }; | ||
47 | |||
48 | #endif | ||