Changeset View
Changeset View
Standalone View
Standalone View
kcms/componentchooser/componentchooseremail.cpp
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 54 | CfgEmailClient::~CfgEmailClient() { | |||
---|---|---|---|---|---|
55 | delete pSettings; | 55 | delete pSettings; | ||
56 | } | 56 | } | ||
57 | 57 | | |||
58 | void CfgEmailClient::defaults() | 58 | void CfgEmailClient::defaults() | ||
59 | { | 59 | { | ||
60 | load(nullptr); | 60 | load(nullptr); | ||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | bool CfgEmailClient::isDefaults() const | ||||
64 | { | ||||
65 | return false; | ||||
66 | } | ||||
67 | | ||||
63 | void CfgEmailClient::load(KConfig *) | 68 | void CfgEmailClient::load(KConfig *) | ||
64 | { | 69 | { | ||
65 | QString emailClient = pSettings->getSetting(KEMailSettings::ClientProgram); | 70 | QString emailClient = pSettings->getSetting(KEMailSettings::ClientProgram); | ||
66 | bool useKMail = (emailClient.isEmpty()); | 71 | bool useKMail = (emailClient.isEmpty()); | ||
67 | 72 | | |||
68 | kmailCB->setChecked(useKMail); | 73 | kmailCB->setChecked(useKMail); | ||
69 | otherCB->setChecked(!useKMail); | 74 | otherCB->setChecked(!useKMail); | ||
70 | txtEMailClient->setText(emailClient); | 75 | txtEMailClient->setText(emailClient); | ||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |