Changeset View
Changeset View
Standalone View
Standalone View
kcms/componentchooser/componentchooseremail.h
Show All 28 Lines | 27 | public: | |||
---|---|---|---|---|---|
29 | ~CfgEmailClient() override; | 29 | ~CfgEmailClient() override; | ||
30 | void load(KConfig *cfg) override; | 30 | void load(KConfig *cfg) override; | ||
31 | void save(KConfig *cfg) override; | 31 | void save(KConfig *cfg) override; | ||
32 | void defaults() override; | 32 | void defaults() override; | ||
33 | bool isDefaults() const override; | 33 | bool isDefaults() const override; | ||
34 | 34 | | |||
35 | private: | 35 | private: | ||
36 | KEMailSettings *pSettings; | 36 | KEMailSettings *pSettings; | ||
37 | KService::Ptr m_emailClientService; | 37 | int m_currentIndex = -1; | ||
38 | int m_kmailIndex = -1; | ||||
38 | 39 | | |||
39 | protected Q_SLOTS: | 40 | protected Q_SLOTS: | ||
40 | void selectEmailClient(); | 41 | void selectEmailClient(int index); | ||
41 | void configChanged(); | | |||
42 | Q_SIGNALS: | 42 | Q_SIGNALS: | ||
43 | void changed(bool); | 43 | void changed(bool); | ||
44 | }; | 44 | }; | ||
45 | 45 | | |||
46 | #endif | 46 | #endif |