author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kmicromail/editaccounts.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-p1.zip kdepimpi-p1.tar.gz kdepimpi-p1.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | kmicromail/editaccounts.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmicromail/editaccounts.h b/kmicromail/editaccounts.h index 465780c..3d01d23 100644 --- a/kmicromail/editaccounts.h +++ b/kmicromail/editaccounts.h | |||
@@ -1,47 +1,47 @@ | |||
1 | #ifndef EDITACCOUNTS_H | 1 | #ifndef EDITACCOUNTS_H |
2 | #define EDITACCOUNTS_H | 2 | #define EDITACCOUNTS_H |
3 | 3 | ||
4 | #include <qstring.h> | 4 | #include <qstring.h> |
5 | #include <qlistview.h> | 5 | #include <q3listview.h> |
6 | 6 | ||
7 | #include "editaccountsui.h" | 7 | #include "editaccountsui.h" |
8 | #include "selectmailtypeui.h" | 8 | #include "selectmailtypeui.h" |
9 | #include "imapconfigui.h" | 9 | #include "imapconfigui.h" |
10 | #include "pop3configui.h" | 10 | #include "pop3configui.h" |
11 | #include "smtpconfigui.h" | 11 | #include "smtpconfigui.h" |
12 | #include "nntpconfigui.h" | 12 | #include "nntpconfigui.h" |
13 | 13 | ||
14 | #include <libetpan/clist.h> | 14 | #include <libetpan/clist.h> |
15 | #include <libmailwrapper/settings.h> | 15 | #include <libmailwrapper/settings.h> |
16 | 16 | ||
17 | 17 | ||
18 | class AccountListItem : public QListViewItem | 18 | class AccountListItem : public Q3ListViewItem |
19 | { | 19 | { |
20 | 20 | ||
21 | public: | 21 | public: |
22 | AccountListItem( QListView *parent, Account *a); | 22 | AccountListItem( Q3ListView *parent, Account *a); |
23 | Account *getAccount() { return account; } | 23 | Account *getAccount() { return account; } |
24 | 24 | ||
25 | private: | 25 | private: |
26 | Account *account; | 26 | Account *account; |
27 | 27 | ||
28 | }; | 28 | }; |
29 | 29 | ||
30 | class EditAccounts : public EditAccountsUI | 30 | class EditAccounts : public EditAccountsUI |
31 | { | 31 | { |
32 | Q_OBJECT | 32 | Q_OBJECT |
33 | 33 | ||
34 | public: | 34 | public: |
35 | EditAccounts( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = 0, WFlags flags = 0 ); | 35 | EditAccounts( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = 0, Qt::WFlags flags = 0 ); |
36 | 36 | ||
37 | public slots: | 37 | public slots: |
38 | void slotNewAccount( const QString &type ); | 38 | void slotNewAccount( const QString &type ); |
39 | void slotEditAccount( Account *account ); | 39 | void slotEditAccount( Account *account ); |
40 | void slotDeleteAccount( Account * account ); | 40 | void slotDeleteAccount( Account * account ); |
41 | void slotAdjustColumns(); | 41 | void slotAdjustColumns(); |
42 | 42 | ||
43 | protected slots: | 43 | protected slots: |
44 | void slotFillLists(); | 44 | void slotFillLists(); |
45 | void slotNewMail(); | 45 | void slotNewMail(); |
46 | void slotEditMail(); | 46 | void slotEditMail(); |
47 | void slotDeleteMail(); | 47 | void slotDeleteMail(); |
@@ -51,98 +51,98 @@ protected slots: | |||
51 | void accept(); | 51 | void accept(); |
52 | 52 | ||
53 | private: | 53 | private: |
54 | Settings *settings; | 54 | Settings *settings; |
55 | 55 | ||
56 | }; | 56 | }; |
57 | 57 | ||
58 | class SelectMailType : public SelectMailTypeUI | 58 | class SelectMailType : public SelectMailTypeUI |
59 | { | 59 | { |
60 | Q_OBJECT | 60 | Q_OBJECT |
61 | 61 | ||
62 | public: | 62 | public: |
63 | SelectMailType( QString *selection = 0, QWidget *parent = 0, const char *name = 0, bool modal = 0, WFlags flags = 0 ); | 63 | SelectMailType( QString *selection = 0, QWidget *parent = 0, const char *name = 0, bool modal = 0, Qt::WFlags flags = 0 ); |
64 | 64 | ||
65 | private slots: | 65 | private slots: |
66 | void slotSelection( const QString &sel ); | 66 | void slotSelection( const QString &sel ); |
67 | 67 | ||
68 | private: | 68 | private: |
69 | QString *selected; | 69 | QString *selected; |
70 | 70 | ||
71 | }; | 71 | }; |
72 | 72 | ||
73 | class IMAPconfig : public IMAPconfigUI | 73 | class IMAPconfig : public IMAPconfigUI |
74 | { | 74 | { |
75 | Q_OBJECT | 75 | Q_OBJECT |
76 | 76 | ||
77 | public: | 77 | public: |
78 | IMAPconfig( IMAPaccount *account, QWidget *parent = 0, const char *name = 0, bool modal = 0, WFlags flags = 0 ); | 78 | IMAPconfig( IMAPaccount *account, QWidget *parent = 0, const char *name = 0, bool modal = 0, Qt::WFlags flags = 0 ); |
79 | 79 | ||
80 | public slots: | 80 | public slots: |
81 | void fillValues(); | 81 | void fillValues(); |
82 | 82 | ||
83 | protected slots: | 83 | protected slots: |
84 | void slotConnectionToggle( int index ); | 84 | void slotConnectionToggle( int index ); |
85 | void accept(); | 85 | void accept(); |
86 | 86 | ||
87 | private: | 87 | private: |
88 | IMAPaccount *data; | 88 | IMAPaccount *data; |
89 | 89 | ||
90 | }; | 90 | }; |
91 | 91 | ||
92 | class POP3config : public POP3configUI | 92 | class POP3config : public POP3configUI |
93 | { | 93 | { |
94 | Q_OBJECT | 94 | Q_OBJECT |
95 | 95 | ||
96 | public: | 96 | public: |
97 | POP3config( POP3account *account, QWidget *parent = 0, const char *name = 0, bool modal = 0, WFlags flags = 0 ); | 97 | POP3config( POP3account *account, QWidget *parent = 0, const char *name = 0, bool modal = 0, Qt::WFlags flags = 0 ); |
98 | 98 | ||
99 | public slots: | 99 | public slots: |
100 | void fillValues(); | 100 | void fillValues(); |
101 | 101 | ||
102 | protected slots: | 102 | protected slots: |
103 | void slotConnectionToggle( int index ); | 103 | void slotConnectionToggle( int index ); |
104 | void accept(); | 104 | void accept(); |
105 | 105 | ||
106 | private: | 106 | private: |
107 | POP3account *data; | 107 | POP3account *data; |
108 | 108 | ||
109 | }; | 109 | }; |
110 | 110 | ||
111 | class SMTPconfig : public SMTPconfigUI | 111 | class SMTPconfig : public SMTPconfigUI |
112 | { | 112 | { |
113 | Q_OBJECT | 113 | Q_OBJECT |
114 | 114 | ||
115 | public: | 115 | public: |
116 | SMTPconfig( SMTPaccount *account, QWidget *parent = 0, const char *name = 0, bool modal = 0, WFlags flags = 0 ); | 116 | SMTPconfig( SMTPaccount *account, QWidget *parent = 0, const char *name = 0, bool modal = 0, Qt::WFlags flags = 0 ); |
117 | 117 | ||
118 | public slots: | 118 | public slots: |
119 | void fillValues(); | 119 | void fillValues(); |
120 | 120 | ||
121 | protected slots: | 121 | protected slots: |
122 | void slotConnectionToggle( int index ); | 122 | void slotConnectionToggle( int index ); |
123 | void accept(); | 123 | void accept(); |
124 | void chooseSig(); | 124 | void chooseSig(); |
125 | 125 | ||
126 | private: | 126 | private: |
127 | SMTPaccount *data; | 127 | SMTPaccount *data; |
128 | 128 | ||
129 | }; | 129 | }; |
130 | 130 | ||
131 | class NNTPconfig : public NNTPconfigUI | 131 | class NNTPconfig : public NNTPconfigUI |
132 | { | 132 | { |
133 | Q_OBJECT | 133 | Q_OBJECT |
134 | 134 | ||
135 | public: | 135 | public: |
136 | NNTPconfig( NNTPaccount *account, QWidget *parent = 0, const char *name = 0, bool modal = 0, WFlags flags = 0 ); | 136 | NNTPconfig( NNTPaccount *account, QWidget *parent = 0, const char *name = 0, bool modal = 0, Qt::WFlags flags = 0 ); |
137 | 137 | ||
138 | public slots: | 138 | public slots: |
139 | void fillValues(); | 139 | void fillValues(); |
140 | 140 | ||
141 | protected slots: | 141 | protected slots: |
142 | void slotSSL( bool enabled ); | 142 | void slotSSL( bool enabled ); |
143 | void accept(); | 143 | void accept(); |
144 | void slotGetNG(); | 144 | void slotGetNG(); |
145 | void slotShowSub(); | 145 | void slotShowSub(); |
146 | void slotShowFilter(); | 146 | void slotShowFilter(); |
147 | 147 | ||
148 | private: | 148 | private: |