-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,43 +1,43 @@ | |||
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: |
@@ -55,32 +55,32 @@ private: | |||
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 | ||
@@ -89,17 +89,17 @@ private: | |||
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 | ||
@@ -108,17 +108,17 @@ private: | |||
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(); |
@@ -128,17 +128,17 @@ private: | |||
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(); |