Changeset View
Changeset View
Standalone View
Standalone View
resources/imap/imapaccount.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | 33 | public: | |||
---|---|---|---|---|---|
50 | KIMAP::LoginJob::AuthenticationMode authenticationMode() const; | 50 | KIMAP::LoginJob::AuthenticationMode authenticationMode() const; | ||
51 | 51 | | |||
52 | void setSubscriptionEnabled(bool enabled); | 52 | void setSubscriptionEnabled(bool enabled); | ||
53 | bool isSubscriptionEnabled() const; | 53 | bool isSubscriptionEnabled() const; | ||
54 | 54 | | |||
55 | void setTimeout(int timeout); | 55 | void setTimeout(int timeout); | ||
56 | int timeout() const; | 56 | int timeout() const; | ||
57 | 57 | | |||
58 | void setUseNetworkProxy(bool useProxy); | ||||
59 | bool useNetworkProxy() const; | ||||
60 | | ||||
58 | private: | 61 | private: | ||
59 | QString m_name; | 62 | QString m_name; | ||
60 | QString m_server; | 63 | QString m_server; | ||
61 | quint16 m_port = 0; | 64 | quint16 m_port = 0; | ||
62 | QString m_userName; | 65 | QString m_userName; | ||
63 | int m_timeout = 30; | 66 | int m_timeout = 30; | ||
67 | bool m_useProxy = false; | ||||
64 | KIMAP::LoginJob::EncryptionMode m_encryption; | 68 | KIMAP::LoginJob::EncryptionMode m_encryption; | ||
65 | KIMAP::LoginJob::AuthenticationMode m_authentication; | 69 | KIMAP::LoginJob::AuthenticationMode m_authentication; | ||
66 | bool m_subscriptionEnabled = false; | 70 | bool m_subscriptionEnabled = false; | ||
67 | }; | 71 | }; | ||
68 | 72 | | |||
69 | #endif | 73 | #endif |