Commit 94fbb651 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

clean up

parent 65a6d7e1
......@@ -49,8 +49,8 @@ static const QVector<StringPair> userAgents = {
ConfigDialog::ConfigDialog(EwsResource *parentResource, EwsClient &client, WId wId)
: QDialog(), mParentResource(parentResource), mAutoDiscoveryNeeded(false), mTryConnectNeeded(false),
: QDialog()
, mParentResource(parentResource)
if (wId) {
KWindowSystem::setMainWindow(this, wId);
......@@ -43,7 +43,7 @@ class ConfigDialog : public QDialog
explicit ConfigDialog(EwsResource *parentResource, EwsClient &client, WId windowId);
~ConfigDialog() override;
private Q_SLOTS:
void save();
void autoDiscoveryFinished(KJob *job);
void tryConnectFinished(KJob *job);
......@@ -55,20 +55,20 @@ private Q_SLOTS:
void enableTryConnect();
void tryConnect();
void userAgentChanged(int index);
QString fullUsername() const;
EwsResource *mParentResource;
KConfigDialogManager *mConfigManager;
Ui::SetupServerView *mUi;
EwsResource *mParentResource = nullptr;
KConfigDialogManager *mConfigManager = nullptr;
Ui::SetupServerView *mUi = nullptr;
QDialogButtonBox *mButtonBox;
EwsAutodiscoveryJob *mAutoDiscoveryJob;
EwsGetFolderRequest *mTryConnectJob;
bool mAutoDiscoveryNeeded;
bool mTryConnectNeeded;
ProgressDialog *mProgressDialog;
EwsSubscriptionWidget *mSubWidget;
QDialogButtonBox *mButtonBox = nullptr;
EwsAutodiscoveryJob *mAutoDiscoveryJob = nullptr;
EwsGetFolderRequest *mTryConnectJob = nullptr;
bool mAutoDiscoveryNeeded = false;
bool mTryConnectNeeded = false;
ProgressDialog *mProgressDialog = nullptr;
EwsSubscriptionWidget *mSubWidget = nullptr;
......@@ -78,7 +78,7 @@ Q_SIGNALS:
void folderTreeModified();
void fullSyncRequested();
void connectionError();
private Q_SLOTS:
void subscribeRequestFinished(KJob *job);
void verifySubFoldersRequestFinished(KJob *job);
void getEventsRequestFinished(KJob *job);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment