Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 4694baea authored by Laurent Montel's avatar Laurent Montel 😁

Clean up

parent faef38af
......@@ -79,7 +79,7 @@ Q_SIGNALS:
private:
CheckKolabKep14SupportJobPrivate *const d;
private Q_SLOTS:
private:
void slotCheckKep14Support(KManageSieve::SieveJob *job, bool success, const QStringList &availableScripts, const QString &activeScript);
};
}
......
......@@ -44,11 +44,9 @@ public:
Q_SIGNALS:
void finished(const QString &msg, bool success);
private Q_SLOTS:
private:
void slotPutCheckSyntaxResult(KManageSieve::SieveJob *job, bool success);
void slotRestoreFile(KManageSieve::SieveJob *job, bool success);
private:
CheckScriptJobPrivate *const d;
};
}
......
......@@ -41,11 +41,9 @@ Q_SIGNALS:
void success();
void error(const QString &msgError);
private Q_SLOTS:
private:
void slotPutMasterResult(KManageSieve::SieveJob *job, bool success);
void slotPutUserResult(KManageSieve::SieveJob *, bool success);
private:
void disableAllOtherScripts();
void writeMasterScript();
void writeUserScript();
......
......@@ -44,7 +44,10 @@ public:
Q_SIGNALS:
void finished();
private Q_SLOTS:
protected:
void hideEvent(QHideEvent *) override;
private:
void slotGetResult(KManageSieve::SieveJob *, bool, const QString &, bool);
void slotPutResult(KManageSieve::SieveJob *job, bool);
......@@ -55,10 +58,6 @@ private Q_SLOTS:
void slotEditScript(const ManageSieveWidget::ScriptInfo &info);
void slotNewScript(const ManageSieveWidget::ScriptInfo &info);
void slotCheckScriptFinished(const QString &errorMsg, bool success);
protected:
void hideEvent(QHideEvent *) override;
private:
void changeActiveScript(QTreeWidgetItem *, bool activate = true);
void updateButtons(QTreeWidgetItem *item);
......
......@@ -35,15 +35,13 @@ public:
void searchActiveJob();
private Q_SLOTS:
void slotGetScriptList(KManageSieve::SieveJob *job, bool success, const QStringList &scriptList, const QString &activeScript);
Q_SIGNALS:
void canNotGetScriptList();
void resourceHasNotSieveSupport();
void scriptListResult(const QStringList &scriptList, const QString &activeScript, bool hasIncludeSupport);
private:
void slotGetScriptList(KManageSieve::SieveJob *job, bool success, const QStringList &scriptList, const QString &activeScript);
void killJob();
QUrl mUrl;
KManageSieve::SieveJob *mSieveJob = nullptr;
......
......@@ -41,7 +41,7 @@ public Q_SLOTS:
Q_SIGNALS:
void updateVacationScriptStatus(bool active, const QString &serverName);
private Q_SLOTS:
private:
void slotDialogCanceled();
void slotDialogOk();
void slotUpdateVacationScriptStatus(bool active, const QString &serverName);
......
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