Changeset View
Changeset View
Standalone View
Standalone View
resources/ews/ewsconfigdialog.cpp
Show First 20 Lines • Show All 170 Lines • ▼ Show 20 Line(s) | 68 | { | |||
---|---|---|---|---|---|
171 | connect(mUi->passwordEdit, &KPasswordLineEdit::passwordChanged, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | 171 | connect(mUi->passwordEdit, &KPasswordLineEdit::passwordChanged, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | ||
172 | connect(mUi->kcfg_Domain, &KLineEdit::textChanged, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | 172 | connect(mUi->kcfg_Domain, &KLineEdit::textChanged, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | ||
173 | connect(mUi->kcfg_HasDomain, &QCheckBox::toggled, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | 173 | connect(mUi->kcfg_HasDomain, &QCheckBox::toggled, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | ||
174 | connect(mUi->kcfg_Email, &KLineEdit::textChanged, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | 174 | connect(mUi->kcfg_Email, &KLineEdit::textChanged, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | ||
175 | connect(mUi->authUsernameRadioButton, &QRadioButton::toggled, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | 175 | connect(mUi->authUsernameRadioButton, &QRadioButton::toggled, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | ||
176 | connect(mUi->authOAuth2RadioButton, &QRadioButton::toggled, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | 176 | connect(mUi->authOAuth2RadioButton, &QRadioButton::toggled, this, &EwsConfigDialog::setAutoDiscoveryNeeded); | ||
177 | connect(mUi->kcfg_BaseUrl, &KLineEdit::textChanged, this, &EwsConfigDialog::enableTryConnect); | 177 | connect(mUi->kcfg_BaseUrl, &KLineEdit::textChanged, this, &EwsConfigDialog::enableTryConnect); | ||
178 | connect(mUi->tryConnectButton, &QPushButton::clicked, this, &EwsConfigDialog::tryConnect); | 178 | connect(mUi->tryConnectButton, &QPushButton::clicked, this, &EwsConfigDialog::tryConnect); | ||
179 | #if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) | | |||
180 | connect(mUi->userAgentCombo, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EwsConfigDialog::userAgentChanged); | 179 | connect(mUi->userAgentCombo, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EwsConfigDialog::userAgentChanged); | ||
181 | #else | | |||
182 | connect(mUi->userAgentCombo, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged), this, &EwsConfigDialog::userAgentChanged); | | |||
183 | #endif | | |||
184 | connect(mUi->clearFolderTreeSyncStateButton, &QPushButton::clicked, mParentResource, | 180 | connect(mUi->clearFolderTreeSyncStateButton, &QPushButton::clicked, mParentResource, | ||
185 | &EwsResource::clearFolderTreeSyncState); | 181 | &EwsResource::clearFolderTreeSyncState); | ||
186 | connect(mUi->clearFolderItemSyncStateButton, &QPushButton::clicked, mParentResource, | 182 | connect(mUi->clearFolderItemSyncStateButton, &QPushButton::clicked, mParentResource, | ||
187 | QOverload<>::of(&EwsResource::clearFolderSyncState)); | 183 | QOverload<>::of(&EwsResource::clearFolderSyncState)); | ||
188 | } | 184 | } | ||
189 | 185 | | |||
190 | EwsConfigDialog::~EwsConfigDialog() | 186 | EwsConfigDialog::~EwsConfigDialog() | ||
191 | { | 187 | { | ||
▲ Show 20 Lines • Show All 306 Lines • Show Last 20 Lines |